'; html_print_input_hidden('update_config', 1); $table = new stdClass(); $table->width = '100%'; $table->class = 'databox filters filter-table-adv'; $table->size[0] = '50%'; $table->size[1] = '50%'; $url_update_manager = update_manager_get_url(); $table->data[0][0] = html_print_label_input_block( __('Warp Update URL'), html_print_input_text( 'url_update_manager', $url_update_manager, __('URL update manager'), 80, 255, true, true ) ); $table->data[0][1] = html_print_label_input_block( __('Use secured Warp Update'), html_print_input( [ 'type' => 'switch', 'name' => 'secure_update_manager', 'value' => ($secure_update_manager ?? 1), ] ) ); $table->data[1][0] = html_print_label_input_block( __('Proxy server'), html_print_input_text( 'update_manager_proxy_server', $update_manager_proxy_server, __('Proxy server'), 80, 60, true ) ); $table->data[1][1] = html_print_label_input_block( __('Proxy port'), html_print_input_text( 'update_manager_proxy_port', $update_manager_proxy_port, __('Proxy port'), 80, 60, true ) ); $table->data[2][0] = html_print_label_input_block( __('Proxy user'), html_print_input_text( 'update_manager_proxy_user', $update_manager_proxy_user, __('Proxy user'), 80, 60, true ) ); $table->data[2][1] = html_print_label_input_block( __('Proxy password'), html_print_input_password( 'update_manager_proxy_password', $update_manager_proxy_password, __('Proxy password'), 80, 60, true ) ); $table->data[3][0] = html_print_label_input_block( __('Allow no-consecutive patches'), html_print_switch( [ 'name' => 'allow_offline_patches', 'value' => $allow_offline_patches, 'return' => true, ] ) ); $table->data[3][1] = html_print_label_input_block( __('Limit to LTS updates'), html_print_switch( [ 'name' => 'lts_updates', 'value' => $lts_updates, 'return' => true, ] ) ); $table->data[4][0] = html_print_label_input_block( __('Registration ID'), ''.($config['pandora_uid'] ?? __('Not registred yet')).'' ); if (update_manager_verify_registration() === true && users_is_admin()) { $url = ''.__('Unregister').''; $table->data[4][1] = html_print_label_input_block( __('Cancel registration'), $url ); } if (license_free()) { $config['identification_reminder'] = isset($config['identification_reminder']) ? $config['identification_reminder'] : 1; $table->data[4][1] = html_print_label_input_block( __('%s community reminder', get_product_name()).ui_print_help_tip(__('Every 8 days, a message is displayed to admin users to remember to register this %s instance', get_product_name()), true), '
'.__('Yes').html_print_radio_button('realtimestats', 1, '', $config['realtimestats'], true).'   '.__('No').html_print_radio_button('realtimestats', 0, '', $config['realtimestats'], true).'
' ); } html_print_input_hidden('action_update_url_update_manager', 1); html_print_input_hidden('update_config', 1); html_print_table($table); html_print_action_buttons( html_print_submit_button( __('Update'), 'update_button', false, ['icon' => 'wand'], true ) ); echo '';