Browse Source

Added revision number

philippe_mingo 23 years ago
parent
commit
e2b96dedd3

+ 1 - 1
plugins/calendar/README

@@ -1,4 +1,4 @@
-SQCalendar 0.1
+SQCalendar  $Id$
 GPL (C) 2001  Michal Szczotka <michal@tuxy.org>
 http://www.tuxy.org/index.php?path=/projects/sqcalendar/index.php
 

+ 1 - 1
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');

+ 3 - 4
plugins/calendar/calendar_data.php

@@ -1,5 +1,4 @@
-<?php /* Modified at 1 places by ri_once */ ?>
-<?php /* 'php' Added by ri_once */
+<?php
 /*
  *  calendar_data.php
  *
@@ -8,7 +7,7 @@
  *
  *  functions to operate on calendar data files.
  *
- *  18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org.
+ * $Id$
  */
 
 // this is array that contains all events
@@ -110,4 +109,4 @@ function update_event($date, $time) {
 }
 
 
-?>
+?>

+ 2 - 4
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();
-
-
 ?>
 </table></td></tr></table>
-</body></html>
+</body></html>

+ 1 - 1
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');

+ 1 - 1
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');

+ 7 - 8
plugins/calendar/event_edit.php

@@ -1,4 +1,3 @@
-<?php /* Modified at 1 places by ri_once */ ?>
 <?php
 /*
  *  event_edit.php
@@ -8,7 +7,7 @@
  *
  *  Functions to edit an event.
  *
- *  18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org.
+ * $Id$
  */
 
 require_once('calendar_data.php');
@@ -168,8 +167,8 @@ calendar_header();
 echo "<TR BGCOLOR=\"$color[0]\"><TD>" .
      "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1 BGCOLOR=\"$color[0]\">" .
      '<tr><td COLSPAN=2>' .
-     date_intl( 'l, F d Y', mktime(0, 0, 0, $month, $day, $year));
-?></td></tr><?php /* 'php' Added by ri_once */
+     date_intl( 'l, F d Y', mktime(0, 0, 0, $month, $day, $year)) .
+     '</td></tr>';
 if (!isset($updated)){
     //get changes to event
     readcalendardata();
@@ -186,8 +185,9 @@ if (!isset($updated)){
     } else {
         update_event("$month$day$year", "$hour$minute");
         echo "<tr><td>Event updated!</td></tr>\n";
-        echo "<tr><td><A HREF=\"day.php?year=$year&month=$month&day=$day\">Day View</A></td></tr>\n";
-        $fixdate = date( "mdY", mktime(0, 0, 0, $event_month, $event_day, $event_year));
+        echo "<tr><td><A HREF=\"day.php?year=$year&month=$month&day=$day\">" . 
+        _("Day View") ."</A></td></tr>\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)){
 
 ?>
 </table></td></tr></table>
-</body></html>
-
+</body></html>

+ 1 - 1
plugins/calendar/functions.php

@@ -7,7 +7,7 @@
  *
  *  miscelenous functions.
  *
- *  18 Jan 2002 Adapted to official SM rules philippe@squirrelmail.org.
+ * $Id$
  */
 
 

+ 1 - 0
plugins/calendar/setup.php

@@ -7,6 +7,7 @@
  *
  *  init plugin into squirrelmail
  *
+ * $Id$ 
  */