lars
56be2f41f5
del_forward implemented update_vacation implemented update_filter improved (support multiple ldap entries)
28 lines
1 KiB
C#
28 lines
1 KiB
C#
<div class="title">
|
|
<h1><?cs var:html_escape(Lang.Title.Vacation) ?></h1>
|
|
</div>
|
|
|
|
<fieldset class="form">
|
|
<legend><?cs var:html_escape(Lang.Legend.Vacation) ?> </legend>
|
|
|
|
<form method="post" action="<?cs var:Config.ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
|
<ul>
|
|
<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>
|
|
|
|
<input type="hidden" name="action" value="vacation_update" />
|
|
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.Vacation) ?></button>
|
|
</form>
|
|
|
|
</fieldset>
|