Author: greg.ercolano
Date: 2012-02-22 13:36:37 -0800 (Wed, 22 Feb 2012)
New Revision: 654
Log:
Small fixes for rounded table corners.
Modified:
trunk/phplib/html.php
trunk/software.php
Modified: trunk/phplib/html.php
===================================================================
--- trunk/phplib/html.php 2012-02-22 20:45:03 UTC (rev 653)
+++ trunk/phplib/html.php 2012-02-22 21:36:37 UTC (rev 654)
@@ -498,6 +498,10 @@
$html_row = 0;
$html_cols = count($headings);
+ $toplt_img = "<img src='${html_path}images/hdr-top-left.gif' "
+ ."width='4' height='4'";
+ $toprt_img = "<img src='${html_path}images/hdr-top-right.gif' "
+ ."width='4' height='4'";
if ( $class == "" ) { $class = "header"; }
if ($html_show_all)
@@ -506,14 +510,13 @@
if ( $title != "" )
{
print(" <tr class='${class}'>\n"
- ." <th></th>\n"
+ ." <th align='left' valign='top'>$toplt_img</th>\n"
." <th align=center colspan='$html_cols'>$title</th>\n"
- ." <th></th>\n"
+ ." <th align='right' valign='top'>$toprt_img</th>\n"
." </tr>\n");
}
print(" <tr class='${class}'>\n"
- ." <th align='left' valign='top'>"
- ."<img src='${html_path}images/hdr-top-left.gif' width='4' height='4'
alt=''></th>\n");
+ ." <th></th>\n");
}
else
{
@@ -538,10 +541,18 @@
}
if ($html_show_all)
- print(" <th align='right' valign='top'>"
- ."<img src='${html_path}images/hdr-top-right.gif' "
- ."width='4' height='4' alt=''></th>\n"
- ." </tr>\n");
+ {
+ if ( $title == "" )
+ {
+ print(" <th align='right' valign='top'>$toprt_img</th>\n"
+ ." </tr>\n");
+ }
+ else
+ {
+ print(" <th></th>\n"
+ ." </tr>\n");
+ }
+ }
else
print(" </tr>\n");
}
Modified: trunk/software.php
===================================================================
--- trunk/software.php 2012-02-22 20:45:03 UTC (rev 653)
+++ trunk/software.php 2012-02-22 21:36:37 UTC (rev 654)
@@ -127,7 +127,7 @@
$headerclass = ""; // (uses site defaults)
$dataclass = ""; // (uses site defaults)
- html_start_table($headings, "- - Public Releases - -");
+ html_start_table($headings, "- - - Public Releases - - -");
for ($i = 0; $i < sizeof($files); $i ++)
{
@@ -147,7 +147,7 @@
html_end_table($headerclass);
$dataclass = "data0-red";
$headerclass = "header-red";
- html_start_table($headings, "- - Development Only - -", $headerclass);
+ html_start_table($headings, "- - - Development Only - -
-", $headerclass);
$dev = 1;
}
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit