ManageMail.template.php 859 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Simple Machines Forum (SMF)
  4. *
  5. * @package SMF
  6. * @author Simple Machines
  7. * @copyright 2012 Simple Machines
  8. * @license http://www.simplemachines.org/about/smf/license.php BSD
  9. *
  10. * @version 2.1 Alpha 1
  11. */
  12. function template_browse()
  13. {
  14. global $context, $settings, $options, $scripturl, $txt;
  15. echo '
  16. <div id="manage_mail">
  17. <div id="mailqueue_stats">
  18. <div class="cat_bar">
  19. <h3 class="catbg">', $txt['mailqueue_stats'], '</h3>
  20. </div>
  21. <div class="windowbg">
  22. <div class="content">
  23. <dl class="settings">
  24. <dt><strong>', $txt['mailqueue_size'], '</strong></dt>
  25. <dd>', $context['mail_queue_size'], '</dd>
  26. <dt><strong>', $txt['mailqueue_oldest'], '</strong></dt>
  27. <dd>', $context['oldest_mail'], '</dd>
  28. </dl>
  29. </div>
  30. </div>
  31. </div>';
  32. template_show_list('mail_queue');
  33. echo '
  34. </div>';
  35. }