diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index e277ef5b..b633a1fb 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -664,7 +664,7 @@ function pkg_search_page($SID="") { print " value=\"".stripslashes($K)."\" maxlength='35'>\n"; print "\n"; - print "\n"; +/* print "\n"; print " ".__("Sort by"); print "
\n"; print " \n"; print "\n"; - +*/ print "\n"; print " ".__("Per page"); print "
\n"; @@ -896,6 +896,14 @@ function pkg_search_page($SID="") { # print out package search results # + + # SO_next used to change sort order on header click + if ($_REQUEST["SO"] == "d"){ + $SO_next="a"; + } else { + $SO_next="d"; + } + print "
\n"; print "\n"; print "\n"; @@ -912,21 +920,32 @@ function pkg_search_page($SID="") { print " bottom'> \n"; } print " \n"; + print " bottom'>"; + print "".__("Location").""; + print "\n"; print " \n"; + print " bottom'>"; + print "".__("Category").""; + print "\n"; print " \n"; + print " bottom'>"; + print "".__("Name").""; + print "\n"; print " \n"; + print " bottom'>"; + print "".__("Votes").""; + print "\n"; if ($SID) { print " \n"; } print " \n"; + print " bottom'>".__("Description").""; + print "\n"; print " \n"; + print " bottom'>"; + print "".__("Maintainer").""; + print "\n"; # REMOVED LINK TO 'pkgmgmnt.php' # if ($SID) { # print "
".__("Location")."".__("Category")."".__("Name")."".__("Votes")."".__("Voted")."".__("Description")."".__("Maintainer")."