summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-03-11 18:54:44 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-03-11 19:00:50 +0100
commit7f9e498e48c4e5d056ee988a23dedb8ca98b11cd (patch)
tree2207b70001651eca6ac8f9500ec679e8edf98382 /web/template/pkg_search_results.php
parentc34bebf42859019998c7ff3c03b570295ae83ebe (diff)
downloadaurweb-7f9e498e48c4e5d056ee988a23dedb8ca98b11cd.tar.xz
Fix broken XHTML.
Fix a lot of invalid XHTML in the templates and actions. There might still be some legacy code left, but this should cover most of it. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r--web/template/pkg_search_results.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index c8c29f2..40ad029 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -54,7 +54,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
?>
<tr>
<?php if ($SID): ?>
- <td class='<?php print $c ?>'><input type='checkbox' name='IDs[<?php print $row["ID"] ?>]' value='1'></td>
+ <td class='<?php print $c ?>'><input type='checkbox' name='IDs[<?php print $row["ID"] ?>]' value='1' /></td>
<?php endif; ?>
<td class='<?php print $c ?>'><span class='f5'><span class='blue'><?php print $row["Category"] ?></span></span></td>
<td class='<?php print $c ?>'><span class='f4'><a href='packages.php?ID=<?php print $row["ID"] ?>'><span class='black'><?php print $row["Name"] ?> <?php print $row["Version"] ?></span></a></span></td>
@@ -62,15 +62,15 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
<?php if ($SID): ?>
<td class='<?php print $c ?>'><span class='f5'><span class='blue'>
<?php if (isset($row["Voted"])): ?>
- <?php print __("Yes") ?></span></td>
+ <?php print __("Yes") ?></span></span></td>
<?php else: ?>
- </span></td>
+ </span></span></td>
<?php endif; ?>
<td class='<?php print $c ?>'><span class='f5'><span class='blue'>
<?php if (isset($row["Notify"])): ?>
- <?php print __("Yes") ?></span></td>
+ <?php print __("Yes") ?></span></span></td>
<?php else: ?>
- </span></td>
+ </span></span></td>
<?php endif; ?>
<?php endif; ?>
<td class='<?php print $c ?>'><span class='f4'><span class='blue'>