- wrap boxes around the parts of the page
- add box with a WHOLIST filtered for SYS_SMTP_Send; Now we show a list of currently active outbound SMTP-Connections.
<?!("COND:AIDE", 1)>
<br><br><div align="center">
<?_("You do not have permission to view this resource.")>
</div><br><br>
<?!("X", 1)>
</div>
<?!("COND:AIDE", 1)>
<br><br><div align="center">
<?_("You do not have permission to view this resource.")>
</div><br><br>
<?!("X", 1)>
</div>
+<script type="text/javascript">
+ new Ajax.PeriodicalUpdater('mailq_sessions', 'do_template?template=who_active_smtpsessions',
+ { method: 'get', frequency: 10 } );
+</script>
-->
<div id="runqueue" class="runqueue" style="display:none">
-->
<div id="runqueue" class="runqueue" style="display:none">
+<?=("box_begin_1")><?_("HINT")><?=("box_begin_2")>
<?_("Citadel reattempts sending mail per interval; it starts at 60 second, and doubles each time. You can however bypass this mechanism once; all messages will be reattempted on the next queue run.")>
<a href="javascript:ToggleVisibility('runqueue_help1')"><?_("OK, got you, lets go!")></a>
<?_("Citadel reattempts sending mail per interval; it starts at 60 second, and doubles each time. You can however bypass this mechanism once; all messages will be reattempted on the next queue run.")>
<a href="javascript:ToggleVisibility('runqueue_help1')"><?_("OK, got you, lets go!")></a>
<div id="runqueue_help1" style="display:none">
<div id="runqueue_help1" style="display:none">
+<?=("box_begin_1")><?=("box_begin_2")>
<br><a href="javascript:SMTPRunQueue();"><?_("Reschedule all messages for delivery on next queue run")></a>
<br><a href="javascript:SMTPRunQueue();"><?_("Reschedule all messages for delivery on next queue run")></a>
+<?=("box_begin_1")><?_("Currently active mail delivery jobs; Remote Sites:")><?=("box_begin_2")>
-<a href="javascript:RefreshSMTPqueueDisplay();"><?_("Refresh this page")></a>
+<?=("who_active_smtpsessions")>
+<?=("box_begin_1")><?_("Jobs waiting for further processing:")><?=("box_begin_2")>
+<div align="center">
+<a href="javascript:RefreshSMTPqueueDisplay();"><?_("Refresh this page")></a>
+</div>
--- /dev/null
+<div id="mailq_sessions">
+<table class="altern">
+<?ITERATE("WHOLIST", ="who_activesmtpsessions_one", "SYS_SMTP_Send")>
+</table>
+</div>
--- /dev/null
+<tr class="<?ITERATE:ODDEVEN>">
+ <!-- hostname -->
+ <td class="host_col">
+ <?WHO:HOST("X")>
+ <?!("WHO:REALHOST", 8)><br><i> <?WHO:REALHOST("X")></i>
+ <?!("X", 8)>
+ </td>
+</tr>
<th><?_("Room")></th>
<th class="host_col"><?_("From host")></th>
</tr>
<th><?_("Room")></th>
<th class="host_col"><?_("From host")></th>
</tr>
- <?ITERATE("WHOLIST", ="who_section")>
+ <?ITERATE("WHOLIST", ="who_section", 0)>