ezmlm-web/template/interface_select.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

40 lines
1.6 KiB
C#

<!-- allows the user to change the interface style and the language-->
<?cs if:((subcount(Config.UI.Interfaces) > 0) && UI.Top.Interface)
|| ((subcount(Config.UI.Languages) > 0) && UI.Top.Language) ?>
<?cs call:form_header_ignore("select_interface", "template", "web_lang", "")
?><?cs if:Data.List.Name ?><input type="hidden" name="action"
value="subscribers" /><?cs /if
?><?cs if:subcount(Config.UI.Interfaces) > 0 ?>
<font class="no_link"><?cs
var:html_escape(Lang.Menue.Language) ?>:</font>
<select name="web_lang" size="0">
<?cs each: tlang = Config.UI.Languages
?><option value="<?cs var:name(tlang) ?>"<?cs
if:name(tlang) == Config.UI.LinkAttrs.web_lang
?> selected="selected"<?cs /if?>><?cs
var:html_escape(tlang) ?></option>
<?cs /each ?></select><?cs
else ?>
<input type="hidden" name="web_lang" value="<?cs
var:Config.UI.LinkAttrs.web_lang ?>" /><?cs /if
?><?cs if:subcount(Config.UI.Interfaces) > 0 ?>
<font class="no_link"><?cs
var:html_escape(Lang.Menue.Interface) ?>:</font>
<select name="template" size="0">
<?cs each: ttemp = Config.UI.Interfaces
?><option value="<?cs var:name(ttemp) ?>"<?cs
if:name(ttemp) == Config.UI.LinkAttrs.template
?> selected="selected"<?cs /if?>><?cs
var:html_escape(Lang.Misc.Interfaces[ttemp]) ?></option>
<?cs /each ?></select><?cs
else ?>
<input type="hidden" name="template" value="<?cs
var:Config.UI.LinkAttrs.template ?>" /><?cs /if
?><button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.InterfaceSet) ?></button>
</form>
<?cs /if ?>