diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-01-24 01:31:04 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-01-24 01:31:04 -0500 |
commit | 54aca06d00bc1f1566eb760d5399f4b157f6cc1b (patch) | |
tree | e333befd157aa46fc665fdeb495a22a03a44ec95 /web/template | |
parent | bdd03d820e303d6f38baebdf8bc17053b55b843e (diff) | |
download | aurweb-54aca06d00bc1f1566eb760d5399f4b157f6cc1b.tar.xz |
Validation fixes.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_search_form.php | 2 | ||||
-rw-r--r-- | web/template/stats/updates_table.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 8c385ec..012b1bd 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -4,6 +4,7 @@ <form action='packages.php' method='get'> <div class='pgboxtitle'> <span class='f3'><?php print __("Search Criteria"); ?></span> + <input type='hidden' name='O' value='0' /> <input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' /> <input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' /> <?php if (!empty($_GET['detail'])): ?> @@ -13,7 +14,6 @@ <a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>">Advanced</a> </div> -<input type='hidden' name='O' value='0' /> <?php if (!empty($_GET['detail'])): ?> <div id="advanced-search" class="blue"> <input type="hidden" name="detail" value="1" /> diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index 09c70d5..2a6c2f3 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -2,7 +2,7 @@ <tr> <th colspan="2" class="boxSoftTitle" style="text-align: right"> <span class="f3"><?php print __("Recent Updates") ?><span class="f5"></span></span> -<a href="rss2.php"><img src="images/feed-icon-14x14.png" alt="RSS Feed"></a> +<a href="rss2.php"><img src="images/feed-icon-14x14.png" alt="RSS Feed" /></a> </th> </tr> @@ -12,7 +12,7 @@ <span class="f4"><span class="blue"> <a href="packages.php?ID=<?php print intval($row["ID"]); ?>"> <?php print $row["Name"] . ' ' . $row["Version"]; ?> -</a></span> +</a></span></span> </td> <td class="boxSoft"> |