- small bugfix. Display date correctly

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@766 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Sebastian 15 years ago
parent 2dca007dbf
commit 283c563d84

@ -15,7 +15,7 @@
</tr>
<tr>
<td>{$PALANG.pUsersVacation_activefrom}:</td>
<td><input name="fActiveFrom" value="{$fActiveFrom}" readonly="readonly" style="background:#eee;"/>
<td><input name="fActiveFrom" value="{$tActiveFrom}" readonly="readonly" style="background:#eee;"/>
{literal}
<script language="JavaScript">
new tcal ({
@ -29,7 +29,7 @@
</tr>
<tr>
<td>{$PALANG.pUsersVacation_activeuntil}:</td>
<td><input name="fActiveUntil" value="{$fActiveUntil}" readonly="readonly" style="background:#eee;"/>
<td><input name="fActiveUntil" value="{$tActiveUntil}" readonly="readonly" style="background:#eee;"/>
{literal}
<script language="JavaScript">
new tcal ({

@ -48,11 +48,15 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
{
$tSubject = '';
$tBody = '';
$tActiveFrom = '';
$tActiveUntil = '';
$details = $vh->get_details();
if($details != false) {
$tSubject = $details['subject'];
$tBody = $details['body'];
$fActiveFrom = $details['activeFrom'];
$fActiveUntil = $details['activeUntil'];
}
if($vh->check_vacation()) {
$tMessage = $PALANG['pUsersVacation_welcome_text'];

Loading…
Cancel
Save