summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--web/html/css/fonts.css6
-rw-r--r--web/template/pkg_details.php5
2 files changed, 8 insertions, 3 deletions
diff --git a/web/html/css/fonts.css b/web/html/css/fonts.css
index cbc6ddc..9dea935 100644
--- a/web/html/css/fonts.css
+++ b/web/html/css/fonts.css
@@ -44,6 +44,12 @@ span.f7 /* Green Message */
font-size: 14px;
font-weight: bold;
}
+span.f8 /* Internal Sources in Package Details */
+{
+ color: #888;
+ font-size: 12px;
+ font-weight: bold;
+}
span.fix /* Monospace fixed-font */
{
color: #000;
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";
}
}
}