| 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 | */ |
| 11 | |
| 12 | |
| 13 | function squirrelmail_plugin_init_calendar() { |
| 14 | global $squirrelmail_plugin_hooks; |
| 15 | $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar'; |
| 16 | } |
| 17 | |
| 18 | function calendar() { |
| 19 | //Add Calendar link to upper menu |
| 20 | displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right'); |
| 21 | echo "  \n"; |
| 22 | } |
| 23 | |
| 24 | ?> |