diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-11-17 23:26:30 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-11-17 23:26:30 +0000 |
commit | eac7d67cc5806acd54bbb040c27d744b96e4de5b (patch) | |
tree | 32d723cc90c54bc9cc9ef4e1e61a5b8e123d403a /usr/local/www/pkg_mgr.php | |
parent | 565a7ebae4692e4536c35e3375e816d7974eae7c (diff) | |
download | pfsense-eac7d67cc5806acd54bbb040c27d744b96e4de5b.zip pfsense-eac7d67cc5806acd54bbb040c27d744b96e4de5b.tar.gz |
replace the "Support" column with the static forum link with <pkginfolink>
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 911437a..d27d1cd 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -38,7 +38,7 @@ require_once("guiconfig.inc"); require_once("pkg-utils.inc"); -$pkg_info = get_pkg_info('all', array('name', 'category', 'website', 'version', 'status', 'descr', 'maintainer', 'required_version', 'maximum_version')); +$pkg_info = get_pkg_info('all', array('name', 'category', 'website', 'version', 'status', 'descr', 'maintainer', 'required_version', 'maximum_version', 'pkginfolink')); if($pkg_info) { $fout = fopen("{$g['tmp_path']}/pkg_info.cache", "w"); fwrite($fout, serialize($pkg_info)); @@ -98,7 +98,7 @@ include("head.inc"); <td width="25%" class="listhdrr">Category</td> <!-- <td width="10%" class="listhdrr">Size</td> --> <td width="5%" class="listhdrr">Status</td> - <td width="5%" class="listhdrr">Support</td> + <td width="5%" class="listhdrr">Package Info</td> <td width="50%" class="listhdr">Description</td> </tr> <?php @@ -179,7 +179,14 @@ include("head.inc"); <?= $index['maximum_version']; ?> </td> <td class="listr"> - <a href='http://forum.pfsense.org/index.php/board,15.0.html'>pfSense forums</a> + <?php + if($index['pkginfolink']) { + $pkginfolink = $index['pkginfolink']; + echo "<a href='$pkginfolink'>Package Info</a>"; + } else { + echo "No info, check the <a href='http://forum.pfsense.org/index.php/board,15.0.html'>forum</a>"; + } + ?> </td> <td class="listbg" class="listbg" style="overflow: hidden;"> <?= $index['descr'] ?> |