Remove hook call from template; fix all corresponding core plugins.
[squirrelmail.git] / plugins / calendar / functions.php
index e29617bad9b3dec9f48ba147f042fc778ce48b0a..16d83720c5cd39dc41268c0608a8bb7ff958d8fe 100644 (file)
  * @subpackage calendar
  */
 
+/**
+  * Add link to menu at top of content pane
+  *
+  * @return void
+  *
+  */
+function calendar_do() {
+
+    global $oTemplate;
+    $nbsp = $oTemplate->fetch('non_breaking_space.tpl');
+    $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