Location: PHPKode > projects > Entier Studio > entierstudio/studio/templates/OnlineDataResourceExport-tree.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Data Explorer</title>

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

<script type="text/javascript">
// Framebuster script to relocate browser when MSIE bookmarks this
// page instead of the parent frameset.  Set variable relocateURL to
// the index document of your website (relative URLs are ok):

var relocateURL = "/";

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

</script>

<script type="text/javascript">
// Morten's JavaScript Tree Menu
// version 2.3.1, dated 2002-02-02
// http://www.treemenu.com/

// Copyright (c) 2001-2002, Morten Wang & contributors
// All rights reserved.

// This software is released under the BSD License which should accompany
// it in the file "COPYING".  If you do not have this file you can access
// the license through the WWW at http://www.treemenu.com/license.txt

// Nearly all user-configurable options are set to their default values.
// Have a look at the section "Setting options" in the installation guide
// for description of each option and their possible values.

/******************************************************************************
* User-configurable options.                                                  *
******************************************************************************/

// Menu table width, either a pixel-value (number) or a percentage value.
MTMTableWidth		= "100%";

// Name of the frame where the menu is to appear.
MTMenuFrame			= "tree";

// Name of the frame which contains code.html
MTMCodeFrame		= "code";

MTMSubsGetPlus		= "Always";
MTMEmulateWE		= true;
MTMAlwaysLinkIfWE	= false;
MTMDragAction		= true; 

// Directory of menu images/icons
MTMenuImageDirectory= "images/";

// Options for controlling the menu document
MTMDOCTYPE			= '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
MTMcontentType		= "text/html; charset=ISO-8859-1";

// Variables for controlling colors in the menu document.
// Regular BODY atttributes as in HTML documents.
MTMbgcolor			= "#ffffff";
MTMBackground		= "";
MTMTextColor		= "#00CCFF";

// color for all menu items
MTMLinkColor		= "#333367";

// Hover color, when the mouse is over a menu link
MTMAhoverColor		= "#3366FF";

// Foreground color for the tracking, clicked submenu and not linked submenu items.
// The latter only applies when MTMEmulateWE is true and MTMAlwaysLinkIfWE is false.
MTMTrackColor		= "#CCFFCC";
MTMSubExpandColor	= "blue";
MTMSubClosedColor	= "blue";


// All options regarding the root text and it's icon
MTMRootIcon			= "data_root-0.gif";
MTMenuText			= "<b>Data Services</b>";
MTMRootColor		= "#3366FF";
MTMRootFont			= "Arial, Helvetica, sans-serif";
MTMRootCSSize		= "80%";
MTMRootFontSize		= "-2";

// Font for menu items.
MTMenuFont			= "Arial, Helvetica, sans-serif";
MTMenuCSSize		= "72%";
MTMenuFontSize		= "-1";

// Variables for style sheet usage
// 'true' means use a linked style sheet.
MTMLinkedSS			= true;
MTMSSHREF			= "../styles/treeview.{USERBROWSER}.css";

// Scrollbar colour properties.  Supported by IE5.5 and newer versions.
// Set MTMuseScrollbarCSS to "true" then set the various colour properties
// as strings.  If you want the browser's default values, use "none".
MTMuseScrollbarCSS			= true;
MTMscrollbarBaseColor		= "none";
MTMscrollbarFaceColor		= "none";
MTMscrollbarHighlightColor	= "none";
MTMscrollbarShadowColor		= "none";
MTMscrollbar3dLightColor	= "none";
MTMscrollbarArrowColor		= "none";
MTMscrollbarTrackColor		= "none";
MTMscrollbarDarkShadowColor = "none";

// Header & footer
MTMHeader				= "";
MTMFooter				= "";

// open sub-menu automagically close
MTMSubsAutoClose		= false;

// TimeOut
MTMTimeOut				= 10;

// user right-clicks message
MTMrightClickMessage	= "";

// URL for a linked JavaScript file (.js)
MTMLinkedJSURL			= "";
MTMLinkedInitFunction	= "";

// Cookie usage.
MTMUseCookies			= false;
MTMCookieName			= "MTMCookie";
MTMCookieDays			= 3;
MTMTrackedCookieName	= "MTMTracked";

// Tool tips.  
MTMUseToolTips			= true;


/******************************************************************************
* User-configurable menu.                                                     *
******************************************************************************/
////////
// Main menu.
var menu= null;
	menu= new MTMenu();	
	////////
	//
	MTMDragItem = false;
	menu.addItem( "{OBJRESONAME}", "", "", "", "", "data_item-1.gif", "data_item-1.gif" );
	var Drag_data;
	var Menu_data_root= null;
		Menu_data_root= new MTMenu();
		////////
		//<block:table-list>
		MTMDragItem = true;
		Drag_data	= "pkid={NodePkid};name={NodeName};path={DataPath};type={TypeName}";		
		Menu_data_root.addItem( "{NodeName}", "mainpage.php?__ctrl=OnlineDataResourceExport&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJLINKPKID}&type={OBJLINKTYPE}&rkid={OBJRESOPKID}&name={NodeName}&path={DataPath}&kind={TypeName}", "view", Drag_data, "Drag the table in the upper view", "data_item-2.gif", "data_item-2.gif" );
		Menu_data_{NodePkid}= new MTMenu();
		////////
		//<block:field-list>
		MTMDragItem = true;
		Drag_data	= "pkid={NodePkid};name={NodeName};path={DataPath};type={TypeName}";		
		Menu_data_{NodePkid}.addItem( "{NodeName}", "mainpage.php?__ctrl=OnlineDataResourceExport&__mode=view&__view=view&__user={DIRPUSRPKID}&pkid={OBJLINKPKID}&type={OBJLINKTYPE}&rkid={OBJRESOPKID}&name={NodeName}&path={DataPath}&kind={TypeName}", "view", Drag_data, "", "data_item-3.gif", "data_item-3.gif" );
		//</block:field-list>
		////////
		Menu_data_root.makeLastSubmenu( Menu_data_{NodePkid}, false, "data_item-2.gif", "data_item-2.gif" );
		//</block:table-list>
		////////
	menu.makeLastSubmenu( Menu_data_root, true, "data_item-1.gif", "data_item-1.gif" );
	//
	////////
	MTMEnableDrag = true;
//
////////
</script>

</head>
<body onload="MTMStartMenu()" bgcolor="#000000">

</body>
</html>
 
 
Return current item: Entier Studio