admin design update
This commit is contained in:
parent
163e0d61c2
commit
9c8331a03d
@ -9,8 +9,9 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
|
|||||||
<h1><b>Administration Center</b></h1>
|
<h1><b>Administration Center</b></h1>
|
||||||
<table widht="100%">
|
<table widht="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td width=60%>
|
<td width="250px" style="float: left">
|
||||||
<h2>Actions:</h2>
|
<h2>Actions:</h2>
|
||||||
|
<br/>
|
||||||
<?php
|
<?php
|
||||||
$moduleid = 0;
|
$moduleid = 0;
|
||||||
foreach ($SITE_MODULES_ADMIN as $modul)
|
foreach ($SITE_MODULES_ADMIN as $modul)
|
||||||
|
@ -68,12 +68,7 @@ echo "
|
|||||||
// Höhere Verzeichnisse nicht anzeigen!
|
// Höhere Verzeichnisse nicht anzeigen!
|
||||||
if ($file != "." && $file != "..")
|
if ($file != "." && $file != "..")
|
||||||
{
|
{
|
||||||
$filecut = strpos($file, ".");
|
echo "<option "; if(db_getconfval("sitetheme")==$file) echo "selected "; echo "value=\"".$file."\">".$file."</option>";
|
||||||
if($filecut > 0)
|
|
||||||
{
|
|
||||||
$file = substr($file,0,$filecut);
|
|
||||||
echo "<option "; if(db_getconfval("sitetheme")==$file) echo "selected "; echo "value=\"".$file."\">".$file."</option>";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Verzeichnis schließen
|
// Verzeichnis schließen
|
||||||
|
@ -5,8 +5,9 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
|
|||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
||||||
|
|
||||||
<h1><b>User Management</b></h1>
|
<h1><b>User Management</b></h1>
|
||||||
|
<br/>
|
||||||
<h2>Add new User:</h2>
|
<h2>Add new User:</h2>
|
||||||
|
<br/>
|
||||||
<form action="/Admin/Modules/Usermanagement/include/adduser.php" method="post" onsubmit="return chkFormular()">
|
<form action="/Admin/Modules/Usermanagement/include/adduser.php" method="post" onsubmit="return chkFormular()">
|
||||||
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
||||||
<table>
|
<table>
|
||||||
|
@ -3,8 +3,8 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
|
|||||||
?>
|
?>
|
||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
||||||
|
|
||||||
<h1><b>User Management</b></h1>
|
<h1><b>User Management</b></h1><br/>
|
||||||
<h2>Delete User:</h2>
|
<h2>Delete User:</h2><br/>
|
||||||
<form action="/Admin/Modules/Usermanagement/include/deleteuser.php" method="post">
|
<form action="/Admin/Modules/Usermanagement/include/deleteuser.php" method="post">
|
||||||
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
||||||
<table>
|
<table>
|
||||||
|
@ -4,8 +4,8 @@ $nick = $_POST["nickname"];
|
|||||||
?>
|
?>
|
||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
||||||
|
|
||||||
<h1><b>User Management</b></h1>
|
<h1><b>User Management</b></h1><br/>
|
||||||
<h2>Edit User:</h2>
|
<h2>Edit User:</h2><br/>
|
||||||
<form action="/Admin/Modules/Usermanagement/include/edituser.php" method="post">
|
<form action="/Admin/Modules/Usermanagement/include/edituser.php" method="post">
|
||||||
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
|
||||||
<table>
|
<table>
|
||||||
|
@ -56,8 +56,9 @@ switch($mode)
|
|||||||
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/viewuser_index.php");
|
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/viewuser_index.php");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
echo"<h1><b>User Management</b></h1>
|
echo"<h1><b>User Management</b></h1><br/>
|
||||||
<h2>Choose an action:</h2>
|
<h2>Choose an action:</h2>
|
||||||
|
<br/>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=1\">Add new User</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=1\">Add new User</a></p>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=2\">Edit User</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=2\">Edit User</a></p>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=3\">Delete User</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=3\">Delete User</a></p>
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
<!-- MAIN -->
|
||||||
|
<div id="main">
|
||||||
|
<div class="wrapper">
|
||||||
<?php
|
<?php
|
||||||
$moduleurl = $_SERVER["REQUEST_URI"];
|
$moduleurl = $_SERVER["REQUEST_URI"];
|
||||||
$urlcut = strpos($moduleurl, "&");
|
$urlcut = strpos($moduleurl, "&");
|
||||||
@ -52,8 +55,8 @@ switch($mode)
|
|||||||
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/VPNconfig/include/config-edit.php");
|
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/VPNconfig/include/config-edit.php");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
echo"<h1><b>VPN Configuration</b></h1>
|
echo"<h1><b>VPN Configuration</b></h1><br/>
|
||||||
<h2>Choose an action:</h2>
|
<h2>Choose an action:</h2><br/>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=1\">Status</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=1\">Status</a></p>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=2\">Config</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=2\">Config</a></p>
|
||||||
<p># <a href=\"".$moduleurl."&uebergabe=3\">Certificates</a></p>
|
<p># <a href=\"".$moduleurl."&uebergabe=3\">Certificates</a></p>
|
||||||
@ -63,3 +66,5 @@ switch($mode)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user