From 39169a8e91d5cc5e85b293a841eb38d513cb684b Mon Sep 17 00:00:00 2001 From: enriquecd Date: Thu, 3 Nov 2016 16:51:18 +0100 Subject: [PATCH] Change no access error page - #91 --- pandora_console/general/alert_enterprise.php | 5 + pandora_console/general/noaccess.php | 162 +++++++++++++++++-- pandora_console/include/ajax/module.php | 3 + pandora_console/operation/system_alert.php | 7 +- 4 files changed, 160 insertions(+), 17 deletions(-) diff --git a/pandora_console/general/alert_enterprise.php b/pandora_console/general/alert_enterprise.php index bf80619169..b308a7297d 100644 --- a/pandora_console/general/alert_enterprise.php +++ b/pandora_console/general/alert_enterprise.php @@ -8,6 +8,9 @@ You can of course remove the warnings, that's why we include the source and do n */ +if(check_login()){ + + if(!enterprise_installed()){ $open=true; } @@ -176,6 +179,8 @@ echo "
"; } +} + ?> \ No newline at end of file diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index deb8ffed9c..5bb214866f 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1,5 +1,7 @@ diff --git a/pandora_console/operation/system_alert.php b/pandora_console/operation/system_alert.php index b44e95a15e..85bbdf26c4 100644 --- a/pandora_console/operation/system_alert.php +++ b/pandora_console/operation/system_alert.php @@ -1,6 +1,7 @@ @@ -15,12 +16,16 @@ else{ echo " -".get_pandora_error_for_header()." +"; + + +echo get_pandora_error_for_header()."
OK
"; +} ?>