Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/style.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/style.php b/lib/style.php
index cc7b47d..a8f3163 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -191,14 +191,13 @@ function query_package_listing($filter, $limit, $float_columns, $count_only, $ex
}
}
-function print_package_listing($list, $print_order_links) {
+function print_listing($list, $print_order_links, $columns) {
- global $pkglist_sorts;
print " <table class=\"results\">\n";
print " <thead>\n";
print " <tr>\n";
- foreach ($pkglist_sorts as $get => $sort) {
+ foreach ($columns as $get => $sort) {
print " <th>\n";
if ($print_order_links) {
print " <a href=\"?";