summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-03 09:40:06 +0100
committerErich Eckner <git@eckner.net>2019-01-03 09:40:06 +0100
commit8d77026b01a5b2b4436d5561fdb09ce504e73c8d (patch)
tree77ce29c32d576867ca8c5d0460874701bb6f43e9 /packages/pkginfo.php
parent76439c3e010d651eefbfc48f06994b0ed890dd11 (diff)
downloadarchweb32-8d77026b01a5b2b4436d5561fdb09ce504e73c8d.tar.xz
packages/pkginfo.php: reorder according to new url layout
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 668e6ea..02251d4 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -420,6 +420,7 @@ require_once BASE . "/lib/style.php";
</li>
<li>
<a href="http://pool.mirror.archlinux32.org/i686/<?php
+ // TODO: 'i686' -> $repo_arch
print $content["repo"]."/".$content["pkgname"]."-".$content["version"]."-".$content["arch"];
?>.pkg.tar.xz" rel="nofollow" title="Download <?php print $content["pkgname"]; ?> from mirror">Download From Mirror</a>
</li>
@@ -434,7 +435,8 @@ if (count($elsewhere)>0) {
print " <ul>\n";
print " <li>\n";
if ($subst["is_on_master_mirror"]) {
- print " <a href=\"/" . $subst["repo"] . "/" . $subst["arch"] . "/" . $subst["pkgname"] ."/\"";
+ print " <a href=\"/" . $subst["arch"] . "/" . $subst["repo"] . "/" . $subst["pkgname"] ."/\"";
+ // TODO: arch -> repo_arch
print " title=\"Package details for " . $subst["pkgname"] ."\">";
}
if ($subst["is_to_be_deleted"])
@@ -600,7 +602,8 @@ if ($count > 1 || $content["pkgname"] != $content["pkgbase"]) {
if (!$first)
print ", ";
$first = false;
- print "<a href=\"/".$d_p["repo"]."/".$d_p["arch"]."/".$d_p["pkgname"]."/\" ";
+ print "<a href=\"/".$d_p["arch"]."/".$d_p["repo"]."/".$d_p["pkgname"]."/\" ";
+ // TODO: $repo -> $repo_arch
print "title=\"View package details for ".$d_p["pkgname"]."\">";
if ($d_p["is_to_be_deleted"])
print "<s>";
@@ -634,7 +637,8 @@ if ($count > 1 || $content["pkgname"] != $content["pkgbase"]) {
if ($dep["install_target"] != $content["pkgname"])
print $dep["install_target"] . " (";
if ($dep["is_on_master_mirror"]=="1") {
- print "<a href=\"/".$dep["repo"]."/".$dep["arch"]."/".$dep["pkgname"]."/\" ";
+ print "<a href=\"/".$dep["arch"]."/".$dep["repo"]."/".$dep["pkgname"]."/\" ";
+ // TODO: $repo -> $repo_arch
print "title=\"View package details for ".$dep["pkgname"]."\">";
}
if ($dep["is_to_be_deleted"])