summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-09-21 14:39:02 +0100
committerAndrew Dolgov <[email protected]>2008-09-21 14:39:02 +0100
commit74d5c8fa154edb205f35fa8a22764b1b73b8d2ec (patch)
treed94e37c0553811841ef931f8f9f62635062d8667 /functions.php
parentf7f939b29c44fbc13e567c855bcb2a35e1083030 (diff)
some basic w3c compliance for static code
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php
index 2c8309003..c20bba7f3 100644
--- a/functions.php
+++ b/functions.php
@@ -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>";
}