<?php
-/*
- * setup.php
- *
- * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * init plugin into squirrelmail
+
+/**
+ * Calendar plugin activation script
*
- * $Id$
+ * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage calendar
*/
-
+/**
+ * Initialize the plugin
+ * @return void
+ */
function squirrelmail_plugin_init_calendar() {
global $squirrelmail_plugin_hooks;
$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 "  \n";
+ echo " \n";
}
-
-?>
\ No newline at end of file