Author: greg.ercolano
Date: 2012-02-22 12:45:03 -0800 (Wed, 22 Feb 2012)
New Revision: 653
Log:
Indent fixes for generated html.



Modified:
   trunk/phplib/html.php
   trunk/software.php

Modified: trunk/phplib/html.php
===================================================================
--- trunk/phplib/html.php       2012-02-22 20:37:58 UTC (rev 652)
+++ trunk/phplib/html.php       2012-02-22 20:45:03 UTC (rev 653)
@@ -543,7 +543,7 @@
         ."width='4' height='4' alt=''></th>\n"
         ."  </tr>\n");
   else
-    print("</tr>\n");
+    print("  </tr>\n");
 }
 
 
@@ -558,12 +558,15 @@
 
   if ( $class == "" ) { $class = "header"; }
   if ($html_show_all)
-    print("<tr class='${class}'><th align='left' valign='bottom'>"
+    print("  <tr class='${class}'>\n"
+         ."    <th align='left' valign='bottom'>"
         ."<img src='${html_path}images/hdr-bottom-left.gif' width='4' 
height='4' "
-        ."alt=''></th>"
-        ."<th colspan='$html_cols'>&nbsp;</th>"
-        ."<th align='right' valign='bottom'><img 
src='${html_path}images/hdr-bottom-right.gif' "
-        ."width='4' height='4' alt=''></th></tr>\n");
+        ."alt=''></th>\n"
+        ."    <th colspan='$html_cols'>&nbsp;</th>\n"
+        ."    <th align='right' valign='bottom'>"
+        ."<img src='${html_path}images/hdr-bottom-right.gif' "
+        ."width='4' height='4' alt=''></th>\n"
+        ."  </tr>\n");
 
   print("</table>\n");
 }

Modified: trunk/software.php
===================================================================
--- trunk/software.php  2012-02-22 20:37:58 UTC (rev 652)
+++ trunk/software.php  2012-02-22 20:45:03 UTC (rev 653)
@@ -169,7 +169,7 @@
     {
       if ($curversion != "")
       {
-       print("<td colspan='4'></td>");
+       print("    <td colspan='4'></td>\n");
        html_end_row();
        html_start_row($dataclass);
       }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to