mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add FancyName xml field
This commit is contained in:
parent
8aca7e9bef
commit
77eee259f7
@ -126,7 +126,7 @@ if(!$pkg_config['packages']) {
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td class="listlr">
|
||||
<?= $pkg['name'] ?>
|
||||
<?= $pkg['fancyname'] ?>
|
||||
</td>
|
||||
<td class="listlr">
|
||||
<?= $pkg['category'] ?>
|
||||
|
||||
@ -340,8 +340,8 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
|
||||
}
|
||||
}
|
||||
// install menu item into the ext folder
|
||||
fwrite($fd_log, "Adding menu option to " . $package_conf['menu']['section'] . "/" . $config['name'] . "\n");
|
||||
$fd = fopen("/usr/local/www/ext/" . $package_conf['menu']['section'] . "/" . $package_conf['name'] , "w");
|
||||
fwrite($fd_log, "Adding menu option to " . $package_conf['menu']['section'] . "/" . $config['fancyname'] . "\n");
|
||||
$fd = fopen("/usr/local/www/ext/" . $package_conf['menu']['section'] . "/" . $package_conf['fancyname'] , "w");
|
||||
fwrite($fd, "/usr/local/www/pkg.php?xml=" . $package_conf['menu']['name'] . "\n");
|
||||
fclose($fd);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user