ManageMail.template.php 950 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * Simple Machines Forum (SMF)
  4. *
  5. * @package SMF
  6. * @author Simple Machines
  7. * @copyright 2011 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 class="cat_bar">
  18. <h3 class="catbg">', $txt['mailqueue_stats'], '</h3>
  19. </div>
  20. <div class="windowbg">
  21. <span class="topslice"><span></span></span>
  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. <span class="botslice"><span></span></span>
  31. </div>
  32. <br class="clear" />';
  33. template_show_list('mail_queue');
  34. echo '
  35. </div>
  36. <br class="clear" />';
  37. }
  38. ?>