summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-01-25 09:37:23 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2011-01-25 10:07:34 +0100
commit2c098d73a233d329bacd4af5946ad97f6496a438 (patch)
treeb1ad1a2b3e08e96cce092400cba089ce49e4f366 /web/template
parent737268e0c270c0cc7761f1e449a9a414508b4ebc (diff)
downloadaurweb-2c098d73a233d329bacd4af5946ad97f6496a438.tar.xz
Removed links to internal sources from package details.
Tarball extraction code has been removed in commit ec0dfc27deb246ee7d7f19fd5290e499805869d2, so links to package sources contained in the source tarball itself will no longer be accessible through the AUR frontend. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_details.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index a8da6c9..8aba3af 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -173,9 +173,8 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
$src = $src[0];
# It is presumably an internal source
if ($row["LocationID"] == 2) {
- $urlpath = URL_DIR . $row['Name'];
- echo "<a href='$urlpath/$src'>";
- echo "$src</a><br />\n";
+ echo "<span class='f8'>$src</span>";
+ echo "<br />\n";
}
}
}