| 1 |
<?php |
<?php |
| 2 |
// $Id: donation.module,v 1.3 2009/03/14 21:00:35 kbahey Exp $ |
// $Id: donation.module,v 1.3.2.1 2009/07/18 21:55:21 kbahey Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 242 |
'#title' => t('Update Donations Thermometer Amount'), |
'#title' => t('Update Donations Thermometer Amount'), |
| 243 |
'#default_value' => variable_get(DONATION_UPDATE_DONATIONS_THERMOMETER, 0), |
'#default_value' => variable_get(DONATION_UPDATE_DONATIONS_THERMOMETER, 0), |
| 244 |
'#disabled' => !module_exists('donations_thermometer') ? TRUE : FALSE, |
'#disabled' => !module_exists('donations_thermometer') ? TRUE : FALSE, |
| 245 |
'#description' => t('When enabled the Donations Thermometer Amount is automatically updated with the total of donations.'), |
'#description' => t('When enabled the Donations Thermometer Amount is automatically updated with the total of donations. This requires the !mod module.', array('!mod' => '<a href="http://drupal.org/project/donations_thermometer">donations thermometer</a>')), |
| 246 |
); |
); |
| 247 |
|
|
| 248 |
return system_settings_form($form); |
return system_settings_form($form); |