ezmlm-web/template/show_subscription_log.cs
lars 4c83771e11 updated UPGRADE file
new configuration setting: HTML_LINKS
changed layout of top div
fixed some IE rendering problems
improved visualization of subscriber's log
changed interface of 'form_header' macros
moved interface and language selection to the top of the page
reverse order of subscriber's log entries
set explicit default values for UNSAFE_RM, PRETTY_NAMES, ALIAS_USER, HTML_LINKS, HTML_LANGUAGE, FILE_UPLOAD and DEFAULT_OPTIONS
HTML_CSS_FILE replaced by HTML_CSS_URL - it defaults to '/ezmlm-web.css'
added manpages for 'webusers' and 'ezmlmwebrc' file formats
added check for required settings
ignore 'taintness' of 'send' input data due to non-ascii characters in buttons' values
2007-04-10 22:19:43 +00:00

43 lines
1.7 KiB
C#

<div class="title">
<h1><?cs var:html_escape(Lang.Title.SubscribeLog) ?></h1>
</div>
<fieldset>
<legend><?cs var:html_escape(Lang.Legend.SubscribeLog) ?> </legend>
<?cs if:subcount(Data.List.SubscribeLog) > 0 ?>
<table class="subscribe_log">
<tr>
<th><?cs var:html_escape(Lang.Misc.MailAddress) ?></th>
<th><?cs var:html_escape(Lang.Misc.SubscribeAction) ?></th>
<th><?cs var:html_escape(Lang.Misc.SubscribeActionDetails) ?></th>
<th><?cs var:html_escape(Lang.Misc.Date) ?></th>
</tr>
<?cs loop:x = subcount(Data.List.SubscribeLog)-1, #0, -1 ?><?cs
# we print the lines backward ?>
<tr>
<td><?cs var:html_escape(Data.List.SubscribeLog[x].address) ?></td>
<td><?cs if:Data.List.SubscribeLog[x].action == '+' ?><?cs
var:html_escape(Lang.Misc.SubscribeActions.add) ?><?cs
elif:Data.List.SubscribeLog[x].action == '-' ?><?cs
var:html_escape(Lang.Misc.SubscribeActions.remove) ?><?cs
else ?><?cs var:html_escape(Lang.Misc.SubscribeActions.unknown)
?><?cs /if ?></td>
<td><?cs if:Data.List.SubscribeLog[x].details == 'manual' ?><?cs
var:html_escape(Lang.Misc.SubscribeActions.manual) ?><?cs
elif:Data.List.SubscribeLog[x].details == 'mod' ?><?cs
var:html_escape(Lang.Misc.SubscribeActions.mod) ?><?cs
elif:Data.List.SubscribeLog[x].details == 'auto' ?><?cs
var:html_escape(Lang.Misc.SubscribeActions.auto) ?><?cs
else ?><?cs var:html_escape(Lang.Misc.SubscribeActions.unknown)
?><?cs /if ?></td>
<td><?cs var:html_escape(Data.List.SubscribeLog[x].date) ?></td>
</tr>
<?cs /loop ?>
</table>
<?cs else ?>
<p><?cs var:html_escape(Lang.WarningMessage.EmptyList) ?></p>
<?cs /if ?>
</fieldset>