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.
72 lines
1.9 KiB
Smarty
72 lines
1.9 KiB
Smarty
15 years ago
|
{literal}
|
||
|
<script type="text/javascript">
|
||
|
function newLocation() {
|
||
|
window.location="{/literal}{$fCanceltarget}{literal}"
|
||
|
}
|
||
|
</script>
|
||
|
<script language="JavaScript" src="calendar.js"></script>
|
||
|
<link rel="stylesheet" href="css/calendar.css">
|
||
|
{/literal}
|
||
|
<div id="edit_form">
|
||
|
<form name="edit-vacation" method="post" action=''>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td colspan="3"><h3>{$PALANG.pUsersVacation_welcome}</h3></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>{$PALANG.pUsersLogin_username}:</td>
|
||
|
<td>{$tUseremail}</td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>{$PALANG.pUsersVacation_activefrom}:</td>
|
||
|
<td><input name="activefrom" value="{$tActiveFrom}" readonly="readonly" style="background:#eee;"/>
|
||
|
{literal}
|
||
|
<script language="JavaScript">
|
||
|
new tcal ({
|
||
|
'formname': 'edit-vacation',
|
||
|
'controlname': 'activefrom'
|
||
|
});
|
||
|
</script>
|
||
|
{/literal}
|
||
|
</td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>{$PALANG.pUsersVacation_activeuntil}:</td>
|
||
|
<td><input name="activeuntil" value="{$tActiveUntil}" readonly="readonly" style="background:#eee;"/>
|
||
|
{literal}
|
||
|
<script language="JavaScript">
|
||
|
new tcal ({
|
||
|
'formname': 'edit-vacation',
|
||
|
'controlname': 'activeuntil'
|
||
|
});
|
||
|
</script>
|
||
|
{/literal}
|
||
|
</td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>{$PALANG.pUsersVacation_subject}:</td>
|
||
|
<td><textarea class="flat" rows="3" cols="60" name="fSubject" >{$tSubject}</textarea></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>{$PALANG.pUsersVacation_body}:</td>
|
||
|
<td><textarea class="flat" rows="10" cols="60" name="fBody" >{$tBody}</textarea></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" class="hlp_center">
|
||
|
<input class="button" type="submit" name="fChange" value="{$PALANG.pEdit_vacation_set}" />
|
||
|
<input class="button" type="submit" name="fBack" value="{$PALANG.pEdit_vacation_remove}" />
|
||
|
<input class="button" type="button" name="fCancel" value="{$PALANG.exit}" onclick="newLocation()" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" class="standout">{$tMessage}</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|