index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-19 09:47:13 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-19 09:47:13 +0100 |
commit | 37ba3ac0ca27ed3c68be6da97cb68a0a86bd5934 (patch) | |
tree | 1824a985cebb52ebcbe3423f84a1ab4028d796f2 /lib/style.php | |
parent | 2653ca5ae8e9836339aac14e8c891b7b9b26367f (diff) |
-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=\"?"; |