diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 15097a6..8fbba16 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -114,7 +114,9 @@ include("head.inc"); <td width="25%" class="listhdrr"><?=gettext("Category"); ?></td> <!-- <td width="10%" class="listhdrr">Size</td> --> <td width="5%" class="listhdrr"><?=gettext("Status"); ?></td> + <?php if (! $g['disablepackageinfo']): ?> <td width="5%" class="listhdrr"><?=gettext("Package Info"); ?></td> + <?php endif; ?> <td width="50%" class="listhdr"><?=gettext("Description"); ?></td> </tr> <?php @@ -193,6 +195,7 @@ include("head.inc"); <br/> <?=$index['maximum_version'] ?> </td> + <?php if (! $g['disablepackageinfo']): ?> <td class="listr"> <?php if($index['pkginfolink']) { @@ -203,6 +206,7 @@ include("head.inc"); } ?> </td> + <?php endif; ?> <td class="listbg" class="listbg" style="overflow: hidden;"> <?= $index['descr'] ?> </td> 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> |