mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Links to official packages now point back to AL site.
Previously if the package was not in community or unsupported, the link didn't point anywhere. Now it uses http://archlinux.org/packages/search/$pkgname. If there's a better way, someone needs to let me know. As far as I know, there's no sure way to link directly to a package without knowing the pkgid. Signed-off-by: tardo <tardo@nagi-fanboi.net>
This commit is contained in:
parent
b4946839ea
commit
de365c6e0c
1 changed files with 2 additions and 2 deletions
|
@ -388,7 +388,7 @@ function package_details($id=0, $SID="") {
|
|||
// $darr[3] is the DepCondition
|
||||
|
||||
if ($darr[2] == 0) echo $url."'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
else echo "<a href='#'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
else echo "<a href='http://archlinux.org/packages/search/".$darr[1]."'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
}
|
||||
echo "</td></tr>\n";
|
||||
echo "</table></td>";
|
||||
|
@ -414,7 +414,7 @@ function package_details($id=0, $SID="") {
|
|||
// $darr[3] is the DepCondition
|
||||
|
||||
if ($darr[2] == 0) print $url."'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
else print "<a href='#'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
else print "<a href='http://archlinux.org/packages/search/".$darr[1]."'>".$darr[1].$darr[3]."</a><br />\n";
|
||||
}
|
||||
echo "</td></tr>\n";
|
||||
echo " </table>\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue