@ -1,23 +1,22 @@
{ literal }
{ literal }
<script type="text/javascript">
<script language="JavaScript" type="text/javascript">
function newLocation() {
function newLocation() {
window.location=" { /literal } { $fCanceltarget } { literal } "
window.location=" { /literal } { $fCanceltarget } { literal } "
}
}
</script>
</script>
<script language="JavaScript" src="calendar.js"></script>
<script language="JavaScript" src="calendar.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/calendar.css">
{ /literal }
{ /literal }
<div id="edit_form">
<div id="edit_form">
<form name="vacation" method="post" action=''>
<form name="vacation" method="post" action=''>
<table>
<table>
<tr>
<tr>
<t d colspan="3"><h3 >{ $PALANG.pUsersVacation_welcome } </ h3></td >
<t h colspan="3" >{ $PALANG.pUsersVacation_welcome } </ t h>
</tr>
</tr>
<tr>
<tr>
<td >{ $PALANG.pUsersVacation_activefrom } : </td>
<td class="label"><label >{ $PALANG.pUsersVacation_activefrom } : </label> </td>
<td><input name="fActiveFrom" value="{ $tActiveFrom } " readonly="readonly" style="background:#eee;" />
<td><input class="flat" name="fActiveFrom" value="{ $tActiveFrom } " readonly="readonly" style="background:#eee;" />
{ literal }
{ literal }
<script language="JavaScript" >
<script language="JavaScript" type="text/javascript" >
new tcal ( {
new tcal ( {
'formname': 'vacation',
'formname': 'vacation',
'controlname': 'fActiveFrom'
'controlname': 'fActiveFrom'
@ -28,10 +27,10 @@
<td> </td>
<td> </td>
</tr>
</tr>
<tr>
<tr>
<td >{ $PALANG.pUsersVacation_activeuntil } : </td>
<td class="label"><label >{ $PALANG.pUsersVacation_activeuntil } : </label> </td>
<td><input name="fActiveUntil" value="{ $tActiveUntil } " readonly="readonly" style="background:#eee;" />
<td><input class="flat" name="fActiveUntil" value="{ $tActiveUntil } " readonly="readonly" style="background:#eee;" />
{ literal }
{ literal }
<script language="JavaScript" >
<script language="JavaScript" type="text/javascript" >
new tcal ( {
new tcal ( {
'formname': 'vacation',
'formname': 'vacation',
'controlname': 'fActiveUntil'
'controlname': 'fActiveUntil'
@ -42,25 +41,23 @@
<td> </td>
<td> </td>
</tr>
</tr>
<tr>
<tr>
<td >{ $PALANG.pUsersVacation_subject } : </td>
<td class="label"><label >{ $PALANG.pUsersVacation_subject } : </label> </td>
<td><textarea class="flat" rows="3" cols="60" name="fSubject" > { $tSubject } </textarea></td>
<td><textarea class="flat" rows="3" cols="60" name="fSubject" > { $tSubject } </textarea></td>
<td> </td>
<td> </td>
</tr>
</tr>
<tr>
<tr>
<td >{ $PALANG.pUsersVacation_body } : </td>
<td class="label"><label >{ $PALANG.pUsersVacation_body } : </label> </td>
<td><textarea class="flat" rows="10" cols="60" name="fBody" > { $tBody } </textarea></td>
<td><textarea class="flat" rows="10" cols="60" name="fBody" > { $tBody } </textarea></td>
<td> </td>
<td> </td>
</tr>
</tr>
<tr>
<tr>
<td colspan="3" class="hlp_center">
<td> </td>
<td colspan="2">
<input class="button" type="submit" name="fAway" value=" { $PALANG.pUsersVacation_button_away } " />
<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="fBack" value=" { $PALANG.pUsersVacation_button_back } " />
<input class="button" type="submit" name="fCancel" value=" { $PALANG.exit } " />
<input class="button" type="submit" name="fCancel" value=" { $PALANG.exit } " />
</td>
</td>
</tr>
</tr>
<tr>
<td colspan="3" class="standout"> { $tMessage } </td>
</tr>
</table>
</table>
</form>
</form>
</div>
</div>