Location: PHPKode > projects > Entier Studio > entierstudio/studio/templates/RepositoryElementExport-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="RepositoryElementExport">
<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="link" value="{OBJELEMPKID}">
<input type="hidden" name="bind" value="{REPMELEPKID}">
<input type="hidden" name="type" value="{OBJETYPPKID}">
<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;Model importation</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%">Importation</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;Model</div></td>
			<td align="center"	width="60%"><div class="formInput" style="BACKGROUND-COLOR: buttonHighLight;BORDER: 1px solid buttonShadow" 
												ondrop="fViewOnDrop(this, 'model' )" 
												ondragenter="fViewOnDragOver()" 
												ondragover="fViewOnDragOver()" 
												ondragstart="fViewOnDragStart(this,window.event)">&nbsp;{REPMELENAME}</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="{OBJELEMNAME} {REPMELENAME}"></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="{OBJELEMCODE}{REPMELECODE}"></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="{OBJELEMINAM}{REPMELEINAM}"></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, mode )
{
	//
	try
	{
		var data = unescape( window.event.dataTransfer.getData("Text") );
		if( data && (data != "" ) ) {
			//
			eval( "var theItem=parent." + data + ";");
			//		
			if( theItem && ( theItem.mode== mode) )
			{
				//
				var theName	= theItem.name;
				var thePkid	= theItem.pkid;
				//
				theDrop.innerHTML	= theName;
				form.name.value		= form.name.value + " " + theName;
				form.code.value		= form.code.value + theName;
				form.inam.value		= form.inam.value + theName;
				//
				gDragData			= data;
				gDragName			= theName;
				//
				form.bind.value		= thePkid;
				}
			}
		}
	catch(e)
	{
		alert("This object can't be dropped!");
		}
	}

</script>

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