From d7218f770cd25418bfb09e42df71f47ae9b92849 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Wed, 9 Sep 2015 14:35:57 -0400 Subject: Fixed #5007 Notices modal fixed in head.inc --- src/usr/local/www/head.inc | 244 +++++++++++++++++++++++---------------------- 1 file changed, 127 insertions(+), 117 deletions(-) (limited to 'src/usr/local/www/head.inc') diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 7dcb413..d6ba383 100755 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -1,8 +1,59 @@ 1) { $ifentries = get_configured_interface_with_descr(); foreach ($ifentries as $ent => $entdesc) { if (is_array($config['interfaces'][$ent]['wireless']) && - preg_match($g['wireless_regex'], $config['interfaces'][$ent]['if'])) { + preg_match($g['wireless_regex'], $config['interfaces'][$ent]['if'])) { $wifdescrs[$ent] = $entdesc; } } @@ -293,7 +344,7 @@ if (!$g['disablehelpmenu']) { if ($g['product_name'] == "pfSense") { $help_menu[] = array(gettext("Bug Database"), "https://www.pfsense.org/j.php?jumpto=redmine"); } - + $help_menu[] = array(gettext("User Forum"), "https://www.pfsense.org/j.php?jumpto=forum"); $help_menu[] = array(gettext("Documentation"), "https://www.pfsense.org/j.php?jumpto=doc"); $help_menu[] = array(gettext("Developers Wiki"), "https://www.pfsense.org/j.php?jumpto=devwiki"); @@ -319,15 +370,15 @@ if (!$g['disablehelpmenu']) { - - - - - - +
@@ -508,7 +458,7 @@ if (is_subsystem_dirty('packagelock') || file_exists('/conf/needs_package_sync' $pgtitle_output = true; -/* If this page is being remotely managed then do not allow the loading of the contents. */ +/* If this page is being remotely managed then do not allow the loading of the contents. */ if ($config['remote_managed_pages']['item']) { foreach ($config['remote_managed_pages']['item'] as $rmp) { if ($rmp == $_SERVER['SCRIPT_NAME']) { @@ -518,3 +468,63 @@ if ($config['remote_managed_pages']['item']) { } } } + +// Modal notices window +// The notices modal needs to be outside of hte page display div or things get messy +if (are_notices_pending()):?> + + + +