diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-02-18 09:42:39 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-02-18 09:42:39 -0500 |
commit | 75758801d87c4f9f6ab2ac9584d542be4173d216 (patch) | |
tree | 7949b07d67e564328155ea14aee564e0378fc768 /web/template | |
parent | 84f08cf82b5d35376df4287daca07eb9538c2d76 (diff) | |
download | aurweb-75758801d87c4f9f6ab2ac9584d542be4173d216.tar.xz |
XHTML 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/pkg_search_results.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index f5163f3..692c855 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -21,7 +21,7 @@ <li> <label><?php print __("Location"); ?></label> <select name='L'> - <option value=0><?php print __("Any"); ?></option> + <option value="0"><?php print __("Any"); ?></option> <?php foreach (pkgLocations() as $id => $loc): if (intval($_GET["L"]) == $id): diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 1ea5928..a933c01 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -1,4 +1,4 @@ -<form action='packages.php?<?php print $_SERVER['QUERY_STRING'] ?>' method='post'> +<form action='packages.php?<?php echo htmlentities($_SERVER['QUERY_STRING']) ?>' method='post'> <div class="pgbox"> <div class="pgboxtitle"> <span class='f3'><?php print __("Package Listing") ?></span> |