From ff8abf9b40dbf6b5ec83cf3030c4d6f2e3eeaa77 Mon Sep 17 00:00:00 2001 From: "marcos.alconada" Date: Tue, 14 May 2019 15:34:22 +0200 Subject: [PATCH] updated function for show and hide ehorus form Former-commit-id: 91c91ee7b1014dfa4d8f7719cb848ae4770199f5 --- pandora_console/godmode/setup/setup_ehorus.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/godmode/setup/setup_ehorus.php b/pandora_console/godmode/setup/setup_ehorus.php index d3463bde33..5492552ce1 100644 --- a/pandora_console/godmode/setup/setup_ehorus.php +++ b/pandora_console/godmode/setup/setup_ehorus.php @@ -52,9 +52,8 @@ $table_enable->style['name'] = 'font-weight: bold'; // Enable eHorus. $row = []; -$row['name'] = ('Enable eHorus'); +$row['name'] = __('Enable eHorus'); $row['control'] = html_print_checkbox_switch('ehorus_enabled', 1, $config['ehorus_enabled'], true); -$row['button'] = html_print_submit_button(('Update'), 'update_button', false, 'class="sub upd"', true); $table_enable->data['ehorus_enabled'] = $row; // Remote config table. @@ -153,10 +152,11 @@ echo ''; echo ''.__('eHorus API').''; html_print_input_hidden('update_config', 1); html_print_table($table_remote); - echo '
'; - html_print_submit_button(__('Update'), 'update_button', false, 'class="sub upd"'); - echo '
'; + echo ''; + echo ''; + echo '
'; + html_print_submit_button(__('Update'), 'update_button', false, 'class="sub upd"'); echo '
'; echo '';