diff options
author | Erich Eckner <git@eckner.net> | 2019-02-07 12:09:26 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-07 12:09:26 +0100 |
commit | 2d1d85269ee562a3dfe4d35a2186c793aa9b8118 (patch) | |
tree | 28c2992a3514dd3490e31d2d5786fcbe82cf78f0 | |
parent | 5b52f8b5a6a911aafc46b9ea2a5eaada76a89729 (diff) | |
download | archweb32-2d1d85269ee562a3dfe4d35a2186c793aa9b8118.tar.xz |
*/index.{php,html}: change absolut references to relative ones where appropriate
-rw-r--r-- | buildmaster/index.php | 32 | ||||
-rw-r--r-- | mirrors/index.php | 2 | ||||
-rw-r--r-- | packages/index.php | 4 | ||||
-rw-r--r-- | pkgapi/index.html | 2 |
4 files changed, 20 insertions, 20 deletions
diff --git a/buildmaster/index.php b/buildmaster/index.php index 0ea0376..e63290c 100644 --- a/buildmaster/index.php +++ b/buildmaster/index.php @@ -37,26 +37,26 @@ if ($sarch_param != "") { </head> <body> <?php show_warning_on_offline_slave(); ?> - <a href="/buildmaster/build-list.php<?php print $sarch_param; ?>">build list</a> - as <a href="/buildmaster/build-list-links.php">graph</a> -- - <a href="/buildmaster/build-list.php?broken=Broken<?php print $march_param; ?>">broken packages</a> -- - <a href="/buildmaster/build-list.php?next=Can<?php print $march_param; ?>">buildable packages</a><br> - <a href="/buildmaster/build-slaves.php">build-slaves</a> -- - <a href="/buildmaster/gpg-keys.php">gpg-keys</a> -- - <a href="/buildmaster/status.php">status</a><br> + <a href="build-list.php<?php print $sarch_param; ?>">build list</a> + as <a href="build-list-links.php">graph</a> -- + <a href="build-list.php?broken=Broken<?php print $march_param; ?>">broken packages</a> -- + <a href="build-list.php?next=Can<?php print $march_param; ?>">buildable packages</a><br> + <a href="build-slaves.php">build-slaves</a> -- + <a href="gpg-keys.php">gpg-keys</a> -- + <a href="status.php">status</a><br> <a href="https://buildmaster.archlinux32.org/build-logs/">build logs</a> -- - <a href="/buildmaster/log.php?show=ssh">ssh-log</a> -- - <a href="/buildmaster/log.php?show=email">email-log</a><br> + <a href="log.php?show=ssh">ssh-log</a> -- + <a href="log.php?show=email">email-log</a><br> sanity: of <a href="https://buildmaster.archlinux32.org/master-sanity.html">state files</a>, of <a href="https://buildmaster.archlinux32.org/mysql-sanity.html">mysql database</a> and - <a href="/buildmaster/mysql-issues.php?ignore-i486">broken dependencies in the database</a><br> - <a href="/buildmaster/todos.php">todos</a> - as <a href="/buildmaster/todos.php?graph">graph</a><br> + <a href="mysql-issues.php?ignore-i486">broken dependencies in the database</a><br> + <a href="todos.php">todos</a> + as <a href="todos.php?graph">graph</a><br> <a href="https://buildmaster.archlinux32.org/database-layout.png">database layout</a><br> - <a href="/buildmaster/blacklist.php">blacklisted packages</a> -- - <a href="/buildmaster/to-delete.php">packages to be deleted</a> - and <a href="/buildmaster/deletion-links.php">links between them</a><br> - <img src="/buildmaster/statistics.php?log<?php print $march_param; ?>"><br> + <a href="blacklist.php">blacklisted packages</a> -- + <a href="to-delete.php">packages to be deleted</a> + and <a href="deletion-links.php">links between them</a><br> + <img src="statistics.php?log<?php print $march_param; ?>"><br> <?php foreach (array("any", "i486", "i686", "") as $a) { diff --git a/mirrors/index.php b/mirrors/index.php index b74b25c..f0b7393 100644 --- a/mirrors/index.php +++ b/mirrors/index.php @@ -82,7 +82,7 @@ print_header("Mirror Overview"); <?php foreach ($sorts as $get => $sort) { print " <th>\n"; - print " <a href=\"/mirrors/?"; + print " <a href=\"?"; print substr(str_replace( "&sort=".$_GET["sort"]."&", "&", diff --git a/packages/index.php b/packages/index.php index 1d3acca..0784896 100644 --- a/packages/index.php +++ b/packages/index.php @@ -251,7 +251,7 @@ require_once BASE . "/lib/format.php"; print " " . $row["repo"] . "\n"; print " </td>\n"; print " <td>\n"; - print " <a href=\"/" . $row["repo"] . "/" . $row["pkgname"] ."/\" "; + print " <a href=\"" . $row["repo"] . "/" . $row["pkgname"] ."/\" "; print "title=\"View package details for " . $row["pkgname"] . "\">" . $row["pkgname"] . "</a>\n"; print " </td>\n"; print " <td>\n"; @@ -487,7 +487,7 @@ if (count($exact_matches) > 0) { foreach ($sorts as $get => $sort) { print " <th>\n"; - print " <a href=\"/?"; + print " <a href=\"?"; print substr(str_replace( "&sort=".$_GET["sort"]."&", "&", diff --git a/pkgapi/index.html b/pkgapi/index.html index aca92a7..bd9e704 100644 --- a/pkgapi/index.html +++ b/pkgapi/index.html @@ -1,5 +1,5 @@ <html> <body> - This is the pkgapi for archlinux32 - query it <a href="/i486/core/gcc">like so.</a> + This is the pkgapi for archlinux32 - query it <a href="i486/core/gcc">like so.</a> </bod> </html> |