diff --git a/booking.admin.inc b/booking.admin.inc index 2153027..af8d5da 100644 --- a/booking.admin.inc +++ b/booking.admin.inc @@ -726,11 +726,27 @@ function booking_admin() { '#type' => 'textfield', '#title' => t('Study Group Summary Format'), '#default_value' => variable_get('booking_studygroup_summary_li_text', - 'You are a [meta-booking:studygroup-role] for group [meta-booking:studygroup-descrip], which will occur on [meta-booking:studygroup-weekday].
[meta-booking:studygroup-explan]'), - '#description' => 'List element definition (using tokens) for study group summary in emails.', + 'You are a [meta-booking:studygroup-role] for group [meta-booking:studygroup-descrip], which will occur on [meta-booking:studygroup-weekday].' . + '
[meta-booking:studygroup-explan]' + ), + '#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', + '[meta-booking:studygroup-role] for [meta-booking:studygroup-descrip]. ' . + 'Your [meta-booking:studygroup-otherrole] is [meta-booking:studygroup-othername]. ' . + 'You can contact them on [meta-booking:studygroup-otherphone] or [meta-booking:studygroup-otheremail].' + ), + '#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, + ); //return system_settings_form($form); //make sure we update our custom sql view every time we change something on the admin page