Commit 2c098d73 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Removed links to internal sources from package details.

Tarball extraction code has been removed in commit
ec0dfc27

, so links to package sources
contained in the source tarball itself will no longer be accessible
through the AUR frontend.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 737268e0
......@@ -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;
......
......@@ -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";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment