/**
* Functions to delete a event.
*
- * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @copyright 2002-2012 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage calendar
*/
-/** @ignore */
-define('SM_PATH','../../');
+/**
+ * Include the SquirrelMail initialization file.
+ */
+require('../../include/init.php');
-/* SquirrelMail required files. */
-include_once(SM_PATH . 'include/validate.php');
/* date_intl() */
include_once(SM_PATH . 'functions/date.php');
) .
html_tag( 'tr',
html_tag( 'td', _("Date:"), 'right', $color[4] ) .
- html_tag( 'td', $dmonth.'/'.$dday.'/'.$dyear, 'left', $color[4] )
+ html_tag( 'td', date_intl(_("m/d/Y"),mktime(0,0,0,$dmonth,$dday,$dyear)), 'left', $color[4] )
) .
html_tag( 'tr',
html_tag( 'td', _("Time:"), 'right', $color[4] ) .
- html_tag( 'td', $dhour.':'.$dminute, 'left', $color[4] )
+ html_tag( 'td', date_intl(_("H:i"),mktime($dhour,$dminute,0,$dmonth,$dday,$dyear)), 'left', $color[4] )
) .
html_tag( 'tr',
html_tag( 'td', _("Title:"), 'right', $color[4] ) .
$calself=basename($PHP_SELF);
-displayPageHeader($color, 'None');
+displayPageHeader($color);
//load calendar menu
calendar_header();
?>
</table></td></tr></table>
-</body></html>
\ No newline at end of file
+</body></html>