summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2010-05-30 00:20:42 +0200
committerLoui Chang <louipc.ist@gmail.com>2010-06-05 00:22:22 +0200
commitb18fb08ddc7201760112f4492cdcd81961902fa1 (patch)
tree7fab9d26426b54a59652e37c8f8ee20699d42b7f /web/template/pkg_search_results.php
parent290c436046327d9f04b7d12b5fda19f4dc14f574 (diff)
downloadaur-b18fb08ddc7201760112f4492cdcd81961902fa1.tar.gz
aur-b18fb08ddc7201760112f4492cdcd81961902fa1.tar.xz
Add sorting by "Voted" and "Notify" fields
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r--web/template/pkg_search_results.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index b7015ce6..364a3521 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -29,8 +29,12 @@
</span></th>
<?php if ($SID): ?>
- <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Voted") ?></span></th>
- <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Notify") ?></span></th>
+ <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>
+ <a href='?<?php print mkurl('SB=w&SO=' . $SO_next) ?>'><?php print __("Voted") ?></a>
+ </span></th>
+ <th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>
+ <a href='?<?php print mkurl('SB=o&SO=' . $SO_next) ?>'><?php print __("Notify") ?></a>
+ </span></th>
<?php endif; ?>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Description") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'>