From 7c67a5e84c7466417e14ef5064a1cfd7f4088a3c Mon Sep 17 00:00:00 2001 From: thomppj Date: Sat, 31 Aug 2002 21:07:14 +0000 Subject: [PATCH] Made calender plugin conform to SquirrelMail Project Team cvs copyright standards. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3526 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/calendar/calendar.php | 15 +++++++++------ plugins/calendar/calendar_data.php | 15 +++++++++------ plugins/calendar/day.php | 13 ++++++++----- plugins/calendar/event_create.php | 13 ++++++++----- plugins/calendar/event_delete.php | 13 ++++++++----- plugins/calendar/event_edit.php | 13 ++++++++----- plugins/calendar/functions.php | 15 +++++++++------ plugins/calendar/index.php | 26 +++++++++++++------------- plugins/calendar/setup.php | 18 ++++++++++-------- 9 files changed, 82 insertions(+), 59 deletions(-) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index fa27c48f..e4434fe6 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -1,18 +1,21 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * 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'); @@ -150,4 +153,4 @@ drawmonthview(); endcalendar(); ?> - \ No newline at end of file + diff --git a/plugins/calendar/calendar_data.php b/plugins/calendar/calendar_data.php index 7a2a455a..b7934606 100644 --- a/plugins/calendar/calendar_data.php +++ b/plugins/calendar/calendar_data.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * functions to operate on calendar data files. + * functions to operate on calendar data files. * * $Id$ */ @@ -110,4 +113,4 @@ function update_event($date, $time) { } -?> \ No newline at end of file +?> diff --git a/plugins/calendar/day.php b/plugins/calendar/day.php index c2d609c8..53db266d 100644 --- a/plugins/calendar/day.php +++ b/plugins/calendar/day.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * Displays the day page (day view). + * Displays the day page (day view). * * $Id$ */ diff --git a/plugins/calendar/event_create.php b/plugins/calendar/event_create.php index c4fd9c07..1153a678 100644 --- a/plugins/calendar/event_create.php +++ b/plugins/calendar/event_create.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * functions to create a event for calendar. + * functions to create a event for calendar. * * $Id$ */ diff --git a/plugins/calendar/event_delete.php b/plugins/calendar/event_delete.php index 06f019b1..345e1e22 100644 --- a/plugins/calendar/event_delete.php +++ b/plugins/calendar/event_delete.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * Functions to delete a event. + * Functions to delete a event. * * $Id$ */ diff --git a/plugins/calendar/event_edit.php b/plugins/calendar/event_edit.php index 4cead639..3e5cc9af 100644 --- a/plugins/calendar/event_edit.php +++ b/plugins/calendar/event_edit.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * Functions to edit an event. + * Functions to edit an event. * * $Id$ */ diff --git a/plugins/calendar/functions.php b/plugins/calendar/functions.php index be12a0d7..e11bb049 100644 --- a/plugins/calendar/functions.php +++ b/plugins/calendar/functions.php @@ -1,11 +1,14 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * miscelenous functions. + * miscelenous functions. * * $Id$ */ @@ -144,4 +147,4 @@ function select_option_day($selected) { } } -?> \ No newline at end of file +?> diff --git a/plugins/calendar/index.php b/plugins/calendar/index.php index cb97cc20..f026681c 100644 --- a/plugins/calendar/index.php +++ b/plugins/calendar/index.php @@ -1,17 +1,17 @@ \ No newline at end of file +?> diff --git a/plugins/calendar/setup.php b/plugins/calendar/setup.php index 0b038665..0d7b7ac4 100644 --- a/plugins/calendar/setup.php +++ b/plugins/calendar/setup.php @@ -1,25 +1,27 @@ - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Originally contrubuted by Michal Szczotka * - * 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 +?> -- 2.25.1