index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/style.php | 5 |
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=\"?"; |