Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other...
[squirrelmail.git] / plugins / calendar / setup.php
CommitLineData
d61a01d4 1<?php
7c67a5e8 2
3/**
4 * setup.php
5 *
6c84ba1e 6 * Copyright (c) 2002-2005 The SquirrelMail Project Team
7c67a5e8 7 * Licensed under the GNU GPL. For full terms see the file COPYING.
d61a01d4 8 *
7c67a5e8 9 * Originally contrubuted by Michal Szczotka <michal@tuxy.org>
d61a01d4 10 *
598294a7 11 * Init plugin into SquirrelMail
d61a01d4 12 *
91e0dccc 13 * $Id$
ea5f4b8e 14 * @package plugins
15 * @subpackage calendar
d61a01d4 16 */
17
ea5f4b8e 18/**
19 * Initialize the plugin
20 * @return void
21 */
d61a01d4 22function squirrelmail_plugin_init_calendar() {
23 global $squirrelmail_plugin_hooks;
24 $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
25}
26
27function calendar() {
7c67a5e8 28 /* Add Calendar link to upper menu */
d61a01d4 29 displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
1ba8cd6b 30 echo "&nbsp;&nbsp;\n";
d61a01d4 31}
32
91e0dccc 33?>