| 1 |
<?php |
<?php |
| 2 |
// $Id: autotimezone.module,v 1.14 2007/05/31 17:03:21 lukelast Exp $ |
// $Id: autotimezone.module,v 1.11.2.3 2007/05/31 17:03:59 lukelast Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 60 |
* array of form content. |
* array of form content. |
| 61 |
*/ |
*/ |
| 62 |
function autotimezone_admin_settings() { |
function autotimezone_admin_settings() { |
| 63 |
$form['option'] = array('#value' => t('You may want to disable configurable time zones !here because this module makes that ability unnecessary.', array('!here' => l('here', 'admin/settings/date-time')))); |
variable_set('configurable_timezones', 1); //This variable must be true for the format_date function to use the individual users time zones. |
| 64 |
$form['guest'] = array('#type' => 'fieldset', '#title' => t('Guest user options'), '#description' => t('If you do not know why you might need this feature keep it turned off.')); |
$form['guest'] = array('#type' => 'fieldset', '#title' => t('Guest user options'), '#description' => t('If you do not know why you might need this feature keep it turned off.')); |
| 65 |
$form['guest']['autotimezone_update_guest'] = array( |
$form['guest']['autotimezone_update_guest'] = array( |
| 66 |
'#type' => 'radios', |
'#type' => 'radios', |