add extra meta token
This commit is contained in:
@@ -726,8 +726,24 @@ function booking_admin() {
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Study Group Summary Format'),
|
||||
'#default_value' => variable_get('booking_studygroup_summary_li_text',
|
||||
'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.',
|
||||
'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 token [booking:studygroup-summary], which is the study group summary in emails. ' .
|
||||
'Note: Don\'t add the li tags, they will be added automatically.',
|
||||
'#size' => 150,
|
||||
'#maxlength' => 2000,
|
||||
);
|
||||
$form['meta-tokens']['booking_studygroup_leaderhelperpair_text'] = array (
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Leader/Helper Pair Format'),
|
||||
'#default_value' => variable_get('booking_studygroup_leaderhelperpair_text',
|
||||
'<b>[meta-booking:studygroup-role]</b> for <b>[meta-booking:studygroup-descrip]</b>. ' .
|
||||
'Your <b>[meta-booking:studygroup-otherrole]</b> is <b>[meta-booking:studygroup-othername]</b>. ' .
|
||||
'You can contact them on <b>[meta-booking:studygroup-otherphone]</b> or <b>[meta-booking:studygroup-otheremail]</b>.'
|
||||
),
|
||||
'#description' => 'List element definition (using tokens) for token [booking:leaderhelper-pair], which is the study group leader/helper pair information in emails. ' .
|
||||
'Note: Don\'t add the li tags, they will be added automatically.',
|
||||
'#size' => 150,
|
||||
'#maxlength' => 2000,
|
||||
);
|
||||
|
Reference in New Issue
Block a user