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