Esempio n. 1
0
function draw_html_left_tree($fp, $tree_id)
{
    /* create the treeview representation for the html data */
    grow_dhtml_trees_export($fp, $tree_id);
    fwrite($fp, "<script type='text/javascript'>initializeDocument();</script>\n");
    fwrite($fp, "<script type='text/javascript'>\n");
    fwrite($fp, "var obj;\n");
    fwrite($fp, "obj = findObj(1);\n");
    fwrite($fp, "if (!obj.isOpen) {\n");
    fwrite($fp, "clickOnNode(1);\n");
    fwrite($fp, "}\n");
    fwrite($fp, "clickOnLink(2,'','main');\n");
    fwrite($fp, "</script>\n");
    fwrite($fp, "</td>\n");
    fwrite($fp, "<td valign='top'>\n");
}
Esempio n. 2
0
function draw_html_left_tree($fp,$tree_id)  {
	/* write the code for the tree at the left */
	fwrite($fp,"<table width='98%' border: 1px solid #bbbbbb;' align='center'><tr>\n");
	fwrite($fp,"<td valign=\"top\" style=\"padding: 5px; border-right: #aaaaaa 1px solid;\" bgcolor='#efefef' width='20%'>\n");
	fwrite($fp,"<table border=0 cellpadding=0 cellspacing=0><tr><td><font size=-2><a style=\"font-size:7pt;text-decoration:none;color:silver\" href=\"http://www.treemenu.net/\" target=_blank></a></font></td></tr></table>\n");
	grow_dhtml_trees_export($fp,$tree_id);
	fwrite($fp,"<script type=\"text/javascript\">initializeDocument();</script>\n");
	fwrite($fp,"<script type=\"text/javascript\">\n");
	fwrite($fp,"var obj;\n");
	fwrite($fp,"obj = findObj(1);\n");
	fwrite($fp,"if (!obj.isOpen) {\n");
	fwrite($fp,"clickOnNode(1);\n");
	fwrite($fp,"}\n");
	fwrite($fp,"clickOnLink(2,'','main');\n");
	fwrite($fp,"</script>\n");
	fwrite($fp,"</td><td>\n");
}
Esempio n. 3
0
function draw_html_left_tree($fp, $tree_id, $node)
{
    /* create the treeview representation for the html data */
    grow_dhtml_trees_export($fp, $tree_id, $node);
    fwrite($fp, "</td></tr></table></td>\n");
    fwrite($fp, "<td valign='top' style='padding: 5px; border-right: #aaaaaa 1px solid;'>\n");
    fwrite($fp, "<div id='main' style='position:static;'>\n");
}