E_ALL is a moving target
[squirrelmail.git] / plugins / demo / functions.php
index 04bacc2..43d0aae 100644 (file)
@@ -4,7 +4,7 @@
 /**
   * SquirrelMail Demo Plugin
   *
-  * @copyright © 2006-2007 The SquirrelMail Project Team
+  * @copyright 2006-2012 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id$
   * @package plugins
   */
 function demo_page_header_template_do()
 {
-   global $oTemplate;
+   global $oTemplate, $nbsp;
 
    sq_change_text_domain('demo');
-   $nbsp = $oTemplate->fetch('non_breaking_space.tpl');
    $output = makeInternalLink('plugins/demo/demo.php', _("Demo"), '')
            . $nbsp . $nbsp;
    sq_change_text_domain('squirrelmail');