add_forward implemented
del_forward implemented update_vacation implemented update_filter improved (support multiple ldap entries)
This commit is contained in:
parent
b95baa8ca0
commit
56be2f41f5
6 changed files with 359 additions and 51 deletions
|
@ -2,20 +2,42 @@
|
|||
<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.Forward) ?> </legend>
|
||||
<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>noch nicht implementiert</li>
|
||||
<!--
|
||||
<li><label for="oldpw"><?cs var:html_escape(Lang.Misc.OldPassword) ?>:</label>
|
||||
<input type="password" name="oldpassword" id="oldpw" size="20"></li>
|
||||
-->
|
||||
<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_update" />
|
||||
<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>
|
||||
|
||||
|
|
|
@ -4,7 +4,13 @@
|
|||
|
||||
<fieldset>
|
||||
<legend><?cs var:html_escape(Lang.Legend.StatusForward) ?> </legend>
|
||||
<p>noch nicht implementiert</p>
|
||||
<p>
|
||||
<?cs if:subcount(Data.ForwardAddresses) > 0 ?>
|
||||
<?cs var:Lang.Misc.ForwardCount ?>: <?cs var:subcount(Data.ForwardAddresses) ?>
|
||||
<?cs else ?>
|
||||
<?cs var:Lang.Misc.NoForward ?>
|
||||
<?cs /if ?>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
@ -17,5 +23,11 @@
|
|||
|
||||
<fieldset>
|
||||
<legend><?cs var:html_escape(Lang.Legend.StatusVacation) ?> </legend>
|
||||
<p>noch nicht implementiert</p>
|
||||
<p>
|
||||
<?cs if:Data.isVacation ?>
|
||||
<?cs var:Lang.Misc.VacationEnabled ?>
|
||||
<?cs else ?>
|
||||
<?cs var:Lang.Misc.VacationDisabled ?>
|
||||
<?cs /if ?>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
|
|
@ -7,11 +7,17 @@
|
|||
|
||||
<form method="post" action="<?cs var:Config.ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
||||
<ul>
|
||||
<li>noch nicht implementiert</li>
|
||||
<!--
|
||||
<li><label for="oldpw"><?cs var:html_escape(Lang.Misc.OldPassword) ?>:</label>
|
||||
<input type="password" name="oldpassword" id="oldpw" size="20"></li>
|
||||
-->
|
||||
<li><input type="checkbox" id="is_vac" name="vacation_enabled" <?cs
|
||||
if:Data.isVacation ?>checked="checked"<?cs /if ?> />
|
||||
<label for="is_vac"><?cs var:html_escape(Lang.Misc.Vacation)
|
||||
?></label></li>
|
||||
<li><label><?cs var:html_escape(Lang.Misc.VacationText) ?>:</label>
|
||||
<ul><li>
|
||||
<textarea name="vacation_text" id="vac_text" cols="72" rows="5"><?cs
|
||||
var:html_escape(Data.VacationText) ?></textarea>
|
||||
</li></ul></li>
|
||||
<li><label for="pw"><?cs var:html_escape(Lang.Misc.Password) ?>:</label>
|
||||
<input type="password" name="pw" id="pw" size="20" /></li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue