fix for folders in jerryr template

This commit is contained in:
reinerj 2004-02-10 10:57:02 +00:00
parent 7f8a0f5859
commit 12518cb8e0
2 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,11 @@
</script>';
}
// 030204 ndee for calling foldertree
$foldertree_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/js/foldertree/foldertree.js';
$js_foldertree = '<script src="'.$foldertree_src.'" type="text/javascript"></script>';
$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');

View File

@ -17,6 +17,7 @@
{simple_show_hide}
{pngfix}
{css}
{js_foldertree}
{java_script}
</head>
<!-- we don't need body tags anymore, do we?) we do!!! onload!! LK -->