prevent output in plugins/*/setup.php files.
[squirrelmail.git] / plugins / calendar / setup.php
CommitLineData
d61a01d4 1<?php
7c67a5e8 2
3/**
4 * setup.php
5 *
7c67a5e8 6 * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
d61a01d4 7 *
598294a7 8 * Init plugin into SquirrelMail
d61a01d4 9 *
4b4abf93 10 * @copyright &copy; 2002-2005 The SquirrelMail Project Team
11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @version $Id$
ea5f4b8e 13 * @package plugins
14 * @subpackage calendar
d61a01d4 15 */
16
ea5f4b8e 17/**
18 * Initialize the plugin
19 * @return void
20 */
d61a01d4 21function squirrelmail_plugin_init_calendar() {
22 global $squirrelmail_plugin_hooks;
23 $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
24}
25
26function calendar() {
7c67a5e8 27 /* Add Calendar link to upper menu */
d61a01d4 28 displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
1ba8cd6b 29 echo "&nbsp;&nbsp;\n";
d61a01d4 30}
31
91e0dccc 32?>