<?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.13 $ |
+----------------------------------------------------------------------+*/
/**
* Simple mask to create a new feature context.
*/
require_once('../../include/init.inc');
if( !$GLOBALS['USER']->check_feature('Admin') && ($user_id == 10 && !$GLOBALS['USER']->check_feature('ac_system') ) && !$GLOBALS['USER']->check_feature('ac_user') )
{
$GLOBALS['USER']->login_call();
}
includeNaPro('form');
$GLOBALS['LOCALE']->textdomain('user');
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>digiconcept/netautor/new feature area</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name="robots" content="nofollow">
<link href="../../include/netautor.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
<!--
function takeIt()
{
parent.opener.document.forms[0].elements['newarea'].value = document.forms['eingabe'].elements['newarea'].value;
window.setTimeout("parent.opener.document.forms[0].submit();",100);
window.setTimeout("window.close();",500);
}
//-->
</script>
<body onload="document.eingabe.elements['newarea'].focus();" class="blue" >
<form name='eingabe' method="post" action="newfeature.php" target="newfeature" >
<table border="0" cellspacing="0" cellpadding="4" >
<tr>
<td align="left" valign="top" class="head">
<img src="../../grafik/pixel.gif" width="1" height="2"><br>
<label for="newarea" > <span class="text"><?php echo( $GLOBALS['LOCALE']->gettext('area') );?><br></span></label>
<img src="../../grafik/pixel.gif" width="1" height="2"><br>
<input class="input202" type="text" name='newarea' id='newarea'><br>
<img src="../../grafik/pixel.gif" height="10" width="100"><br>
</td>
</tr>
<tr>
<td align="left" valign="center" class="text">
<input type="button" class="create" name="" value="<?php echo( $GLOBALS['LOCALE']->gettext('save') );?>" onclick='takeIt();'>
<input type="button" class="close" name="" value="<?php echo( $GLOBALS['LOCALE']->gettext('close_window') );?>" onclick='window.close();'>
</td>
</tr>
</table>
</form>
</body>
</html>