diff options
author | Andrew Dolgov <[email protected]> | 2008-09-21 14:39:02 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-09-21 14:39:02 +0100 |
commit | 74d5c8fa154edb205f35fa8a22764b1b73b8d2ec (patch) | |
tree | d94e37c0553811841ef931f8f9f62635062d8667 /functions.php | |
parent | f7f939b29c44fbc13e567c855bcb2a35e1083030 (diff) |
some basic w3c compliance for static code
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
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 = " ") { print "<table width='100%' class='$classname' cellspacing='0' cellpadding='0'>"; - print "<tr><td class='c1'> </td><td class='top'>$header</td><td class='c2'> </tr>"; + print "<tr><td class='c1'> </td><td class='top'>$header</td><td class='c2'> </td></tr>"; print "<tr><td class='left'> </td><td class='content'>"; } function rounded_table_end($footer = " ") { print "</td><td class='right'> </td></tr>"; - print "<tr><td class='c4'> </td><td class='bottom'>$footer</td><td class='c3'> </tr>"; + print "<tr><td class='c4'> </td><td class='bottom'>$footer</td><td class='c3'> </td></tr>"; print "</table>"; } |