summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_form.php
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2009-02-15 23:22:33 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-02-18 15:31:20 +0100
commit84f08cf82b5d35376df4287daca07eb9538c2d76 (patch)
treea3f1a90add706e236460e1039a8713409eba5c09 /web/template/pkg_search_form.php
parent710ff234fb49e3ba0e5b9d65f47f53a59c9fe2e4 (diff)
downloadaur-84f08cf82b5d35376df4287daca07eb9538c2d76.tar.gz
aur-84f08cf82b5d35376df4287daca07eb9538c2d76.tar.xz
Add 'Out of Date' detail in search form
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r--web/template/pkg_search_form.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 012b1bd2..f5163f3b 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -120,6 +120,14 @@
?>
</select>
</li>
+ <li>
+ <label><?php echo __('Out of Date'); ?></label>
+ <?php if (isset($_GET['outdated'])): ?>
+ <input type="checkbox" name="outdated" checked />
+ <?php else: ?>
+ <input type="checkbox" name="outdated" />
+ <?php endif; ?>
+ </li>
</ul>
</div>
<?php endif; ?>