OpenVPN_Management_GUI/Admin/Modules/Usermanagement/include/adduser_index.php

68 lines
2.1 KiB
PHP
Raw Permalink Normal View History

2012-07-16 21:30:19 +02:00
<?php
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>User Management</b></h1>
2012-07-17 21:22:21 +02:00
<br/>
2012-07-16 21:30:19 +02:00
<h2>Add new User:</h2>
2012-07-17 21:22:21 +02:00
<br/>
2012-07-16 21:30:19 +02:00
<form action="/Admin/Modules/Usermanagement/include/adduser.php" method="post" onsubmit="return chkFormular()">
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
<table>
<tr>
<td>Admin:</td>
<td>
<select name="isadmin" size=1>
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</td>
</tr>
<tr>
<td>With VPN:</td>
<td>
<select name="vpn" size=1>
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</td>
</tr>
<tr>
<td>Nickname:</td>
<td><input type="text" name="nickname" size="40"><td>
</tr>
<tr>
<td>Vorname:</td>
<td><input type="text" name="vorname" size="40"><td>
</tr>
<tr>
<td>Nachname:</td>
<td><input type="text" name="nachname" size="40"><td>
</tr>
<tr>
<td>Email Address:</td>
<td><input type="text" name="email" size="40"><td>
<td>(max 40 Char!!)</td>
</tr>
<tr>
<td>Passwort:</td>
<td><input type="password" name="pwd" size="40"></td>
</tr>
<tr>
<td>Novell Login:</td>
<td><input type="text" name="novlogin" size="50"></td>
</tr>
<tr>
<td>Novell Password:</td>
<td><input type="password" name="novpass" size="50"></td>
</tr>
</table>
<input type="submit" value="Add User">
</form>
<p> <a href="<?php echo $moduleurl;?>"><b>Back</b></a></p>
<!-- MAIN CONTENT END ################################################################################### -->