forked from extern/egroupware
fix for folders in jerryr template
This commit is contained in:
parent
7f8a0f5859
commit
12518cb8e0
@ -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');
|
||||
|
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user