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

62 lines
2.0 KiB
PHP
Raw Normal View History

2012-07-16 21:30:19 +02:00
<?php
include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
$nick = $_POST["nickname"];
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>User Management</b></h1>
<h2>Edit User:</h2>
<form action="/Admin/Modules/Usermanagement/include/edituser.php" method="post">
<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>Nickname:</td>
<td><input type="text" name="nickname" <?php if($nick != "") echo " value=".$nick;?> size=" 50"><td>
<td>*</td>
</tr>
<tr>
<td>VPN Id:</td>
<td><input type="text" name="vpnid" size="50"><td>
</tr>
<tr>
<td>Vorname:</td>
<td><input type="text" name="vorname" size="50"><td>
</tr>
<tr>
<td>Nachname:</td>
<td><input type="text" name="nachname" size="50"><td>
</tr>
<tr>
<td>Email Address:</td>
<td><input type="text" name="email" size="50"><td>
</tr>
<tr>
<td>Passwort:</td>
<td><input type="password" name="pwd" size="50"></td>
</tr>
<tr>
<td>Novell Login:</td>
<td><input type="text" name="novlogin" size="50"><td>
</tr>
<tr>
<td>Novell Passwort:</td>
<td><input type="password" name="novpass" size="50"></td>
</tr>
</table>
<input type="submit" value="Edit User">
</form>
* = Required
<p> <a href="<?php echo $moduleurl;?>"><b>Back</b></a></p>
<!-- MAIN CONTENT END ################################################################################### -->