Location: PHPKode > projects > Netautor Professional > netautor/napro4/admin/npf/npf_new_context.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.10 $										  |
   +----------------------------------------------------------------------+*/

/**
 * Edit / create context for a netautor function
 */

require_once('../../include/init.inc');
if(!$GLOBALS['USER']->check_feature('Admin') && !$GLOBALS['USER']->check_feature('ac_functions'))
{
	$GLOBALS['USER']->login_call();
}

$GLOBALS['LOCALE']->textdomain('functions');

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title>/digiconcept/netautor/functionmanager/new context</title>
	<meta http-equiv="pragma" 			content="no-cache"	> 
	<meta http-equiv="cache-control" 	content="no-cache"	>
	<meta name		="robots" 			content="noindex"	>		
	<link rel=stylesheet type="text/css" href="../../include/netautor.css">
</head>
<script language="JavaScript" type="text/javascript">
<!--
	function saveContext()
	{
		 window.opener.document.forms[0].elements['naf_add_context'].value = document.forms[0].elements['naf_add_context'].value;
		 window.opener.document.forms[0].submit();
		 window.close();
	}
//-->
</script>
<body bgcolor="#ffffff" class="standard" onLoad="window.focus();">
<form method="get" >

<table width="210" border="0" cellspacing="0" cellpadding="4" class="bgwindowsmall">
	<tr>
		<td width="202" align="left" valign="top" class="head">
			<img src="../../grafik/pixel.gif" width="1" height="7"><br>
			Neuer Context<br>
			<img src="../../grafik/spacer_small.gif" width="202" height="24"><br>
		</td>
	</tr>
	<tr>
		<td width="202" align="left" valign="center" class="text">
			<span class="text">
			Name<br>
			<input type="text" class="select202" name="naf_add_context" ><br>
			
			<img src="../../grafik/spacer_grey.gif" width="202" height="15"><br>
			
			<input type="button" value="<?php echo $GLOBALS['LOCALE']->gettext('action_save');?>" 			class="create"	onClick="saveContext();">
			<input type="button" value="<?php echo $GLOBALS['LOCALE']->gettext('action_close_window');?>" 	class="delete" 	onClick="window.close();"><br>
			
		</td>
	</tr>
</table>
<img src="../../grafik/bgwindow_small_stop.gif" width="210" height="14"><br>
</form>
</body>
</html>
Return current item: Netautor Professional