summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-02-18 15:42:39 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-02-18 15:42:39 +0100
commit75758801d87c4f9f6ab2ac9584d542be4173d216 (patch)
tree7949b07d67e564328155ea14aee564e0378fc768 /web/template
parent84f08cf82b5d35376df4287daca07eb9538c2d76 (diff)
downloadaur-75758801d87c4f9f6ab2ac9584d542be4173d216.tar.gz
aur-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.php2
-rw-r--r--web/template/pkg_search_results.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index f5163f3b..692c8550 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 1ea5928f..a933c014 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>