mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
modified for use of foldertree in felamimail (and other apps later..)
This commit is contained in:
parent
be72c612c4
commit
7f8a0f5859
@ -62,6 +62,11 @@
|
|||||||
</script>';
|
</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 = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||||
$tpl->set_unknowns('remove');
|
$tpl->set_unknowns('remove');
|
||||||
$tpl->set_file(array('_head' => 'head.tpl'));
|
$tpl->set_file(array('_head' => 'head.tpl'));
|
||||||
@ -84,6 +89,7 @@
|
|||||||
'theme_css' => $theme_css,
|
'theme_css' => $theme_css,
|
||||||
'css' => $GLOBALS['phpgw']->common->get_css(),
|
'css' => $GLOBALS['phpgw']->common->get_css(),
|
||||||
'java_script' => $GLOBALS['phpgw']->common->get_java_script(),
|
'java_script' => $GLOBALS['phpgw']->common->get_java_script(),
|
||||||
|
'js_foldertree' => $js_foldertree,
|
||||||
);
|
);
|
||||||
$tpl->set_var($var);
|
$tpl->set_var($var);
|
||||||
$tpl->pfp('out','head');
|
$tpl->pfp('out','head');
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
{simple_show_hide}
|
{simple_show_hide}
|
||||||
{pngfix}
|
{pngfix}
|
||||||
{css}
|
{css}
|
||||||
|
{js_foldertree}
|
||||||
{java_script}
|
{java_script}
|
||||||
</head>
|
</head>
|
||||||
<!-- we don't need body tags anymore, do we?) we do!!! onload!! LK -->
|
<!-- we don't need body tags anymore, do we?) we do!!! onload!! LK -->
|
||||||
|
Loading…
Reference in New Issue
Block a user