codekasten/ql-web/trunk/template/vacation_form.cs

29 lines
1 KiB
C#
Raw Normal View History

2006-01-24 09:54:12 +01:00
<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>
2006-01-24 09:54:12 +01:00
</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>