minor tweaks
This commit is contained in:
@@ -726,10 +726,10 @@ function booking_admin() {
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Study Group Summary Format'),
|
||||
'#default_value' => variable_get('booking_studygroup_summary_li_text',
|
||||
'<b>[meta-booking:studygroup-role]</b> for group <b>[meta-booking:studygroup-descrip]</b>, which will occur on <b>[meta-booking:studygroup-weekday]</b>. <b>[meta-booking:studygroup-explan]</b>'),
|
||||
'You are a <b>[meta-booking:studygroup-role]</b> for group <b>[meta-booking:studygroup-descrip]</b>, which will occur on [meta-booking:studygroup-weekday].<br /><b>[meta-booking:studygroup-explan]</b>'),
|
||||
'#description' => 'List element definition (using tokens) for study group summary in emails.',
|
||||
'#size' => 150,
|
||||
'#maxlength' => 2000
|
||||
'#maxlength' => 2000,
|
||||
);
|
||||
|
||||
//return system_settings_form($form);
|
||||
|
@@ -1012,7 +1012,7 @@ function booking_mail_alter(&$message) {
|
||||
foreach($headers as $key => $value) {
|
||||
$message['headers'][$key] = $value;
|
||||
}
|
||||
watchdog('booking_debug', "<pre>Mail alter hook:\n@info</pre>", array('@info' => print_r( $message, true)));
|
||||
//watchdog('booking_debug', "<pre>Mail alter hook:\n@info</pre>", array('@info' => print_r( $message, true)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -510,7 +510,7 @@ function booking_token_info() {
|
||||
'name' => t('Travel form Link'),
|
||||
'description' => t('Link to the person\'s travel form.')
|
||||
);
|
||||
|
||||
/*
|
||||
$info['types']['meta-booking'] = array(
|
||||
'name' => t('Meta Booking Tokens'),
|
||||
'description' => t('Sub-tokens for the booking module that are used by other booking module tokens. They will only work in a very limited context.'),
|
||||
@@ -532,6 +532,7 @@ function booking_token_info() {
|
||||
'name' => t('Study Group Role'),
|
||||
'description' => t('Used in the studygroup-summary token.')
|
||||
);
|
||||
*/
|
||||
return $info;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user