Mercurial > hg > vamp-website
diff forum/Themes/default/ManageMail.template.php @ 76:e3e11437ecea website
Add forum code
author | Chris Cannam |
---|---|
date | Sun, 07 Jul 2013 11:25:48 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/forum/Themes/default/ManageMail.template.php Sun Jul 07 11:25:48 2013 +0200 @@ -0,0 +1,42 @@ +<?php +/** + * Simple Machines Forum (SMF) + * + * @package SMF + * @author Simple Machines + * @copyright 2011 Simple Machines + * @license http://www.simplemachines.org/about/smf/license.php BSD + * + * @version 2.0 + */ + +function template_browse() +{ + global $context, $settings, $options, $scripturl, $txt; + + echo ' + <div id="manage_mail"> + <div class="cat_bar"> + <h3 class="catbg">', $txt['mailqueue_stats'], '</h3> + </div> + <div class="windowbg"> + <span class="topslice"><span></span></span> + <div class="content"> + <dl class="settings"> + <dt><strong>', $txt['mailqueue_size'], '</strong></dt> + <dd>', $context['mail_queue_size'], '</dd> + <dt><strong>', $txt['mailqueue_oldest'], '</strong></dt> + <dd>', $context['oldest_mail'], '</dd> + </dl> + </div> + <span class="botslice"><span></span></span> + </div>'; + + template_show_list('mail_queue'); + + echo ' + </div> + <br class="clear" />'; +} + +?> \ No newline at end of file