From a27441d614ba2de6a4f968251c88b326234333a5 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 7 Jul 2014 10:32:45 +0000 Subject: [PATCH] 2014-07-07 Miguel de Dios * godmode/setup/license.php: fixed the white screen. INCIDENT: #996 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/setup/license.php | 15 +++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 138dd51005..570e158637 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2014-07-07 Miguel de Dios + + * godmode/setup/license.php: fixed the white screen. + + INCIDENT: #996 + 2014-07-07 Miguel de Dios * operation/agentes/alerts_status.php: fixed the pagination with diff --git a/pandora_console/godmode/setup/license.php b/pandora_console/godmode/setup/license.php index a92c63acc1..09f23892a3 100644 --- a/pandora_console/godmode/setup/license.php +++ b/pandora_console/godmode/setup/license.php @@ -47,7 +47,8 @@ foreach ($rows as $row) { } echo ''; echo '
'; @@ -71,11 +72,13 @@ $table->data[4][0] = ''.__('License Mode').''; $table->data[4][1] = html_print_input_text('expires', $license['license_mode'], '', 10, 255, true, true); html_print_table ($table); -echo '
'; -html_print_input_hidden ('update_settings', 1); -html_print_submit_button (__('Validate'), 'update_button', false, 'class="sub upd"'); -html_print_button(__('Request new license'), '', false, 'generate_request_code()', 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub next"'); -echo '
'; +if (enterprise_installed()) { + echo '
'; + html_print_input_hidden ('update_settings', 1); + html_print_submit_button (__('Validate'), 'update_button', false, 'class="sub upd"'); + html_print_button(__('Request new license'), '', false, 'generate_request_code()', 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub next"'); + echo '
'; +} echo '
'; echo '