Update copyrights to 2010
[squirrelmail.git] / plugins / calendar / functions.php
index dedeb8ee938de31b41c6b448d8d37cf4dc7cceac..305eaf8beead793a8180d9ea6d84e1764994b7a2 100644 (file)
@@ -3,13 +3,28 @@
 /**
  * Other calendar plugin functions.
  *
- * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @copyright 2002-2010 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage calendar
  */
 
+/**
+  * Add link to menu at top of content pane
+  *
+  * @return void
+  *
+  */
+function calendar_do() {
+
+    global $oTemplate, $nbsp;
+    $output = makeInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right')
+            . $nbsp . $nbsp;
+    return array('menuline' => $output);
+
+}
+
 /**
  * Adds second layer of calendar links to upper menu
  * @return void
@@ -189,4 +204,3 @@ function select_option_day($selected) {
     }
 }
 
-?>
\ No newline at end of file