diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/pkg_mgr.php | 6 | ||||
-rw-r--r-- | src/usr/local/www/pkg_mgr_installed.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/pkg_mgr.php b/src/usr/local/www/pkg_mgr.php index 2be162a..439af71 100644 --- a/src/usr/local/www/pkg_mgr.php +++ b/src/usr/local/www/pkg_mgr.php @@ -133,13 +133,13 @@ function get_pkg_table() { $pkgtbl .= $index['desc']; if (is_array($index['deps']) && count($index['deps'])) { - $pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<ul>\n"; + $pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<br/>\n"; foreach ($index['deps'] as $pdep) { - $pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '" class="fa fa-globe"><small> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</small></a> ' . "\n"; + $pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '"> <i class="fa fa-paperclip"></i> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</a> ' . "\n"; } - $pkgtbl .= '</ul>' . "\n"; + $pkgtbl .= "\n"; } $pkgtbl .= '</td>' . "\n"; diff --git a/src/usr/local/www/pkg_mgr_installed.php b/src/usr/local/www/pkg_mgr_installed.php index dfef675..483a55e 100644 --- a/src/usr/local/www/pkg_mgr_installed.php +++ b/src/usr/local/www/pkg_mgr_installed.php @@ -177,10 +177,10 @@ if (empty($installed_packages)):?> <td> <?=$pkg['desc']?> <?php if (is_array($pkg['deps']) && count($pkg['deps'])):?> - <br /><br /><?= gettext("Package Dependencies")?>:<ul> + <br /><br /><?= gettext("Package Dependencies")?>:<br/> <?php foreach ($pkg['deps'] as $pdep):?> - <a target="_blank" href="https://freshports.org/<?=$pdep['origin']?>" class="fa fa-globe"><small> <?= basename($pdep['origin']) . '-' . $pdep['version']?></small></a>  - <?php endforeach;?></ul> + <a target="_blank" href="https://freshports.org/<?=$pdep['origin']?>"> <i class="fa fa-paperclip"></i> <?= basename($pdep['origin']) . '-' . $pdep['version']?></small></a>  + <?php endforeach;?> <?php endif;?> </td> <td> |