[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.m
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml |
Date: |
Sun, 07 Aug 2005 06:57:35 -0400 |
Index: mldonkey/src/daemon/common/commonGlobals.ml
diff -u mldonkey/src/daemon/common/commonGlobals.ml:1.43
mldonkey/src/daemon/common/commonGlobals.ml:1.44
--- mldonkey/src/daemon/common/commonGlobals.ml:1.43 Mon Aug 1 20:09:13 2005
+++ mldonkey/src/daemon/common/commonGlobals.ml Sun Aug 7 10:57:34 2005
@@ -509,15 +509,17 @@
let html_mods_table_header buf n c l =
(* Name Class List *)
- Printf.bprintf buf "\\<div class=\\\"%s\\\"\\>\\<table id=\\\"%s\\\"
name=\\\"%s\\\" class=\\\"%s\\\" cellspacing=0 cellpadding=0\\>\\<tr\\>"
+ Printf.bprintf buf "\\<div class=\\\"%s\\\"\\>\\<table id=\\\"%s\\\"
name=\\\"%s\\\" class=\\\"%s\\\" cellspacing=0 cellpadding=0\\>"
c n n c;
- List.iter (fun (w,x,y,z) ->
- (* Sort Class Title Value *)
- Printf.bprintf buf "\\<td onClick=\\\"_tabSort(this,%s);\\\"
class=\\\"%s\\\" title=\\\"%s\\\"\\>%s\\</td\\>"
- w x y z;
- ) l;
- Printf.bprintf buf "\\</tr\\>"
-
+ if List.length l > 0 then begin
+ Printf.bprintf buf "\\<tr\\>";
+ List.iter (fun (w,x,y,z) ->
+ (* Sort Class Title Value *)
+ Printf.bprintf buf "\\<td onClick=\\\"_tabSort(this,%s);\\\"
class=\\\"%s\\\" title=\\\"%s\\\"\\>%s\\</td\\>"
+ w x y z;
+ ) l;
+ Printf.bprintf buf "\\</tr\\>"
+ end
(* Add colspan functionality to html_mods_table_header *)
let html_mods_table_header_colspan buf n c l =
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/01
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml,
mldonkey-commits <=
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/15
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/15
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/18
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/18
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/21
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/28
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonGlobals.ml, mldonkey-commits, 2005/08/31