diff --git a/phpgwapi/templates/jerryr/head.inc.php b/phpgwapi/templates/jerryr/head.inc.php index ba85aafacd..683f3af296 100644 --- a/phpgwapi/templates/jerryr/head.inc.php +++ b/phpgwapi/templates/jerryr/head.inc.php @@ -62,6 +62,11 @@ '; } +// 030204 ndee for calling foldertree + + $foldertree_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/foldertree/foldertree.js'; + $js_foldertree = ''; + $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); $tpl->set_unknowns('remove'); $tpl->set_file(array('_head' => 'head.tpl')); @@ -84,6 +89,7 @@ 'theme_css' => $theme_css, 'css' => $GLOBALS['phpgw']->common->get_css(), 'java_script' => $GLOBALS['phpgw']->common->get_java_script(), + 'js_foldertree' => $js_foldertree, ); $tpl->set_var($var); $tpl->pfp('out','head'); diff --git a/phpgwapi/templates/jerryr/head.tpl b/phpgwapi/templates/jerryr/head.tpl index 08cb9286d7..b6e4144929 100644 --- a/phpgwapi/templates/jerryr/head.tpl +++ b/phpgwapi/templates/jerryr/head.tpl @@ -17,6 +17,7 @@ {simple_show_hide} {pngfix} {css} + {js_foldertree} {java_script}