All this document.write stuff is overkill when we already have checkForJavascript...
[squirrelmail.git] / plugins / calendar / setup.php
index f1121f7bff1075d8a21597bf397aa077d1fac085..d4ecff5fc8a1316d94c94358869da1d29077bb24 100644 (file)
@@ -1,16 +1,11 @@
 <?php
 
 /**
- * setup.php
+ * Calendar plugin activation script
  *
- * Copyright (c) 2002-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
- *
- * init plugin into squirrelmail
- *
- * $Id$ 
+ * @copyright &copy; 2002-2007 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package plugins
  * @subpackage calendar
  */
@@ -24,10 +19,11 @@ function squirrelmail_plugin_init_calendar() {
     $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
 }
 
+/**
+ * Adds Calendar link to upper menu
+ * @return void
+ */
 function calendar() {
-    /* Add Calendar link to upper menu */
     displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
     echo "&nbsp;&nbsp;\n";
 }
-
-?>