You are here

function coder_admin_settings in Coder 6.2

Same name and namespace in other branches
  1. 5.2 coder.module \coder_admin_settings()
  2. 5 coder.module \coder_admin_settings()
  3. 6 coder.module \coder_admin_settings()

Implementation of settings page for Drupal 5.

1 string reference to 'coder_admin_settings'
coder_menu in ./coder.module
Implementation of hook_menu().

File

./coder.module, line 540

Code

function coder_admin_settings() {
  $settings = _coder_get_default_settings();
  $form = _coder_settings_form($settings, $system, $files);
  $form['help'] = array(
    '#type' => 'markup',
    '#value' => t('After setting these defaults, use <a href="@url">coder</a> to perform code reviews.', array(
      '@url' => url('coder'),
    )),
    '#weight' => -1,
  );
  $form['#submit'][] = 'coder_settings_form_submit';
  return system_settings_form($form);
}