simpletestauto_admin_settings

Definition

simpletestauto_admin_settings()
simpletestauto.module, line 98

Description

Implementation of hook_settings

Code

<?php
function simpletestauto_admin_settings() {
  global $base_url;
  $form['simpletestauto_server_pwd'] = array(
    '#type' => 'password_confirm',
    '#title' => t('Automatic testing server password'),
    '#default_value' => variable_get('simpletestauto_server_pwd', ''),
    '#size' => 50,
    '#description' => t('Testing server password.'),
  );
  
  $form['simpletestauto_server_url'] = array(
    '#type' => 'textfield',
    '#title' => t('Automatic testing server url'),
    '#default_value' => variable_get('simpletestauto_server_url', $base_url.'/xmlrpc.php'),
    '#size' => 50,
    '#maxlength' => 255,
    '#description' => t('Url of the server that will handle request for automatic patch testing.'),
  );
 
  return system_settings_form($form);
}
?>