diff options
author | Ryan Wagoner <rsw686@pfsense.org> | 2006-12-15 15:27:14 +0000 |
---|---|---|
committer | Ryan Wagoner <rsw686@pfsense.org> | 2006-12-15 15:27:14 +0000 |
commit | 40bc7cb32abaa8bd04862658cce48a0453704ca7 (patch) | |
tree | d9d8d485d8135f4cfd5ec429bf95a8671cc6e219 /packages/miniupnpd/status_upnp.php | |
parent | a0b03074e579aa7c2033a50af331acfc7672869a (diff) | |
download | pfsense-packages-40bc7cb32abaa8bd04862658cce48a0453704ca7.tar.gz pfsense-packages-40bc7cb32abaa8bd04862658cce48a0453704ca7.tar.bz2 pfsense-packages-40bc7cb32abaa8bd04862658cce48a0453704ca7.zip |
add enable checkbox, format menu name to MiniUPnP
Diffstat (limited to 'packages/miniupnpd/status_upnp.php')
-rw-r--r-- | packages/miniupnpd/status_upnp.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/miniupnpd/status_upnp.php b/packages/miniupnpd/status_upnp.php index 35aae38f..1e1a961b 100644 --- a/packages/miniupnpd/status_upnp.php +++ b/packages/miniupnpd/status_upnp.php @@ -32,7 +32,8 @@ require("guiconfig.inc"); /* Defaults to this page but if no settings are present, redirect to setup page */ -if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array']) +if(!$config['installedpackages']['miniupnpd']['config'][0]['iface_array'] || + !$config['installedpackages']['miniupnpd']['config'][0]['enable']) Header("Location: /pkg_edit.php?xml=miniupnpd.xml&id=0"); if ($_POST) { @@ -65,8 +66,8 @@ include("head.inc"); <table width="100%" border="0" cellpadding="0" cellspacing="0"> <?php $tab_array = array(); - $tab_array[] = array(gettext("UPNP Status "), true, "/status_upnp.php"); - $tab_array[] = array(gettext("miniupnpd Settings "), false, "/pkg_edit.php?xml=miniupnpd.xml&id=0"); + $tab_array[] = array(gettext("UPnP Status "), true, "/status_upnp.php"); + $tab_array[] = array(gettext("MiniUPnP Settings "), false, "/pkg_edit.php?xml=miniupnpd.xml&id=0"); display_top_tabs($tab_array); ?> </table> |