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