From e59cea48b71aa52b6965d1e7a1aa1f1325088fde Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sat, 10 Jul 2010 15:39:02 -0400 Subject: Fix annoying indentations --- authfas.module | 50 +++++++++++++++++++++++++------------------------- 1 file 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 Roles 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 Roles 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; } -- cgit