SF.net SVN: postfixadmin:[766] trunk
Brought to you by:
christian_boltz,
gingerdog
From: <Seb...@us...> - 2009-11-08 19:02:30
|
Revision: 766 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=766&view=rev Author: Sebastian2009 Date: 2009-11-08 19:02:22 +0000 (Sun, 08 Nov 2009) Log Message: ----------- - small bugfix. Display date correctly Modified Paths: -------------- trunk/templates/users_vacation.tpl trunk/users/vacation.php Modified: trunk/templates/users_vacation.tpl =================================================================== --- trunk/templates/users_vacation.tpl 2009-11-08 18:51:53 UTC (rev 765) +++ trunk/templates/users_vacation.tpl 2009-11-08 19:02:22 UTC (rev 766) @@ -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 ({ Modified: trunk/users/vacation.php =================================================================== --- trunk/users/vacation.php 2009-11-08 18:51:53 UTC (rev 765) +++ trunk/users/vacation.php 2009-11-08 19:02:22 UTC (rev 766) @@ -48,11 +48,15 @@ { $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']; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |