From: Michael M Slusarz Date: Tue, 9 Nov 2010 08:13:27 +0000 (-0700) Subject: Fix javascript output in Nag X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0397f27185d966a84c544244a124dce2f094f9f0;p=horde.git Fix javascript output in Nag --- diff --git a/nag/templates/common-header.inc b/nag/templates/common-header.inc index 7c8c69222..9917491dc 100644 --- a/nag/templates/common-header.inc +++ b/nag/templates/common-header.inc @@ -14,8 +14,13 @@ if (!empty($title)) { $page_title .= ' :: ' . $title; } +Horde::addInlineJsVars(array( + '-var Nag' => '{}' +), array('top' => true)); + Horde::outputMetaTags(); Horde::includeScriptFiles(); +Horde::outputInlineScript(); Horde::addStylesheetFile($registry->get('themesfs') . '/categoryCSS.php', $registry->get('themesuri') . '/categoryCSS.php'); @@ -27,9 +32,6 @@ $bc = $prefs->getValue('show_panel') <?php echo htmlspecialchars($page_title) ?> - >