'; // Loop through all the current news items so you can edit/remove them. foreach ($context['admin_current_news'] as $admin_news) echo ' '; // This provides an empty text box to add a news item to the site. echo '
', $txt['admin_edit_news'], ' ', $txt['preview'], '
', $admin_news['parsed'], '

'; } function template_email_members() { global $context, $settings, $options, $txt, $scripturl; 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 '
'; 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 ' '; } function template_email_members_compose() { global $context, $settings, $options, $txt, $scripturl; echo '
'; echo '

', $txt['help'], ' ', $txt['admin_newsletters'], '

', $txt['email_variables'], '
', $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 '

', isBrowser('is_firefox') ? $txt['shortcuts_firefox'] : $txt['shortcuts'], '

', template_control_richedit_buttons($context['post_box_name']), '

'; foreach ($context['recipients'] as $key => $values) echo ' '; echo ' '; echo '

'; } function template_email_members_send() { global $context, $settings, $options, $txt, $scripturl; echo '

', $txt['help'], ' ', $txt['admin_newsletters'], '

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

'; // All the things we must remember! foreach ($context['recipients'] as $key => $values) echo ' '; echo '

'; } ?>