summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-19 13:56:42 +0100
committerErich Eckner <git@eckner.net>2019-02-19 13:56:42 +0100
commit402f86a57f965f8dc21dc4312281c434263366a9 (patch)
tree2b1504eabfd20e11e7acd5e2746c26e6882bccff /lib
parent0e19ad38c281378962ba6e7af9f6feef1ce70750 (diff)
downloadarchweb32-402f86a57f965f8dc21dc4312281c434263366a9.tar.xz
packages/differences.php now functional
Diffstat (limited to 'lib')
-rw-r--r--lib/style.php42
1 files changed, 33 insertions, 9 deletions
diff --git a/lib/style.php b/lib/style.php
index ee40d10..547e350 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -98,15 +98,10 @@ $difflist_sorts = array(
"label" => "i686 Version",
"mysql" => "`i686_version`"
),
- "i486_repo" => array(
- "title" => "i486 repository",
- "label" => "i486 Repository",
- "mysql" => "`i486_repo`"
- ),
- "i686_repo" => array(
- "title" => "i686 repository",
- "label" => "i686 Repository",
- "mysql" => "`i686_repo`"
+ "repo" => array(
+ "title" => "repository",
+ "label" => "Repository",
+ "mysql" => "`repo`"
),
"i486_last_moved" => array(
"title" => "i486 last updated",
@@ -120,6 +115,35 @@ $difflist_sorts = array(
)
);
+$difflist_print_columns = array(
+ 'name' => array('$pkgname'),
+ 'i486_version' => array(
+ '"<a href="/packages/i486/',
+ '$repository',
+ '"/',
+ '$pkgname',
+ '"/">',
+ '$i486_font_pre',
+ '$i486_version',
+ '$i486_font_post',
+ '"</a>'
+ ),
+ 'i686_version' => array(
+ '"<a href="/packages/i686/',
+ '$repository',
+ '"/',
+ '$pkgname',
+ '"/">',
+ '$i686_font_pre',
+ '$i686_version',
+ '$i686_font_post',
+ '"</a>'
+ ),
+ 'repository' => array('$repository'),
+ 'i486_move_date' => array('$i486_move_date'),
+ 'i686_move_date' => array('$i686_move_date')
+);
+
$grouplist_sorts = array(
"arch" => array(
"title" => "architecture",