<?php
-/*
+
+/**
+ * calendar.php
*
- * calendar.php
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * Displays the main calendar page (month view).
+ * Displays the main calendar page (month view).
*
* $Id$
*/
require_once('calendar_data.php');
require_once('functions.php');
+
chdir('..');
require_once('../src/validate.php');
require_once('../functions/strings.php');
endcalendar();
?>
-</body></html>
\ No newline at end of file
+</body></html>
<?php
-/*
- * calendar_data.php
+
+/**
+ * calendar_data.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * functions to operate on calendar data files.
+ * functions to operate on calendar data files.
*
* $Id$
*/
}
-?>
\ No newline at end of file
+?>
<?php
-/*
- * day.php
+
+/**
+ * day.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * Displays the day page (day view).
+ * Displays the day page (day view).
*
* $Id$
*/
<?php
-/*
- * event_create.php
+
+/**
+ * event_create.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * functions to create a event for calendar.
+ * functions to create a event for calendar.
*
* $Id$
*/
<?php
-/*
- * event_delete.php
+
+/**
+ * event_delete.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * Functions to delete a event.
+ * Functions to delete a event.
*
* $Id$
*/
<?php
-/*
- * event_edit.php
+
+/**
+ * event_edit.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * Functions to edit an event.
+ * Functions to edit an event.
*
* $Id$
*/
<?php
-/*
- * functions.php
+
+/**
+ * functions.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * miscelenous functions.
+ * miscelenous functions.
*
* $Id$
*/
}
}
-?>
\ No newline at end of file
+?>
<?php
- /**
- ** index.php -- Displays the main frameset
- **
- ** Copyright (c) 1999-2002 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** Redirects to the login page.
- **
- ** $Id$
- **/
+/**
+ * index.php -- Displays the main frameset
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Redirects to the login page.
+ *
+ * $Id$
+ */
- header("Location:../../src/login.php\n\n");
- exit();
+header("Location:../../src/login.php\n\n");
+exit();
-?>
\ No newline at end of file
+?>
<?php
-/*
- * setup.php
+
+/**
+ * setup.php
+ *
+ * Copyright (c) 2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * init plugin into squirrelmail
+ * init plugin into squirrelmail
*
* $Id$
*/
-
function squirrelmail_plugin_init_calendar() {
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
}
function calendar() {
- //Add Calendar link to upper menu
+ /* Add Calendar link to upper menu */
displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
echo "  \n";
}
-?>
\ No newline at end of file
+?>