| 1 | <?php |
| 2 | /* |
| 3 | * setup.php |
| 4 | * |
| 5 | * Copyright (c) 2001 Michal Szczotka <michal@tuxy.org> |
| 6 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 7 | * |
| 8 | * init plugin into squirrelmail |
| 9 | * |
| 10 | * $Id$ |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | function squirrelmail_plugin_init_calendar() { |
| 15 | global $squirrelmail_plugin_hooks; |
| 16 | $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar'; |
| 17 | } |
| 18 | |
| 19 | function calendar() { |
| 20 | //Add Calendar link to upper menu |
| 21 | displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right'); |
| 22 | echo "  \n"; |
| 23 | } |
| 24 | |
| 25 | ?> |