1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-29 22:31:28 +00:00

some basic w3c compliance for static code

This commit is contained in:
Andrew Dolgov
2008-09-21 14:39:02 +01:00
parent f7f939b29c
commit 74d5c8fa15
3 changed files with 37 additions and 32 deletions

View File

@@ -1436,7 +1436,7 @@
print "<select name=\"$id\" id='$id' $attributes>";
foreach (array_keys($values) as $v) {
if ($v == $default)
$sel = "selected";
$sel = 'selected="selected"';
else
$sel = "";
@@ -5729,13 +5729,13 @@
function rounded_table_start($classname, $header = "&nbsp;") {
print "<table width='100%' class='$classname' cellspacing='0' cellpadding='0'>";
print "<tr><td class='c1'>&nbsp;</td><td class='top'>$header</td><td class='c2'>&nbsp;</tr>";
print "<tr><td class='c1'>&nbsp;</td><td class='top'>$header</td><td class='c2'>&nbsp;</td></tr>";
print "<tr><td class='left'>&nbsp;</td><td class='content'>";
}
function rounded_table_end($footer = "&nbsp;") {
print "</td><td class='right'>&nbsp;</td></tr>";
print "<tr><td class='c4'>&nbsp;</td><td class='bottom'>$footer</td><td class='c3'>&nbsp;</tr>";
print "<tr><td class='c4'>&nbsp;</td><td class='bottom'>$footer</td><td class='c3'>&nbsp;</td></tr>";
print "</table>";
}