Fix main site URL

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Dan McGee 2011-03-01 11:26:50 -06:00 committed by Lukas Fleischer
parent d1d0288598
commit 9b51f2d842

View file

@ -122,7 +122,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
reset($pkgsearch_vars); reset($pkgsearch_vars);
# $darr[3] is the DepCondition # $darr[3] is the DepCondition
if ($darr[2] == 0) echo $url."'>".$darr[1].$darr[3]."</a>"; if ($darr[2] == 0) echo $url."'>".$darr[1].$darr[3]."</a>";
else echo " <a href='http://archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>"; else echo " <a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>";
} }
if (count($requiredby) > 0) { if (count($requiredby) > 0) {
@ -150,7 +150,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
echo $url . "'>" . $darr[1] . $darr[3] . "</a>"; echo $url . "'>" . $darr[1] . $darr[3] . "</a>";
} }
else { else {
print "<a href='http://archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>"; print "<a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>";
} }
} }