setup.php 536 B

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