Add convenience function; keep track of multi-value widget types in one place
[squirrelmail.git] / plugins / calendar / functions.php
index e29617bad9b3dec9f48ba147f042fc778ce48b0a..bda182c55705a1d6c703434c55a39771a2ea45bf 100644 (file)
  * @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