Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=45d4a66c427544c13330c750a1643d719721bdf1

commit 45d4a66c427544c13330c750a1643d719721bdf1
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Sep 8 20:40:30 2010 +0200

* fixing forums and wiki urls forpackage search

diff --git a/frugalware/packages.php b/frugalware/packages.php
index ac9865f..2a38b00 100644
--- a/frugalware/packages.php
+++ b/frugalware/packages.php
@@ -469,8 +469,8 @@ function pkg_from_id($id)
$content .= "<td><a href=\"/download/frugalware-" . $arr['fwver'] . 
"/frugalware-" . $arr['arch'] . "/" . $arr['pkgname'] . "-" . $arr['pkgver'] . 
"-" . $arr['arch'] . ".fpm\">" . $arr['pkgname'] . "-" . $arr['pkgver'] . "-" . 
$arr['arch'] . ".fpm</a></td></tr>";
else
$content .= "<td><a href=\"/download/frugalware-" . $arr['fwver'] . "/source/" 
. $parent['group']."/".$parent['pkgname']. 
"/FrugalBuild\">FrugalBuild</a></td></tr>";
-               $content .= "<tr><td>" . gettext("Forums:") . "</td><td><a 
href=\"http://forums.frugalware.org/?t=search&amp;srch=".$arr['pkgname']."\">".gettext("Related
 posts")."</a></td></tr>\n";
-               $content .= "<tr><td>" . gettext("Wiki:") . "</td><td><a 
href=\"http://wiki.frugalware.org/Special:Search?search=".$arr['pkgname']."\">".gettext("Related
 pages")."</a></td></tr>\n";
+               $content .= "<tr><td>" . gettext("Forums:") . "</td><td><a 
href=\"http://forums.frugalware.org/search.php?keywords=".$arr['pkgname']."\">".gettext("Related
 posts")."</a></td></tr>\n";
+               $content .= "<tr><td>" . gettext("Wiki:") . "</td><td><a 
href=\"http://wiki.frugalware.org/index.php/Special:Search?search=".$arr['pkgname']."\">".gettext("Related
 pages")."</a></td></tr>\n";
$content .= "<tr><td>" . gettext("Bug Tracking System:") . "</td><td><a 
href=\"http://bugs.frugalware.org/?string=".$arr['pkgname']."\">" . 
gettext("Related open bugs") . "</a></td></tr>\n";
$content .= "<tr><td>" . gettext("Syndicate:") . "</td><td><a 
href=\"/rss/packages/".($arr['fwver'] == "current" ? $arr['fwver'] : 
"stable")."/".$arr['arch']."/".$arr['pkgname']."\">" . gettext("RSS") . 
"</a></td></tr>\n";
if ($arr['sha1sum'] != '') $content .= "<tr><td>" . gettext("SHA1 Sum:") . 
"</td><td>".$arr['sha1sum']."</td></tr>\n";
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to