modified for use of foldertree in felamimail (and other apps later..)

This commit is contained in:
ak703 2004-02-09 23:44:46 +00:00
parent be72c612c4
commit 7f8a0f5859
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 -->