/**
* Functions to edit an 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
*/
-/** @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');
/* form functions */
*/
function confirm_update() {
global $calself, $year, $month, $day, $hour, $minute, $calendardata,
- $color, $event_year, $event_month, $event_day, $event_hour,
+ $color, $event_year, $event_month, $event_day, $event_hour,
$event_minute, $event_length, $event_priority, $event_title, $event_text;
$tmparray = $calendardata["$month$day$year"]["$hour$minute"];
$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>