d61a01d4 |
1 | <?php |
7c67a5e8 |
2 | |
3 | /** |
1c7143ad |
4 | * Calendar plugin activation script |
7c67a5e8 |
5 | * |
1c7143ad |
6 | * @copyright © 2002-2006 The SquirrelMail Project Team |
4b4abf93 |
7 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
8 | * @version $Id$ |
ea5f4b8e |
9 | * @package plugins |
10 | * @subpackage calendar |
d61a01d4 |
11 | */ |
12 | |
ea5f4b8e |
13 | /** |
14 | * Initialize the plugin |
15 | * @return void |
16 | */ |
d61a01d4 |
17 | function squirrelmail_plugin_init_calendar() { |
18 | global $squirrelmail_plugin_hooks; |
19 | $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar'; |
20 | } |
21 | |
1c7143ad |
22 | /** |
23 | * Adds Calendar link to upper menu |
24 | * @return void |
25 | */ |
d61a01d4 |
26 | function calendar() { |
d61a01d4 |
27 | displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right'); |
1ba8cd6b |
28 | echo " \n"; |
d61a01d4 |
29 | } |