Location: PHPKode > projects > Netautor Professional > netautor/napro4/admin/layout/layoutmgr_hidden.php
<?php
/* +----------------------------------------------------------------------+
   | Netautor Professional Application Server                             |
   +----------------------------------------------------------------------+
   | Copyright (C) 1998-2005 digiconcept GmbH. <www.digiconcept.net>      |
   +----------------------------------------------------------------------+
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   +----------------------------------------------------------------------+
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Marek  Kadziela      <hide@address.com>	      |
   |          Gregor Wollner                                              |
   |          Christian Unger                                             |
   |          Helli  Kleinhans  									      |
   +----------------------------------------------------------------------+
   | @version	$Revision: 1.7 $										  |
   +----------------------------------------------------------------------+*/

/**
 * Hidden frame.
 */

?>
<script language="JavaScript" type="text/javascript">
<!--

	function do_script(area, element)
	{
		if(!parent.frames.layoutmgr.document.forms[0].mlay_definition.value)
		{
			parent.frames.layoutmgr.document.forms[0].mlay_definition.value = ' ';
		}
		if(area)
		{
			my_element = parent.frames.layoutmgr.document.forms[0].mlay_definition.value + area;
		}
		else
		{
			my_element = parent.frames.layoutmgr.document.forms[0].mlay_definition.value + element;
		}
		parent.frames.layoutmgr.document.forms[0].mlay_definition.value = my_element;
	}
	
	do_script('<?php if(isset($area)){ echo($area); } ?>','<?php  if( isset($element)){ echo($element); } ?>');
//-->
</script>
Return current item: Netautor Professional