fix strict js/css notices (#1778815)
[squirrelmail.git] / plugins / demo / functions.php
CommitLineData
0aa6aa6f 1<?php
2
3
4/**
5 * SquirrelMail Demo Plugin
6 *
7 * @copyright &copy; 2006-2007 The SquirrelMail Project Team
8 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
9 * @version $Id$
10 * @package plugins
11 * @subpackage demo
12 */
13
14
15/**
16 * Add link to menu at top of content pane
17 *
18 * @return void
19 *
20 */
21function demo_page_header_template_do()
22{
23 global $oTemplate;
24
25 sq_change_text_domain('demo');
26 $nbsp = $oTemplate->fetch('non_breaking_space.tpl');
27 $output = makeInternalLink('plugins/demo/demo.php', _("Demo"), '')
28 . $nbsp . $nbsp;
29 sq_change_text_domain('squirrelmail');
30
31 return array('menuline' => $output);
32}
33
34
35