'; html_print_input_hidden('update_config', 1); $table = new stdClass(); $table->width = '100%'; $table->class = 'databox filters'; $i = 0; $table->style[$i] = 'font-weight: bolder;width:250px'; $url_update_manager = update_manager_get_url(); $table->data[$i][0] = __('Warp Update URL'); $table->data[$i++][1] = html_print_input_text( 'url_update_manager', $url_update_manager, __('URL update manager'), 80, 255, true, true ); $table->data[$i][0] = __('Use secured Warp Update'); $table->data[$i++][1] = html_print_input( [ 'type' => 'switch', 'name' => 'secure_update_manager', 'value' => ($secure_update_manager ?? 1), ] ); $table->data[$i][0] = __('Proxy server'); $table->data[$i++][1] = html_print_input_text( 'update_manager_proxy_server', $update_manager_proxy_server, __('Proxy server'), 80, 60, true ); $table->data[$i][0] = __('Proxy port'); $table->data[$i++][1] = html_print_input_text( 'update_manager_proxy_port', $update_manager_proxy_port, __('Proxy port'), 80, 60, true ); $table->data[$i][0] = __('Proxy user'); $table->data[$i++][1] = html_print_input_text( 'update_manager_proxy_user', $update_manager_proxy_user, __('Proxy user'), 80, 60, true ); $table->data[$i][0] = __('Proxy password'); $table->data[$i++][1] = html_print_input_password( 'update_manager_proxy_password', $update_manager_proxy_password, __('Proxy password'), 80, 60, true ); $table->data[$i][0] = __('Allow no-consecutive patches'); $table->data[$i++][1] = html_print_switch( [ 'name' => 'allow_offline_patches', 'value' => $allow_offline_patches, 'return' => true, ] ); $table->data[$i][0] = __('Limit to LTS updates'); $table->data[$i++][1] = html_print_switch( [ 'name' => 'lts_updates', 'value' => $lts_updates, 'return' => true, ] ); $table->data[$i][0] = __('Registration ID'); $table->data[$i++][1] = ''.($config['pandora_uid'] ?? __('Not registred yet')).''; if (update_manager_verify_registration() === true && users_is_admin()) { $table->data[$i][0] = __('Cancel registration'); $table->data[$i][1] = ''.__('Unregister').''; } if (license_free()) { $config['identification_reminder'] = isset($config['identification_reminder']) ? $config['identification_reminder'] : 1; $table->data[$i][0] = __('%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); $table->data[$i][1] = __('Yes').' '.html_print_radio_button('identification_reminder', 1, '', $config['identification_reminder'], true).' '; $table->data[$i++][1] .= __('No').' '.html_print_radio_button('identification_reminder', 0, '', $config['identification_reminder'], true); } html_print_input_hidden('action_update_url_update_manager', 1); html_print_input_hidden('update_config', 1); html_print_table($table); echo '
'; echo '';