bagder: curl-www/dl list_entry.cgi,1.10,1.11

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dl
In directory labb:/tmp/cvs-serv5395

Modified Files:
	list_entry.cgi 
Log Message:
squeezed the output


Index: list_entry.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dl/list_entry.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- list_entry.cgi	11 May 2005 22:02:46 -0000	1.10
+++ list_entry.cgi	18 May 2005 07:27:37 -0000	1.11
@@ -36,7 +36,7 @@
 
 @sall = sort sortent @all;
 
-print "<table><tr>\n";
+print "<table cellpadding=\"1\" cellspacing=\"0\"><tr class=\"tabletop\">\n";
     
 for $h (('edit',
          'Package',
@@ -69,6 +69,9 @@
         $cl=" class=\"latest2\"";
         $utd++;
     }
+    else {
+        $cl = sprintf(" class=\"%s\"", ($i&1)?"even":"odd");
+    }
     print "<tr$cl><td><a href=\"mod_entry.cgi?__id=".$$per{'__id'}."\">edit</a></td>";
 
     my $s = $$per{'os'};
@@ -106,12 +109,12 @@
            $$per{'ssl'}eq"No"?"&nbsp;":$$per{'ssl'});
   #  printf("<td>%s</td>", show($$per{'date'}));
 
-    printf("<td>%s %s</a></td>",
-           ($$per{'name'} && $$per{'name'} ne "-")?show($$per{'name'}):"[no name]",
-           ($$per{'email'} && $$per{'email'} ne "-")?"[address]":"[no address]");
+    printf("<td>%s</a></td>",
+           ($$per{'name'} && $$per{'name'} ne "-")?show($$per{'name'}):"&nbsp;");
  #   printf("<td>%s</td>", show($$per{'size'}));
-    printf("<td>%s</td>",
-           $$per{'img'}?"<img src=\"/pix/".$$per{'img'}."\">":"[none]");
+#    printf("<td>%s</td>",
+#           $$per{'img'}?"<img src=\"/pix/".$$per{'img'}."\">":"[none]");
+    printf("<td>%s</td>", $$per{'img'}?"[PIC]":"&nbsp;");
     print "</tr>\n";
     $i++;
 }

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits
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.