git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11837
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$oTemplate = Template::construct_template($sTemplateID);
// We want some variables to always be available to the template
-$always_include = array('sTemplateID', 'icon_theme_path');
+$always_include = array('sTemplateID', 'icon_theme_path', 'javascript_on');
foreach ($always_include as $var) {
$oTemplate->assign($var, (isset($$var) ? $$var : NULL));
}
$oTemplate = Template::construct_template($sTemplateID);
// We want some variables to always be available to the template
- $always_include = array('sTemplateID', 'icon_theme_path');
+ $always_include = array('sTemplateID', 'icon_theme_path', 'javascript_on');
foreach ($always_include as $var) {
$oTemplate->assign($var, (isset($$var) ? $$var : NULL));
}