Make newmail plugin work again, various small cleanup and add ability for admin to...
[squirrelmail.git] / plugins / calendar / functions.php
index dedeb8ee938de31b41c6b448d8d37cf4dc7cceac..bda182c55705a1d6c703434c55a39771a2ea45bf 100644 (file)
@@ -3,13 +3,28 @@
 /**
  * Other calendar plugin functions.
  *
- * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @copyright © 2002-2007 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