Location: PHPKode > projects > Entier Studio > entierstudio/studio/templates/OnlineDataResourceExport-view.2.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Entier Studio</title>
<script src="../scripts/common.{USERBROWSER}.js" type="text/javascript" language="javascript"></script>
<link rel="stylesheet" type="text/css" href="../styles/pageview.{USERBROWSER}.css">
<link rel="stylesheet" type="text/css" href="../styles/menuview.{USERBROWSER}.css">
<link rel="stylesheet" type="text/css" href="../styles/formview.{USERBROWSER}.css">
<link rel="stylesheet" type="text/css" href="../styles/gridview.{USERBROWSER}.css">
<link rel="stylesheet" type="text/css" href="styles/listview.{USERBROWSER}.css">
</head>

<body>

<div id="p-body" class="formPlace" style="TOP: 0px; LEFT: 0px; WIDTH: 100%; HEIGHT:100%; POSITION: absolute">

<form name="form" method="post" action="mainpage.php" target="_parent">
<input type="hidden" name="__ctrl" value="OnlineDataResourceExport">
<input type="hidden" name="__mode" value="view">
<input type="hidden" name="__view" value="pane">
<input type="hidden" name="__user" value="{DIRPUSRPKID}">
<input type="hidden" name="pkid" value="{OBJELEMPKID}">
<input type="hidden" name="rkid" value="{OBJRESOPKID}">
<input type="hidden" name="type" value="{OBJETYPPKID}">
<input type="hidden" name="item" value="{TMPNODENAME}">
<input type="hidden" name="path" value="{TMPNODEPATH}">
<input type="hidden" name="kind" value="{TMPTYPENAME}">
<input type="hidden" name="step" value="1">

<div id="p-form" class="formPanelInFrame">
<!-- tabView : start -->
<table class="tabView" cellspacing="0" cellpadding="3">
<thead>
<tr>
	<td class="tabHead" colspan="2">
	<table class="tabHeader">
	<tr> 
		<td width="80%" align="left" class="tabTitle"><img src="images/elem_item-{OBJETYPPKID}.gif" alt="Icon" class="formIcon">&nbsp;{OBJETYPNAME}&nbsp;{OBJELEMNAME}&nbsp;data mapping</td>
		<td width="20%" align="right" >
		<table border="0" cellpadding="0" cellspacing="0">
		<tbody>
			<tr><td class="square1"></td><td class="square2"></td><td class="square3"></td></tr>
			<tr><td class="square2"></td><td class="square3"></td><td class="square4"></td></tr>
		</tbody>
		</table>
		</td>
	</tr>
	</table>
	</td>
</tr>
</thead>
<tbody>
<tr>
	<td id="t1" class="selItem" width="10%">Mapping</td>
	<td id="t2" class="tabFill" width="90%">&nbsp;</td>
</tr>
<tr>
	<td id="tabPane" class="tabBody" colspan="2">		
	<!-- Pane 1 : debut -->
	<table id="t1page" class="tabPage" cellspacing="0" cellpadding="3">
	<tbody>
	<tr><td width="100%" colspan="3"><div class="tabViewLightLine"></div></td></tr>
	<tr valign="middle">
		<td align="left"	width="20%"><div class="formLabel">&nbsp;Table</div></td>
		<td align="center"	width="60%"><div class="formInput" style="BACKGROUND-COLOR: buttonHighLight; BORDER: 1px inset buttonShadow" title="drop a table from the side tree"
										ondrop="fViewOnDrop(this, 'table' )" 
										ondragenter="fViewOnDragOver()" 
										ondragover="fViewOnDragOver()" 
										ondragstart="fViewOnDragStart(this,window.event)" 
										>&nbsp;{TMPNODENAME}</div></td>
		<td align="left"	width="20%">&nbsp;</td>
	</tr>
	<tr valign="middle">
		<td align="left"	width="20%"><div class="formLabel">&nbsp;Name</div></td>
		<td align="center"	width="60%"><input class="formInput" name="name" value="{TMPNODENAME}"></td>
		<td align="left"	width="20%"><input class="formCheckBox" type="checkbox" name="namepref">&nbsp;- prefix -</td>
	</tr>
	<tr valign="middle">
		<td align="left"	width="20%"><div class="formLabel">&nbsp;Identifier</div></td>
		<td align="center"	width="60%"><input class="formInput" name="code" value="{TMPNODENAME}"></td>
		<td align="left"	width="20%"><input class="formCheckBox" type="checkbox" name="codepref">&nbsp;- prefix -</td>
	</tr>
	<tr valign="middle">
		<td align="left"	width="20%"><div class="formLabel">&nbsp;Instancier</div></td>
		<td align="center"	width="60%"><input class="formInput" name="inam" value="{TMPNODENAME}"></td>
		<td align="left"	width="20%"><input class="formCheckBox" type="checkbox" name="inampref">&nbsp;- prefix -</td>
	</tr>
	</tbody>
	</table>	

	</td>
</tr>
<tr valign="middle">
	<td class="tabFoot" colspan="2">
	<table class="tabFooter">
	<tr>
		<td width="100%" align="center"><input type="submit" value="Prepare" style="WIDTH: 40%"></td>
	</tr> 
	</table>
	</td>
</tr>

</tbody>
</table>
<!-- tabView : end -->
</div>
</form>
</div>

<script type="text/javascript" language="javascript">
// Global structures
var gDragData = null;
var gDragName = null;
//
function fViewOnDragOver() {
	event.returnValue = false;
	if( window.event.dataTransfer.getData("Text") )
		window.event.dataTransfer.dropEffect = "copy";
	}

//
function fViewOnDragStart	( theDrag, event ) {
	if (!event.dataTransfer) {
		alert("This version of IE does not support Drag n' Drop");
		return;
		}
	if( ( theDrag ) && ( gDragData != null ) ) {
		//
		event.dataTransfer.effectAllowed = "copy";
		event.dataTransfer.setData		( "Text", gDragData );
		event.dataTransfer.clearData	( "HTML" );
		event.dataTransfer.clearData	( "Image");
		}
	}

//
function fViewOnDrop	( theDrop, type )
{
	//
	try
	{
		var data = unescape( window.event.dataTransfer.getData("Text") );
		if( data && (data != "" ) ) {
			//
			eval( "var theItem=parent." + data + ";");
			//
			if( theItem && ( theItem.type== type) ) {
				//
				var theName	= theItem.name;
				var theKind	= theItem.type;
				var thePath	= theItem.path;
				//
				theDrop.innerHTML	= theName;
				form.name.value		= theName;
				form.code.value		= theName;
				form.inam.value		= theName;
				//
				gDragData			= data;
				gDragName			= theName;
				//
				form.item.value		= theName;
				form.kind.value		= theKind;
				form.path.value		= thePath;
				}
			else
				window.alert( "Drop a table!");
			}
		}
	catch(e)
	{
		alert("This object can't be dropped!");
		}
	}

</script>

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