$value) { um_db_update_setting ($key, $value); } echo "

".__('Update manager settings updated')."

"; } $settings = um_db_load_settings (); echo '

'.__('Extensions'). " » ". __('Update manager').' - '. __('Settings').'

'; echo '
'; $table->width = '95%'; $table->data = array (); $table->data[0][0] = ''.__('Customer key').''; $table->data[0][1] = print_input_text ('keys[customer_key]', $settings->customer_key, '', 40, 255, true); $table->data[1][0] = ''.__('Update server host').''; $table->data[1][1] = print_input_text ('keys[update_server_host]', $settings->update_server_host, '', 20, 255, true); $table->data[2][0] = ''.__('Update server path').''; $table->data[2][1] = print_input_text ('keys[update_server_path]', $settings->update_server_path, '', 40, 255, true); $table->data[3][0] = ''.__('Update server port').''; $table->data[3][1] = print_input_text ('keys[update_server_port]', $settings->update_server_port, '', 5, 5, true); $table->data[4][0] = ''.__('Binary input path').''; $table->data[4][1] = print_input_text ('keys[updating_binary_path]', $settings->updating_binary_path, '', 40, 255, true); $table->data[5][0] = ''.__('Keygen path').''; $table->data[5][1] = print_input_text ('keys[keygen_path]', $settings->keygen_path, '', 40, 255, true); $table->data[6][0] = ''.__('Proxy server').''; $table->data[6][1] = print_input_text ('keys[proxy]', $settings->proxy, '', 40, 255, true); $table->data[7][0] = ''.__('Proxy port').''; $table->data[7][1] = print_input_text ('keys[proxy_port]', $settings->proxy_port, '', 40, 255, true); $table->data[8][0] = ''.__('Proxy user').''; $table->data[8][1] = print_input_text ('keys[proxy_user]', $settings->proxy_user, '', 40, 255, true); $table->data[9][0] = ''.__('Proxy password').''; $table->data[9][1] = print_input_password ('keys[proxy_pass]', $settings->proxy_pass, '', 40, 255, true); print_table ($table); echo '
'; print_input_hidden ('update_settings', 1); print_submit_button (__('Update'), 'update_button', false, 'class="sub upd"'); echo '
'; echo '
'; ?>