setup.php 699 B

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