', $txt['admin_news_newsletter_' . $context['newsletter_sent']], ''; echo '

', $txt['admin_newsletters'], '

', $txt['admin_news_select_recipients'], '
', $txt['admin_news_select_group'], ':
', $txt['admin_news_select_group_desc'], '
'; foreach ($context['groups'] as $group) echo ' (', $group['member_count'], ')
'; echo '
', $txt['admin_news_select_email'], ':
', $txt['admin_news_select_email_desc'], '
', $txt['admin_news_select_members'], ':
', $txt['admin_news_select_members_desc'], '

', $txt['admin_news_select_excluded_groups'], ':
', $txt['admin_news_select_excluded_groups_desc'], '
'; foreach ($context['groups'] as $group) echo ' (', $group['member_count'], ')
'; echo '

', $txt['admin_news_select_excluded_members'], ':
', $txt['admin_news_select_excluded_members_desc'], '


', $txt['email_force'], '

'; // This is some javascript for the simple/advanced toggling and member suggest echo ' '; } /** * The form for composing a newsletter */ function template_email_members_compose() { global $context, $txt, $scripturl; echo '
'; echo '

', $txt['admin_newsletters'], '

', sprintf($txt['email_variables'], $scripturl), '
', $txt['subject'], '
'; // What about smileys? if (!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) echo '
'; // Show BBC buttons, smileys and textbox. echo ' ', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'); echo ' ', template_control_richedit_buttons($context['post_box_name']), '
'; foreach ($context['recipients'] as $key => $values) echo ' '; echo ' '; echo '
'; } /** * The page shown while the newsletter is being sent */ function template_email_members_send() { global $context, $txt, $scripturl; echo '

', $txt['admin_newsletters'], '

', $context['percentage_done'], '% ', $txt['email_done'], '

'; // All the things we must remember! foreach ($context['recipients'] as $key => $values) echo ' '; echo '
'; } /** * The settings page. */ function template_news_lists() { global $context, $txt; if (!empty($context['saved_successful'])) echo '
', $txt['settings_saved'], '
'; template_show_list('news_lists'); } ?>