/[drupal]/contributions/modules/ldap_lookup/ldap_lookup.admin
ViewVC logotype

Contents of /contributions/modules/ldap_lookup/ldap_lookup.admin

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Thu Oct 4 10:07:03 2007 UTC (2 years, 1 month ago) by kibble
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -0 lines
Version checks only
1 <?php
2 // $Id: ldap_lookup.admin,v 1.2 2007/09/26 09:57:27 kibble Exp $
3
4 function ldap_lookup_admin_settings() {
5
6 $form = array();
7
8 $form['ldap_lookup_default_email'] = array(
9 '#type' => 'textfield',
10 '#title' => t('Default Email Address'),
11 '#default_value' => variable_get('ldap_lookup_default_email', 'support@email.com'),
12 '#description' => t('Sets default email address to newly registered users if email is blank within their Active Directory record.')
13 );
14
15 $form['ldap_lookup_set_email'] = array(
16 '#type' => 'radios',
17 '#title' => t('User Set Emails'),
18 '#default_value' => variable_get('ldap_lookup_set_email', 0),
19 '#options' => array(1 => t('Enabled'), 0 => t('Disabled')),
20 '#description' => t('Allows users to set their own email addresses.')
21 );
22
23 $form['ldap_lookup_enable_ntlm'] = array(
24 '#type' => 'radios',
25 '#title' => t('Enable NTLM'),
26 '#default_value' => variable_get('ldap_lookup_enable_ntlm', 0),
27 '#options' => array(1 => t('Enabled'), 0 => t('Disabled'))
28 );
29
30 return system_settings_form($form);
31 }
32
33 ?>

  ViewVC Help
Powered by ViewVC 1.1.2