浏览代码

Made calender plugin conform to SquirrelMail Project Team cvs copyright
standards.

thomppj 23 年之前
父节点
当前提交
621b248d32

+ 9 - 6
plugins/calendar/calendar.php

@@ -1,18 +1,21 @@
 <?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');
@@ -150,4 +153,4 @@ drawmonthview();
 endcalendar();
 
 ?>
-</body></html>
+</body></html>

+ 9 - 6
plugins/calendar/calendar_data.php

@@ -1,11 +1,14 @@
 <?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$
  */
@@ -110,4 +113,4 @@ function update_event($date, $time) {
 }
 
 
-?>
+?>

+ 8 - 5
plugins/calendar/day.php

@@ -1,11 +1,14 @@
 <?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$
  */

+ 8 - 5
plugins/calendar/event_create.php

@@ -1,11 +1,14 @@
 <?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$
  */

+ 8 - 5
plugins/calendar/event_delete.php

@@ -1,11 +1,14 @@
 <?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$
  */

+ 8 - 5
plugins/calendar/event_edit.php

@@ -1,11 +1,14 @@
 <?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$
  */

+ 9 - 6
plugins/calendar/functions.php

@@ -1,11 +1,14 @@
 <?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$
  */
@@ -144,4 +147,4 @@ function select_option_day($selected) {
     }
 }
 
-?>
+?>

+ 13 - 13
plugins/calendar/index.php

@@ -1,17 +1,17 @@
 <?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();
 
-?>
+?>

+ 10 - 8
plugins/calendar/setup.php

@@ -1,25 +1,27 @@
 <?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 "&nbsp;&nbsp\n";
 }
 
-?>
+?>