From 2c85de8f66702a488ea0c371f2576963c593d64d Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Tue, 22 Jan 2002 12:48:46 +0000 Subject: [PATCH] Added revision number git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2204 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/calendar/README | 2 +- plugins/calendar/calendar.php | 2 +- plugins/calendar/calendar_data.php | 7 +++---- plugins/calendar/day.php | 6 ++---- plugins/calendar/event_create.php | 2 +- plugins/calendar/event_delete.php | 2 +- plugins/calendar/event_edit.php | 15 +++++++-------- plugins/calendar/functions.php | 2 +- plugins/calendar/setup.php | 1 + 9 files changed, 18 insertions(+), 21 deletions(-) diff --git a/plugins/calendar/README b/plugins/calendar/README index f7e55505..6aebd29f 100644 --- a/plugins/calendar/README +++ b/plugins/calendar/README @@ -1,4 +1,4 @@ -SQCalendar 0.1 +SQCalendar $Id$ GPL (C) 2001 Michal Szczotka http://www.tuxy.org/index.php?path=/projects/sqcalendar/index.php diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index 442ab314..1c03cb6f 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -8,7 +8,7 @@ * * Displays the main calendar page (month view). * - * 18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org. + * $Id$ */ require_once('calendar_data.php'); diff --git a/plugins/calendar/calendar_data.php b/plugins/calendar/calendar_data.php index 737537ec..8bf3d65e 100644 --- a/plugins/calendar/calendar_data.php +++ b/plugins/calendar/calendar_data.php @@ -1,5 +1,4 @@ - - +?> \ No newline at end of file diff --git a/plugins/calendar/day.php b/plugins/calendar/day.php index 44d60447..3755ba07 100644 --- a/plugins/calendar/day.php +++ b/plugins/calendar/day.php @@ -7,7 +7,7 @@ * * Displays the day page (day view). * - * 18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org. + * $Id$ */ require_once('calendar_data.php'); @@ -130,8 +130,6 @@ readcalendardata(); day_header(); initialize_events(); display_events(); - - ?> - + \ No newline at end of file diff --git a/plugins/calendar/event_create.php b/plugins/calendar/event_create.php index 781927e7..57b30ed6 100644 --- a/plugins/calendar/event_create.php +++ b/plugins/calendar/event_create.php @@ -7,7 +7,7 @@ * * functions to create a event for calendar. * - * 18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org. + * $Id$ */ require_once('calendar_data.php'); diff --git a/plugins/calendar/event_delete.php b/plugins/calendar/event_delete.php index a683f200..b7718617 100644 --- a/plugins/calendar/event_delete.php +++ b/plugins/calendar/event_delete.php @@ -7,7 +7,7 @@ * * Functions to delete a event. * - * 18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org. + * $Id$ */ require_once('calendar_data.php'); diff --git a/plugins/calendar/event_edit.php b/plugins/calendar/event_edit.php index c8e9c0df..de5e156e 100644 --- a/plugins/calendar/event_edit.php +++ b/plugins/calendar/event_edit.php @@ -1,4 +1,3 @@ - " . "" . ''; if (!isset($updated)){ //get changes to event readcalendardata(); @@ -186,8 +185,9 @@ if (!isset($updated)){ } else { update_event("$month$day$year", "$hour$minute"); echo "\n"; - echo "\n"; - $fixdate = date( "mdY", mktime(0, 0, 0, $event_month, $event_day, $event_year)); + echo "\n"; + $fixdate = date( 'mdY', mktime(0, 0, 0, $event_month, $event_day, $event_year)); //if event has been moved to different year then act accordingly if ($year==$event_year){ $calendardata["$fixdate"]["$event_hour$event_minute"] = array("length"=>"$event_length","priority"=>"$event_priority","title"=>"$event_title","message"=>"$event_text"); @@ -205,5 +205,4 @@ if (!isset($updated)){ ?>
' . - date_intl( 'l, F d Y', mktime(0, 0, 0, $month, $day, $year)); -?>
Event updated!
Day View
" . + _("Day View") ."
- - + \ No newline at end of file diff --git a/plugins/calendar/functions.php b/plugins/calendar/functions.php index d6d3087b..e9986a44 100644 --- a/plugins/calendar/functions.php +++ b/plugins/calendar/functions.php @@ -7,7 +7,7 @@ * * miscelenous functions. * - * 18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org. + * $Id$ */ diff --git a/plugins/calendar/setup.php b/plugins/calendar/setup.php index ed27dea8..0b038665 100644 --- a/plugins/calendar/setup.php +++ b/plugins/calendar/setup.php @@ -7,6 +7,7 @@ * * init plugin into squirrelmail * + * $Id$ */ -- 2.25.1