d61a01d4 |
1 | <?php |
7c67a5e8 |
2 | |
3 | /** |
4 | * setup.php |
5 | * |
82d304a0 |
6 | * Copyright (c) 2002-2004 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 | * |
7c67a5e8 |
11 | * init plugin into squirrelmail |
d61a01d4 |
12 | * |
2c85de8f |
13 | * $Id$ |
ea5f4b8e |
14 | * @package plugins |
15 | * @subpackage calendar |
d61a01d4 |
16 | */ |
17 | |
ea5f4b8e |
18 | /** |
19 | * Initialize the plugin |
20 | * @return void |
21 | */ |
d61a01d4 |
22 | function squirrelmail_plugin_init_calendar() { |
23 | global $squirrelmail_plugin_hooks; |
24 | $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar'; |
25 | } |
26 | |
27 | function calendar() { |
7c67a5e8 |
28 | /* Add Calendar link to upper menu */ |
d61a01d4 |
29 | displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right'); |
1ba8cd6b |
30 | echo " \n"; |
d61a01d4 |
31 | } |
32 | |
7c67a5e8 |
33 | ?> |