[bug #19387] HTML don't sort Totals in stat tables

spiralvoice <[email protected]>
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #19387 (project mldonkey):

Attached submit.htm, which is a sample of how the costats
table could look like. It still throws some errors on
validator.w3.org but much less than before;-)

Why is the sorting gone now?
Clicking on table rows does nothing now.

I am not a HTML expert;-)

I guess this happenes due to this patch in printf2.ml
as sorting is disabled now in all tables...


 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\\>"
+    Printf.bprintf buf "\\<div class=\\\"%s\\\"\\>\\<table id=\\\"%s\\\"
name=\\\"%s\\\" class=\\\"%s\\\" cellspacing=0 cellpadding=0\\>\\<thead\\>"
     c n n c;
     if List.length l > 0 then begin
         Printf.bprintf buf "\\<tr\\>";
@@ -313,7 +307,8 @@
          w x y z;
         ) l;
         Printf.bprintf buf "\\</tr\\>"
-      end
+      end;
+    Printf.bprintf buf "\\</thead\\>\n"


(file #12313)
    _______________________________________________________

Additional Item Attachment:

File name: submit.htm                     Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19387>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.