projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow administrators to configure subfolders of user INBOXes to be treated as special...
[squirrelmail.git]
/
plugins
/
calendar
/
event_delete.php
diff --git
a/plugins/calendar/event_delete.php
b/plugins/calendar/event_delete.php
index ee31521ec3548c359bce113d3bae932a4e7b59de..fd75562917b43087321df189b0b1c56562a4e310 100644
(file)
--- a/
plugins/calendar/event_delete.php
+++ b/
plugins/calendar/event_delete.php
@@
-3,18
+3,18
@@
/**
* Functions to delete a event.
*
/**
* Functions to delete a event.
*
- * @copyright
© 2002-2006
The SquirrelMail Project Team
+ * @copyright
2002-2011
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage calendar
*/
* @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');
/* date_intl() */
include_once(SM_PATH . 'functions/date.php');
@@
-66,11
+66,11
@@
function confirm_deletion() {
) .
html_tag( 'tr',
html_tag( 'td', _("Date:"), 'right', $color[4] ) .
) .
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( '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] ) .
) .
html_tag( 'tr',
html_tag( 'td', _("Title:"), 'right', $color[4] ) .
@@
-119,7
+119,7
@@
if ($day <= 0){
$calself=basename($PHP_SELF);
$calself=basename($PHP_SELF);
-displayPageHeader($color
, 'None'
);
+displayPageHeader($color);
//load calendar menu
calendar_header();
//load calendar menu
calendar_header();
@@
-145,4
+145,4
@@
if (isset($dyear) && isset($dmonth) && isset($dday) && isset($dhour) && isset($d
?>
</table></td></tr></table>
?>
</table></td></tr></table>
-</body></html>
\ No newline at end of file
+</body></html>