fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / calendar / setup.php
1 <?php
2
3 /**
4 * Calendar plugin activation script
5 *
6 * @copyright 2002-2021 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
8 * @version $Id$
9 * @package plugins
10 * @subpackage calendar
11 */
12
13 /**
14 * Register this plugin with SquirrelMail
15 *
16 * @return void
17 *
18 */
19 function squirrelmail_plugin_init_calendar() {
20
21 global $squirrelmail_plugin_hooks;
22
23 $squirrelmail_plugin_hooks['template_construct_page_header.tpl']['calendar']
24 = 'calendar';
25
26 }
27
28
29 /**
30 * Add link to menu at top of content pane
31 *
32 * @return void
33 *
34 */
35 function calendar() {
36
37 include_once(SM_PATH . 'plugins/calendar/functions.php');
38 return calendar_do();
39
40 }
41
42