Location: PHPKode > projects > Entier Studio > entierstudio/studio/templates/treepage.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Entier Studio</title>
<script type="text/javascript">
var relocateURL = "/";

if( parent.frames.length == 0 ) {
	if( document.images )
		location.replace(relocateURL);
	else
		location = relocateURL;
}
</script>

<script src="scripts/treeview.js" type="text/javascript"></script>

<script type="text/javascript">
<!--
function LoadPage	()
{	
	//
	var page	= window.parent.frames["code"];
	if( typeof( page ) != "undefined" ) 
	{
		//
		page.location.reload();
		}
	}
//-->
</script>

<script type="text/javascript" id="load">
function MakeMenu	()
{
	////////
	//
	var Menu_root	= new MTMenu();
	//
	////////

	////////
	//
	Menu_root.addItem("{DIRPROJNAME}", "bodypage.php?__ctrl=Objectory&__view=Workspace&__user={DIRPUSRPKID}", "body", "", "task_link-0.gif", "home_link-0.gif" );
	var Menu_objectory= null;
		Menu_objectory= new MTMenu();
		//
		////////
		// Menu Objectory Resources start
		Menu_objectory.addItem( "Resources", "", "body", "", "", "" );
		var Menu_resources= null;
			Menu_resources= new MTMenu();
			////////
			// <Data Resource directory block>
			Menu_resources.addItem( "Data Sources", "mainpage.php?__ctrl=ObjectoryResource&__mode=form&__view=form&__user={DIRPUSRPKID}&type=1", "body", "", "", "" );
			var Menu_data_root= null;
				Menu_data_root= new MTMenu();
				////////
				//<block:obj-res-data>
				Menu_data_root.addItem( "{OBJRESONAME}", "mainpage.php?__ctrl=ObjectoryResource&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJRESOPKID}&type={DIRRESTPKID}&test=1", "body", "", "data_item-{DIRRESTPKID}.gif", "data_item-{DIRRESTPKID}.gif" );
				//</block:obj-res-data>
				////////
			Menu_resources.makeLastSubmenu( Menu_data_root, false, "data_root-0.gif", "data_root-1.gif" );
			// </Data Resource directory block>
			////////

			////////
			// host block
			Menu_resources.addItem( "Host Servers", "mainpage.php?__ctrl=ObjectoryResource&__mode=form&__view=form&__user={DIRPUSRPKID}&type=3", "body", "", "", "" );
			var Menu_host_root= null;
				Menu_host_root= new MTMenu();
				////////
				//<block:obj-res-host>
				Menu_host_root.addItem( "{OBJRESONAME}", "mainpage.php?__ctrl=ObjectoryResource&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJRESOPKID}&type={DIRRESTPKID}&test=1", "body", "", "host_item-1.gif", "host_item-1.gif" );
				//</block:obj-res-host>
				////////
			Menu_resources.makeLastSubmenu( Menu_host_root, false, "host_root-0.gif", "host_root-0.gif" );
			//
			////////
		Menu_objectory.makeLastSubmenu( Menu_resources, true, "data_base-0.gif", "data_base-1.gif" );
		//
		////////

		////////
		//	Menu Objectory Models start
		Menu_objectory.addItem( "Models", "", "body", "", "", "" );
		var Menu_models= null;
			Menu_models= new MTMenu();
			//
			////////
			// Menu Objectory.Models.elements start
			Menu_models.addItem( "Design models", "mainpage.php?__ctrl=ObjectoryElement&__mode=root&__mode=root&__view=root&__user={DIRPUSRPKID}&fkid={OBJECTOPKID}", "body", "Create a new model", "", "" );
			var Menu_eobj_root= null;
				Menu_eobj_root= new MTMenu();
				////////
				//<block:obj-mod-elist>
				Menu_eobj_root.addItem( "{OBJELEMNAME}", "mainpage.php?__ctrl=ObjectoryElement&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJELEMPKID}&type={OBJETYPPKID}&kind={OBJETYPCODE}", "body", "{OBJELEMCODE}", "elem_item-{OBJETYPPKID}.gif", "elem_item-{OBJETYPPKID}.gif" );
				Menu_eobj_{OBJELEMPKID}= new MTMenu();
				////////
				//<block:obj-mod-etree>
				Menu_eobj_{OBJELEMLINK}.addItem( "{OBJELEMNAME}", "mainpage.php?__ctrl=ObjectoryElement&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJELEMPKID}&type={OBJETYPPKID}&kind={OBJETYPCODE}", "body", "{OBJELEMCODE}", "elem_item-{OBJETYPPKID}.gif", "elem_item-{OBJETYPPKID}.gif" );
				Menu_eobj_{OBJELEMPKID}= new MTMenu();
				Menu_eobj_{OBJELEMLINK}.makeLastSubmenu( Menu_eobj_{OBJELEMPKID}, false, "elem_item-{OBJETYPPKID}.gif", "elem_item-{OBJETYPPKID}.gif" );
				//</block:obj-mod-etree>
				////////
				Menu_eobj_root.makeLastSubmenu( Menu_eobj_{OBJELEMPKID}, false, "elem_item-{OBJETYPPKID}.gif", "elem_item-{OBJETYPPKID}.gif" );
				//</block:obj-mod-elist>
				////////
				Menu_models.makeLastSubmenu( Menu_eobj_root, false, "elem_root-0.gif", "elem_root-1.gif" );
			// Menu Objectory.Models.elements end
			////////
			//
			////////
			// Menu Objectory.Models.components start
			Menu_models.addItem( "Deployment models", "mainpage.php?__ctrl=ObjectoryComponent&__mode=root&__mode=root&__view=root&__user={DIRPUSRPKID}&fkid={OBJECTOPKID}&type=1", "body", "Create a new model", "", "" );
			var Menu_cobj_root= null;
				Menu_cobj_root= new MTMenu();
				////////
				//<block:obj-mod-clist>
				Menu_cobj_root.addItem( "{OBJCOMPNAME}", "mainpage.php?__ctrl=ObjectoryComponent&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJCOMPPKID}&type={OBJCTYPTYPE}", "body", "", "code_item-{OBJCTYPPKID}.gif", "code_item-{OBJCTYPPKID}.gif" );
				Menu_cobj_{OBJCOMPPKID}= new MTMenu();
				////////
				//<block:obj-mod-ctree>
				Menu_cobj_{OBJCOMPLINK}.addItem( "{OBJCOMPNAME}", "mainpage.php?__ctrl=ObjectoryComponent&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJCOMPPKID}&type={OBJCTYPTYPE}", "body", "", "code_item-{OBJCTYPPKID}.gif", "code_item-{OBJCTYPPKID}.gif" );
				Menu_cobj_{OBJCOMPPKID}= new MTMenu();
				Menu_cobj_{OBJCOMPLINK}.makeLastSubmenu( Menu_cobj_{OBJCOMPPKID}, false, "code_item-{OBJCTYPPKID}.gif", "code_item-{OBJCTYPPKID}.gif" );
				//</block:obj-mod-ctree>
				////////
				Menu_cobj_root.makeLastSubmenu( Menu_cobj_{OBJCOMPPKID}, false, "code_item-{OBJCTYPPKID}.gif", "code_item-{OBJCTYPPKID}.gif" );
				//</block:obj-mod-clist>
				////////
				Menu_models.makeLastSubmenu( Menu_cobj_root, false, "code_root-0.gif", "code_root-1.gif" );
			// Menu Objectory.Models.components end
			////////
		Menu_objectory.makeLastSubmenu( Menu_models, true, "code_base-0.gif", "code_base-1.gif" );
		// Menu Objectory Models end
		////////
	Menu_root.makeLastSubmenu( Menu_objectory, true, "main_base-0.gif", "main_base-1.gif" );
	//	Menu Objectory end
	////////

	////////
	//	
	Menu_root.addItem( "Repository", "bodypage.php?__ctrl=Repository&__view=Workspace&__user={DIRPUSRPKID}", "body", "", "", "" );
	var Menu_repository= null;
		Menu_repository= new MTMenu();		

		////////
		// <elements dictionary block>		
		Menu_repository.addItem( "Dictionary", "bodypage.php?__ctrl=Dictionary&__view=Workspace&__user={DIRPUSRPKID}", "body", "", "", "" );
		////////
		var Menu_edic_0= null;
			Menu_edic_0= new MTMenu();
			////////
			//<block:rep-dic-plist>
			Menu_edic_0.addItem( "{DICPTYPLNAM}", "mainpage.php?__ctrl=DictionaryProperty&__mode=form&__view=form&__user={DIRPUSRPKID}&root={REPOSITPKID}&type={DICPTYPPKID}", "body", "Add a new property", "core_item-0.gif", "core_item-0.gif" );
			Menu_edic_{DICPTYPPKID}= new MTMenu();
			////////
			//<block:rep-dic-ptree>
			Menu_edic_{DICPTYPPKID}.addItem( "{DICPROPNAME}", "mainpage.php?__ctrl=DictionaryProperty&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={DICPROPPKID}&type={DICPTYPPKID}", "body", "", "core_item-1.gif", "core_item-1.gif" );
			//</block:rep-dic-ptree>
			////////
			Menu_edic_0.makeLastSubmenu( Menu_edic_{DICPTYPPKID}, false, "core_item-0.gif", "core_item-0.gif" );				
			//</block:rep-dic-plist>
			////////
		Menu_repository.makeLastSubmenu( Menu_edic_0, false, "core_root-0.gif", "core_root-0.gif" );
		// </elements dictionary block>
		////////

		////////
		// <Elements repository block>
		Menu_repository.addItem( "Elements", "", "body", "", "", "" );
		var Temp_erep	= 0;
		var Menu_erep_0	= null;
			Menu_erep_0	= new MTMenu();
			////////
			//<block:rep-mod-elist>
			Menu_erep_0.addItem( "{REPCELTLNAM}", "mainpage.php?__ctrl=RepositoryCoreElement&__mode=form&__view=form&__user={DIRPUSRPKID}&root={REPOSITPKID}&type={REPCELTPKID}", "body", "Add a new element", "meta_item-{REPCELTPKID}.gif", "meta_item-{REPCELTPKID}.gif" );
			Menu_erep_{REPCELTPKID}= new MTMenu();
			////////
			//<block:rep-mod-etree>
			Menu_erep_{REPCELTPKID}.addItem( "{REPCELENAME}", "mainpage.php?__ctrl=RepositoryCoreElement&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={REPCELEPKID}", "body", "", "meta_item-{REPCELTPKID}.gif", "meta_item-{REPCELTPKID}.gif" );			
			//</block:rep-mod-etree>
			////////
			Menu_erep_0.makeLastSubmenu( Menu_erep_{REPCELTPKID}, false, "meta_item-{REPCELTPKID}.gif", "meta_item-{REPCELTPKID}.gif" );
			//</block:rep-mod-elist>
			////////
		Menu_repository.makeLastSubmenu( Menu_erep_0, false, "meta_root-0.gif", "meta_root-0.gif" );
		// </Elements repository block>
		////////

		////////
		// <Components repository block>
		Menu_repository.addItem( "Components", "", "body", "", "", "" );
		var Menu_crep	= 0;
		var Menu_crep_0	= null;
			Menu_crep_0	= new MTMenu();
			////////
			//<block:rep-mod-clist>
			Menu_crep_0.addItem( "{REPCCOTLNAM}", "mainpage.php?__ctrl=RepositoryCoreComponent&__mode=form&__view=form&__user={DIRPUSRPKID}&root={REPOSITPKID}&type={REPCCOTPKID}", "body", "Add a new component", "make_item-{REPCCOTPKID}.gif", "make_item-{REPCCOTPKID}.gif" );
			Menu_crep_{REPCCOTPKID}= new MTMenu();
			////////
			//<block:rep-mod-ctree>
			Menu_crep_{REPCCOTPKID}.addItem( "{REPCCOMNAME}", "mainpage.php?__ctrl=RepositoryCoreComponent&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={REPCCOMPKID}", "body", "", "make_item-{REPCCOTPKID}.gif", "make_item-{REPCCOTPKID}.gif" );
			//</block:rep-mod-ctree>
			////////
			Menu_crep_0.makeLastSubmenu( Menu_crep_{REPCCOTPKID}, false, "make_item-{REPCCOTPKID}.gif", "make_item-{REPCCOTPKID}.gif" );
			//</block:rep-mod-clist>
			////////
		Menu_repository.makeLastSubmenu( Menu_crep_0, false, "make_root-0.gif", "make_root-0.gif" );
		// </Components repository block>
		////////

	Menu_root.makeLastSubmenu( Menu_repository, false, "meta_base-0.gif", "meta_base-1.gif" );
	//
	////////

	////////
	//	Menu Repository.directory start	
	Menu_root.addItem( "Directory", "bodypage.php?__ctrl=Directory&__view=Workspace&__user={DIRPUSRPKID}", "body", "", "", "" );
	////////
	var Menu_directory= null;
		Menu_directory= new MTMenu();
		// <Data Resource repository block>
		Menu_directory.addItem( "Data Sources", "mainpage.php?__ctrl=DirectoryResource&__mode=form&__view=form&__user={DIRPUSRPKID}&root={DIRECTOPKID}&type=1", "body", "Add a new data source", "", "" );
		var Menu_drep_0	= null;
			Menu_drep_0	= new MTMenu();
			////////			
			//<block:rep-res-dlist>
			Menu_drep_0.addItem( "{DIRRESONAME}", "mainpage.php?__ctrl=DirectoryResource&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={DIRRESOPKID}&type={DIRRESTPKID}", "body", "", "data_item-{DIRRESTPKID}.gif", "data_item-{DIRRESTPKID}.gif" );
			//</block:rep-res-dlist>
			////////
		Menu_directory.makeLastSubmenu( Menu_drep_0, false, "data_root-0.gif", "data_root-1.gif" );
		// </Data Resource repository block>
		////////

		// <File Resource repository block>
		//Menu_directory.addItem( "File Sources", "mainpage.php?__ctrl=DirectoryResource&__mode=form&__view=form&__user={DIRPUSRPKID}&root={DIRECTOPKID}&type=2", "body", "Add a new file source", "", "" );
		//var Menu_frep_0	= null;
		//	Menu_frep_0	= new MTMenu();
		//	////////			
		//	//<block:rep-res-flist>
		//	Menu_frep_0.addItem( "{DIRRESONAME}", "mainpage.php?__ctrl=DirectoryResource&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={DIRRESOPKID}&type={DIRRESTPKID}", "body", "", "file_item-{DIRRESTPKID}.gif", "file_item-{DIRRESTPKID}.gif" );
		//	//</block:rep-res-flist>
		//	////////
		//Menu_directory.makeLastSubmenu( Menu_frep_0, false, "file_root-0.gif", "file_root-1.gif" );
		// </File Resource repository block>
		////////
		
		////////
		// <Host Services repository block>
		Menu_directory.addItem( "Host Servers", "mainpage.php?__ctrl=DirectoryResource&__mode=form&__view=form&__user={DIRPUSRPKID}&root={DIRECTOPKID}&type=3", "body", "Add a new host server", "", "" );
		var Menu_hrep_0	= null;
			Menu_hrep_0	= new MTMenu();
			////////
			//<block:rep-res-hlist>
			Menu_hrep_0.addItem( "{DIRRESONAME}", "mainpage.php?__ctrl=DirectoryResource&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={DIRRESOPKID}&type={DIRRESTPKID}", "body", "", "host_root-1.gif", "host_root-1.gif" );
			//</block:rep-res-hlist>
			////////
		Menu_directory.makeLastSubmenu( Menu_hrep_0, false, "host_root-0.gif", "host_root-0.gif" );
		// </Host Services repository block>
		////////
	//	Menu Repository.directory end
	////////
	Menu_root.makeLastSubmenu( Menu_directory, false, "meta_base-0.gif", "meta_base-1.gif" );
	//
	////////
		
	////////
	//
	menu	= null;
	menu	= Menu_root;
	//
	////////
	}
	</script>
</head>
<body bgcolor="#ffffff" onload="LoadPage()">
</body>
</html>
Return current item: Entier Studio