index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-07-27 09:31:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-27 09:31:58 +0200 |
commit | a0c305ec1b70c0d5a8aad8a1d3b2477bc3a15bbe (patch) | |
tree | 510b29364a4c736f5634147046b656b146faced3 /packages | |
parent | 1a7538265f7a2748e8864c002e75e55cb8a270ba (diff) |
-rw-r--r-- | packages/pkginfo.php | 13 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index b910266..3fa1e77 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -1,6 +1,7 @@ <?php require_once "../init.php"; +require_once BASE . "/lib/helper.php"; require_once BASE . "/lib/mysql.php"; require_once BASE . "/lib/style.php"; @@ -283,17 +284,13 @@ require_once BASE . "/lib/style.php"; } if ($content["uses_modification"]) { print " <li>\n"; - print " <a href=\"https://git.archlinux32.org/archlinux32/packages/src/branch/master/"; - print $content["stable_repo"]; - print "/"; - print $content["pkgbase"]; + print " <a href=\""; + print git_url("packages","tree","master",$content["stable_repo"]."/".$content["pkgbase"]); print "\" title=\"View archlinux32's source files for "; print $content["pkgname"]; print "\">Archlinux32's Source Files</a> /\n"; - print " <a href=\"https://git.archlinux32.org/archlinux32/packages/commits/branch/master/"; - print $content["stable_repo"]; - print "/"; - print $content["pkgbase"]; + print " <a href=\""; + print git_url("packages","log","master",$content["stable_repo"]."/".$content["pkgbase"]); print "\" title=\"View upstream's changes for "; print $content["pkgname"]; print "\">Archlinux32's Changes</a>\n"; |