| 1 |
<?php |
<?php |
| 2 |
// $Id: simplenews.admin.inc,v 1.57 2009/05/08 07:56:25 sutharsan Exp $ |
// $Id: simplenews.admin.inc,v 1.58 2009/07/30 19:56:47 sutharsan Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 961 |
|
|
| 962 |
// These email tokens are shared for all settings, so just define |
// These email tokens are shared for all settings, so just define |
| 963 |
// the list once to help ensure they stay in sync. |
// the list once to help ensure they stay in sync. |
|
$email_token_help = t('Available variables are:') .' !site, !uri, !uri_brief, !mailto, !date, !newsletter_name, !confirm_subscribe_url, !confirm_unsubscribe_url.'; |
|
| 964 |
|
|
| 965 |
$form['simplenews_subscription']['subscription_mail'] = array( |
$form['simplenews_subscription']['subscription_mail'] = array( |
| 966 |
'#type' => 'fieldset', |
'#type' => 'fieldset', |
| 975 |
'#collapsed' => TRUE, |
'#collapsed' => TRUE, |
| 976 |
); |
); |
| 977 |
$form['simplenews_subscription']['subscription_mail']['token_help']['help'] = array( |
$form['simplenews_subscription']['subscription_mail']['token_help']['help'] = array( |
| 978 |
'#value' => theme('token_help', 'all'), |
'#value' => theme('token_help', 'simplenews'), |
| 979 |
); |
); |
| 980 |
|
|
| 981 |
$form['simplenews_subscription']['subscription_mail']['simplenews_confirm_subscribe_subject'] = array( |
$form['simplenews_subscription']['subscription_mail']['simplenews_confirm_subscribe_subject'] = array( |