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 | * |
9 | * @copyright © 2006-2007 The SquirrelMail Project Team |
10 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
11 | * @version $Id$ |
12 | * @package plugins |
13 | * @subpackage demo |
14 | */ |
15 | |
16 | |
17 | include_once('../../include/init.php'); |
18 | |
19 | |
20 | // Make sure plugin is activated! |
21 | // |
22 | global $plugins; |
23 | if (!in_array('demo', $plugins)) |
24 | exit; |
25 | |
26 | |
27 | global $oTemplate, $color; |
43fae176 |
28 | displayPageHeader($color, ''); |
0aa6aa6f |
29 | |
30 | $oTemplate->display('plugins/demo/demo.tpl'); |
31 | $oTemplate->display('footer.tpl'); |
32 | |
33 | |
34 | |