From 72c1c9c7365987ecd531d4413794b296ff948d2f Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 26 May 2016 17:57:26 +0200 Subject: [PATCH] Solved problem with return button --- pandora_console/general/login_identification_wizard.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/general/login_identification_wizard.php b/pandora_console/general/login_identification_wizard.php index b08c9a9990..30b801c9fa 100644 --- a/pandora_console/general/login_identification_wizard.php +++ b/pandora_console/general/login_identification_wizard.php @@ -102,9 +102,8 @@ $display_forced = ($wizard_data['force_newsletter'] != -1) || ($wizard_data['for // Return if it is fully completed if ((!$display_register) && (!$display_newsletter)) return; -html_debug ($wizard_data, true); -$return_button = get_parameter ('return_button', 0) == 1; +$return_button = get_parameter ('return_button', 0); $email = db_get_value ('email', 'tusuario', 'id_user', $config['id_user']); //Avoid to show default email @@ -131,7 +130,8 @@ echo '
'; html_print_submit_button("Finish", 'finish_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); echo '
'; - echo '
'; + $display_status_return = $return_button ? 'block' : 'none'; + echo '
'; html_print_submit_button("Return", 'return_dialog_button', false, 'class="ui-button-dialog ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok" style="width:100px;"'); echo '
'; echo '
';