diff options
author | jim-p <jimp@pfsense.org> | 2012-06-07 12:14:16 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-07 12:14:16 -0400 |
commit | 364e4f74c3b89f95cd37523f59d32fd410f65fec (patch) | |
tree | 60e8a67f6fcde44a065c6e38d7e0475de02ad89e /usr/local/www/pkg_mgr_installed.php | |
parent | 0d9c5026ec3b604c80a925de6a37d11e33402c5c (diff) | |
download | pfsense-364e4f74c3b89f95cd37523f59d32fd410f65fec.zip pfsense-364e4f74c3b89f95cd37523f59d32fd410f65fec.tar.gz |
Provide a way to disable the pkg info link
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index 78a3362..f81b466 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -89,7 +89,9 @@ include("head.inc"); <tr> <td width="10%" class="listhdrr"><?=gettext("Package Name"); ?></td> <td width="20%" class="listhdrr"><?=gettext("Category"); ?></td> + <?php if (! $g['disablepackageinfo']): ?> <td width="10%" class="listhdrr"><?=gettext("Package Info"); ?></td> + <?php endif; ?> <td width="15%" class="listhdrr"><?=gettext("Package Version"); ?></td> <td width="45%" class="listhdr"><?=gettext("Description"); ?></td> </tr> @@ -143,6 +145,7 @@ include("head.inc"); <td class="listr"> <?=$pkg['category'];?> </td> + <?php if (! $g['disablepackageinfo']): ?> <td class="listr"> <?php if($currentvers[$pkg['name']]['pkginfolink']) { @@ -153,6 +156,7 @@ include("head.inc"); } ?> </td> + <?php endif; ?> <td class="<?=$tdclass;?>"> <?=$pkgver;?> </td> |