summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-07-10 15:39:02 -0400
committerPaul W. Frields <stickster@gmail.com>2010-07-10 15:39:02 -0400
commite59cea48b71aa52b6965d1e7a1aa1f1325088fde (patch)
treef80e23cdd5960f84b2c20278d3b2e10d2545cc31
parent2ca360a4565ec5ea96252246a907459d499255d5 (diff)
downloaddrupal-authfas-6x-e59cea48b71aa52b6965d1e7a1aa1f1325088fde.tar.gz
drupal-authfas-6x-e59cea48b71aa52b6965d1e7a1aa1f1325088fde.tar.xz
drupal-authfas-6x-e59cea48b71aa52b6965d1e7a1aa1f1325088fde.zip
Fix annoying indentations
-rw-r--r--authfas.module50
1 files changed, 25 insertions, 25 deletions
diff --git a/authfas.module b/authfas.module
index bea060a..b8421c7 100644
--- a/authfas.module
+++ b/authfas.module
@@ -62,20 +62,20 @@ function authfas_admin() {
// We have a required setting for the Authenticated User role.
$form['authfas_authuser_fasgroup'] = array(
- '#type' => 'textfield',
- '#title' => t('FAS group for authenticated users'),
- '#default_value' => variable_get('authfas_authuser_fasgroup', ''),
- '#size' => 50,
- '#maxlength' => 255,
- '#description' => t('To authenticate when this module is enabled, a user must be a member of this FAS group.'),
- '#required' => TRUE,
- );
+ '#type' => 'textfield',
+ '#title' => t('FAS group for authenticated users'),
+ '#default_value' => variable_get('authfas_authuser_fasgroup', ''),
+ '#size' => 50,
+ '#maxlength' => 255,
+ '#description' => t('To authenticate when this module is enabled, a user must be a member of this FAS group.'),
+ '#required' => TRUE,
+ );
$form['authfas_more_information'] = array(
- '#type' => 'item',
- '#title' => t('More information'),
- '#description' => t('Visit the <a href="@roles">Roles</a> settings page to set FAS group mappings for specific roles.', array('@roles' => url('admin/user/roles'))),
- );
+ '#type' => 'item',
+ '#title' => t('More information'),
+ '#description' => t('Visit the <a href="@roles">Roles</a> settings page to set FAS group mappings for specific roles.', array('@roles' => url('admin/user/roles'))),
+ );
return system_settings_form($form);
}
@@ -87,13 +87,13 @@ function authfas_menu() {
$items = array();
$items['admin/settings/authfas'] = array(
- '#title' => 'AuthFAS module settings',
- '#description' => 'Settings for authenticating to a FAS instance',
- '#page_callback' => 'drupal_get_form',
- '#page_arguments' => array('authfas_admin'),
- '#access_arguments' => array('access administration pages'),
- '#type' => MENU_NORMAL_ITEM,
- );
+ '#title' => 'AuthFAS module settings',
+ '#description' => 'Settings for authenticating to a FAS instance',
+ '#page_callback' => 'drupal_get_form',
+ '#page_arguments' => array('authfas_admin'),
+ '#access_arguments' => array('access administration pages'),
+ '#type' => MENU_NORMAL_ITEM,
+ );
return $items;
}
@@ -118,12 +118,12 @@ function authfas_form_alter(&$form, $form_state, $form_id) {
while (list($key, $val) = each($form)) {
if ($key == 'submit') {
$newform['fasgroup'] = array(
- '#type' => 'textfield',
- '#title' => 'FAS group mapping',
- '#description' => 'Enter the name for a FAS group that maps to this role.',
- '#size' => 30,
- '#maxlength' => 255,
- );
+ '#type' => 'textfield',
+ '#title' => 'FAS group mapping',
+ '#description' => 'Enter the name for a FAS group that maps to this role.',
+ '#size' => 30,
+ '#maxlength' => 255,
+ );
}
$newform[$key] = $val;
}