gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1450 - GNUnet-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r1450 - GNUnet-docs/WWW
Date: Tue, 12 Jul 2005 18:57:54 -0700 (PDT)

Author: grothoff
Date: 2005-07-12 18:57:52 -0700 (Tue, 12 Jul 2005)
New Revision: 1450

Modified:
   GNUnet-docs/WWW/scripts.inc
Log:
try

Modified: GNUnet-docs/WWW/scripts.inc
===================================================================
--- GNUnet-docs/WWW/scripts.inc 2005-07-13 01:55:34 UTC (rev 1449)
+++ GNUnet-docs/WWW/scripts.inc 2005-07-13 01:57:52 UTC (rev 1450)
@@ -48,20 +48,20 @@
   foreach($elements as $name => $size) {
     if (($offset % 4) == 0) {
       if ( ($size >= 4) || ($size == 0) ) {
-        $ret[] = "<td>$offset</td><td colspan=4>$name</td>";
+        $ret[] = "<th class=\"tbl\">$offset</th><td class=\"tbl\" 
colspan=4>$name</td>";
         $mod = $size % 4;
         $offset += $size - $mod;
         $size = $mod;
       }
       if ($size > 0) {
-        $currString = "<td>$offset</td><td colspan=$size>$name</td>";
+        $currString = "<th class=\"tbl\">$offset</th><td class=\"tbl\" 
colspan=$size>$name</td>";
         $offset += $size;
       }
     } else {
       $left = 4 - ($offset % 4);
       if ($left > $size)
         $left = $size;
-      $currString = $currString . "<td colspan=$left>$name</td>";
+      $currString = $currString . "<td class=\"tbl\" colspan=$left>$name</td>";
       $offset += $left;
       $size -= $left;
       if (($offset % 4) == 0) {
@@ -72,11 +72,11 @@
         $mod = $size % 4;
         if ($size >= 4) {
           $size -= $mod;
-         $ret[] = "<td>$offset</td><td colspan=4>$name</td>";
+         $ret[] = "<th class=\"tbl\">$offset</th><td class=\"tbl\" 
colspan=4>$name</td>";
           $offset += $size;
         }
         if ($mod > 0) {
-          $currString = "<td>$offset</td><td colspan=$mod>$name</td>";
+          $currString = "<th class=\"tbl\">$offset</th><td class=\"tbl\" 
colspan=$mod>$name</td>";
           $offset += $mod;        
         }
       }
@@ -96,14 +96,14 @@
   echo "<tr><th rowspan=2>" . W_("Offset") . 
        "</th><th colspan=4>" . W_("Bit position") . 
        "</th></tr>\n";
-  echo "<tr><th>0-7</th><th>8-15</th><th>16-23</th><th>24-31</th></tr>\n";
+  echo "<tr><th class=\"tbl\">0-7</th><th class=\"tbl\">8-15</th><th 
class=\"tbl\">16-23</th><th class=\"tbl\">24-31</th></tr>\n";
   $cnt = 0;
   foreach($fieldArray as $value) {
     echo "<tr>" . $value . "</tr>\n";
     $cnt++;
   }
   if ($cnt > 5)
-    echo "<tr><th>0-7</th><th>8-15</th><th>16-23</th><th>24-31</th></tr>\n";
+    echo "<tr><th class=\"tbl\">0-7</th><th class=\"tbl\">8-15</th><th 
class=\"tbl\">16-23</th><th class=\"tbl\">24-31</th></tr>\n";
   echo "</table>\n";
   echo "</center>\n";
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]