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