lars
56be2f41f5
del_forward implemented update_vacation implemented update_filter improved (support multiple ldap entries)
44 lines
1.5 KiB
C#
44 lines
1.5 KiB
C#
<div class="title">
|
|
<h1><?cs var:html_escape(Lang.Title.Forward) ?></h1>
|
|
</div>
|
|
|
|
<?cs if:subcount(Data.ForwardAddresses) > 0 ?>
|
|
<fieldset class="form">
|
|
<legend><?cs var:html_escape(Lang.Legend.DelForward) ?> </legend>
|
|
|
|
<form method="post" action="<?cs var:Config.ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
|
<ul>
|
|
<li><select name="fw_delete" multiple="multiple">
|
|
<?cs each:forward = Data.ForwardAddresses ?>
|
|
<option><?cs var:forward ?></option>
|
|
<?cs /each ?></li>
|
|
<li><label for="delpw"><?cs var:html_escape(Lang.Misc.Password) ?>:</label>
|
|
<input type="password" name="pw" id="delpw" size="20" /></li>
|
|
|
|
</ul>
|
|
|
|
<input type="hidden" name="action" value="forward_del" />
|
|
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.DelForward) ?></button>
|
|
</form>
|
|
|
|
</fieldset>
|
|
<?cs /if ?>
|
|
|
|
<fieldset class="form">
|
|
<legend><?cs var:html_escape(Lang.Legend.AddForward) ?> </legend>
|
|
|
|
<form method="post" action="<?cs var:Config.ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
|
<ul>
|
|
<li><label for="forward_add"><?cs var:html_escape(Lang.Misc.NewForward)
|
|
?>:</label>
|
|
<input type="text" id="forward_add" size="40" name="fw_address"/></li>
|
|
<li><label for="fwpw"><?cs var:html_escape(Lang.Misc.Password) ?>:</label>
|
|
<input type="password" name="pw" id="fwpw" size="20" /></li>
|
|
|
|
</ul>
|
|
|
|
<input type="hidden" name="action" value="forward_add" />
|
|
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.AddForward) ?></button>
|
|
</form>
|
|
|
|
</fieldset>
|