Update copyrights to 2010
[squirrelmail.git] / plugins / demo / demo.php
CommitLineData
0aa6aa6f 1<?php
2
3/**
4 * SquirrelMail Demo Plugin
5 *
6 * This page is used as a place holder for custom plugin
7 * pages that are accessed directly by the client.
8 *
1977ab55 9 * @copyright 2006-2010 The SquirrelMail Project Team
0aa6aa6f 10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
11 * @version $Id$
12 * @package plugins
13 * @subpackage demo
14 */
15
16
17include_once('../../include/init.php');
18
19
20// Make sure plugin is activated!
21//
22global $plugins;
23if (!in_array('demo', $plugins))
24 exit;
25
26
27global $oTemplate, $color;
43fae176 28displayPageHeader($color, '');
0aa6aa6f 29
30$oTemplate->display('plugins/demo/demo.tpl');
31$oTemplate->display('footer.tpl');
32
33
34