You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.9 KiB
Smarty
64 lines
1.9 KiB
Smarty
{literal}
|
|
<script language="JavaScript" type="text/javascript">
|
|
function newLocation() {
|
|
window.location="{/literal}{$fCanceltarget}{literal}"
|
|
}
|
|
</script>
|
|
<script language="JavaScript" src="calendar.js" type="text/javascript"></script>
|
|
{/literal}
|
|
<div id="edit_form">
|
|
<form name="vacation" method="post" action=''>
|
|
<table>
|
|
<tr>
|
|
<th colspan="3">{$PALANG.pUsersVacation_welcome}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_activefrom}:</label></td>
|
|
<td><input class="flat readonly" name="fActiveFrom" value="{$tActiveFrom}" readonly="readonly" />
|
|
{literal}
|
|
<script language="JavaScript" type="text/javascript">
|
|
new tcal ({
|
|
'formname': 'vacation',
|
|
'controlname': 'fActiveFrom'
|
|
});
|
|
</script>
|
|
{/literal}
|
|
</td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_activeuntil}:</label></td>
|
|
<td><input class="flat readonly" name="fActiveUntil" value="{$tActiveUntil}" readonly="readonly" />
|
|
{literal}
|
|
<script language="JavaScript" type="text/javascript">
|
|
new tcal ({
|
|
'formname': 'vacation',
|
|
'controlname': 'fActiveUntil'
|
|
});
|
|
</script>
|
|
{/literal}
|
|
</td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_subject}:</label></td>
|
|
<td><textarea class="flat" rows="3" cols="60" name="fSubject" >{$tSubject}</textarea></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_body}:</label></td>
|
|
<td><textarea class="flat" rows="10" cols="60" name="fBody" >{$tBody}</textarea></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="2">
|
|
<input class="button" type="submit" name="fAway" value="{$PALANG.pUsersVacation_button_away}" />
|
|
<input class="button" type="submit" name="fBack" value="{$PALANG.pUsersVacation_button_back}" />
|
|
<input class="button" type="submit" name="fCancel" value="{$PALANG.exit}" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|