ManageMail.template.php 919 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.0
  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. template_show_list('mail_queue');
  33. echo '
  34. </div>
  35. <br class="clear" />';
  36. }
  37. ?>