comparison modules/profile/profile.admin.inc @ 13:8b6c45761e01 6.6

Drupal 6.6
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:33 +0100
parents c1f4ac30525a
children
comparison
equal deleted inserted replaced
12:4ca9f57cc4d4 13:8b6c45761e01
1 <?php 1 <?php
2 // $Id: profile.admin.inc,v 1.8 2008/01/21 15:20:43 goba Exp $ 2 // $Id: profile.admin.inc,v 1.8.2.1 2008/10/16 12:43:08 goba Exp $
3 3
4 /** 4 /**
5 * @file 5 * @file
6 * Administrative page callbacks for the profile module. 6 * Administrative page callbacks for the profile module.
7 */ 7 */
267 '#description' => t('The weights define the order in which the form fields are shown. Lighter fields "float up" towards the top of the category.'), 267 '#description' => t('The weights define the order in which the form fields are shown. Lighter fields "float up" towards the top of the category.'),
268 ); 268 );
269 $form['fields']['autocomplete'] = array('#type' => 'checkbox', 269 $form['fields']['autocomplete'] = array('#type' => 'checkbox',
270 '#title' => t('Form will auto-complete while user is typing.'), 270 '#title' => t('Form will auto-complete while user is typing.'),
271 '#default_value' => $edit['autocomplete'], 271 '#default_value' => $edit['autocomplete'],
272 '#description' => t('For security, auto-complete will be disabled if the user does not have access to user profiles.'),
272 ); 273 );
273 $form['fields']['required'] = array('#type' => 'checkbox', 274 $form['fields']['required'] = array('#type' => 'checkbox',
274 '#title' => t('The user must enter a value.'), 275 '#title' => t('The user must enter a value.'),
275 '#default_value' => $edit['required'], 276 '#default_value' => $edit['required'],
276 ); 277 );