ManageMail.template.php 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Simple Machines Forum (SMF)
  4. *
  5. * @package SMF
  6. * @author Simple Machines
  7. * @copyright 2014 Simple Machines and individual contributors
  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, $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. }
  36. ?>