';
Chris@76:
Chris@76: // This requires a lot of javascript...
Chris@76: //!!! Put this in it's own file!!
Chris@76: echo '
Chris@76:
Chris@76:
Chris@76:
Chris@76: ';
Chris@76:
Chris@76: }
Chris@76:
Chris@76: // Show all the group requests the user can see.
Chris@76: function template_group_requests_block()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: echo '
Chris@76:
';
Chris@76: }
Chris@76:
Chris@76: // A block to show the current top reported posts.
Chris@76: function template_reported_posts_block()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: echo '
Chris@76:
';
Chris@76: }
Chris@76:
Chris@76: // Little section for making... notes.
Chris@76: function template_notes()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: echo '
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: function template_reported_posts()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: echo '
Chris@76:
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: // Show a list of all the unapproved posts
Chris@76: function template_unapproved_posts()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: // Just a big table of it all really...
Chris@76: echo '
Chris@76:
Chris@76:
Chris@76:
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: // List all attachments awaiting approval.
Chris@76: function template_unapproved_attachments()
Chris@76: {
Chris@76: global $settings, $options, $context, $txt, $scripturl;
Chris@76:
Chris@76: // Show all the attachments still oustanding.
Chris@76: echo '
Chris@76:
Chris@76:
Chris@76:
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: function template_viewmodreport()
Chris@76: {
Chris@76: global $context, $scripturl, $txt;
Chris@76:
Chris@76: echo '
Chris@76:
Chris@76:
Chris@76:
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: // Callback function for showing a watched users post in the table.
Chris@76: function template_user_watch_post_callback($post)
Chris@76: {
Chris@76: global $scripturl, $context, $txt, $delete_button;
Chris@76:
Chris@76: // We'll have a delete please bob.
Chris@76: if (empty($delete_button))
Chris@76: $delete_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"');
Chris@76:
Chris@76: $output_html = '
Chris@76:
Chris@76: ';
Chris@76: }
Chris@76:
Chris@76: // Show a notice sent to a user.
Chris@76: function template_show_notice()
Chris@76: {
Chris@76: global $txt, $settings, $options, $context;
Chris@76:
Chris@76: // We do all the HTML for this one!
Chris@76: echo '
Chris@76:
Chris@76:
Chris@76:
Chris@76: ', $context['page_title'], '
Chris@76:
Chris@76:
Chris@76:
Chris@76: