mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
b648510548
list-virtual_alias_domain.tpl, password.tpl: - replaced <h3> with <th> - marked labels with <label> - marked non-editable fields with <em> - align buttons with input fields - note: removal of tMessage intentionally postponed password.tpl: - move error message formatting to template (language changes will follow in a later commit) - difference to Dale's patch: use <td class="error_msg"> instead of <td><span class="error_msg"> edit-vacation.tpl: - added language="JavaScript to <script> tags - removed reference to calendar.css (now @import'ed in default.css) - added class="flat" to activefrom and activeuntil input fields This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF), https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1095 a1433add-5e2c-0410-b055-b7f2511e0802
72 lines
2.1 KiB
Smarty
72 lines
2.1 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="edit-vacation" method="post" action=''>
|
|
<table>
|
|
<tr>
|
|
<th colspan="3">{$PALANG.pUsersVacation_welcome}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersLogin_username}:</label></td>
|
|
<td><em>{$tUseremail}</em></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_activefrom}:</label></td>
|
|
<td><input class="flat" name="activefrom" value="{$tActiveFrom}" readonly="readonly" style="background:#eee;"/>
|
|
{literal}
|
|
<script language="JavaScript" type="text/javascript">
|
|
new tcal ({
|
|
'formname': 'edit-vacation',
|
|
'controlname': 'activefrom'
|
|
});
|
|
</script>
|
|
{/literal}
|
|
</td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label"><label>{$PALANG.pUsersVacation_activeuntil}:</label></td>
|
|
<td><input class="flat" name="activeuntil" value="{$tActiveUntil}" readonly="readonly" style="background:#eee;"/>
|
|
{literal}
|
|
<script language="JavaScript" type="text/javascript">
|
|
new tcal ({
|
|
'formname': 'edit-vacation',
|
|
'controlname': 'activeuntil'
|
|
});
|
|
</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="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>
|