'; // 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; // This is some javascript for the simple/advanced toggling stuff. echo ' '; 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 '



'; // Make the javascript stuff visible. echo ' '; } function template_email_members_compose() { global $context, $settings, $options, $txt, $scripturl; echo '

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

', $txt['email_variables'], '

'; foreach ($context['recipients'] as $key => $values) 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 '

'; } ?>