summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-06-06 11:04:41 +0000
committerErmal <eri@pfsense.org>2011-06-06 11:04:41 +0000
commit43f26ab1ea6595c0bc35bdb449202cbe976d5cb0 (patch)
treef49b07f1ffcea14d41ed7ef075d37fd2c313f1cb /usr
parente33be77c0e37a98721ad20d2381ba6e5b6fc1f57 (diff)
downloadpfsense-43f26ab1ea6595c0bc35bdb449202cbe976d5cb0.zip
pfsense-43f26ab1ea6595c0bc35bdb449202cbe976d5cb0.tar.gz
Ticket #1412. Provide even a link to this page through System->User Manager
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/fbegin.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index c342913..4e50d7b 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -89,7 +89,10 @@ if ($g['platform'] == "pfSense" or $g['platform'] == "nanobsd")
$system_menu[] = array("Setup Wizard", "/wizard.php?xml=setup_wizard.xml");
$system_menu[] = array("Routing", "/system_gateways.php");
$system_menu[] = array("Cert Manager", "/system_camanager.php");
-$system_menu[] = array("User Manager", "/system_usermanager.php");
+if (!isAllowedPage("system_usermanager.php*"))
+ $system_menu[] = array("User Manager", "/system_usermanager_passwordmg.php");
+else
+ $system_menu[] = array("User Manager", "/system_usermanager.php");
$system_menu = msort(array_merge($system_menu, return_ext_menu("System")),0);
// Interfaces
@@ -433,4 +436,4 @@ if(is_subsystem_dirty('packagelock')) {
print_info_box(gettext("Packages are currently being reinstalled in the background.<p>Do not make changes in the GUI until this is complete.") . "<p><img src='/themes/{$g['theme']}/images/icons/icon_fw-update.gif'>");
}
$pgtitle_output = true;
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud