admin design update

This commit is contained in:
Christoph Haas 2012-07-17 19:22:21 +00:00
parent 163e0d61c2
commit 9c8331a03d
7 changed files with 18 additions and 15 deletions

View File

@ -9,8 +9,9 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
<h1><b>Administration Center</b></h1>
<table widht="100%">
<tr>
<td width=60%>
<td width="250px" style="float: left">
<h2>Actions:</h2>
<br/>
<?php
$moduleid = 0;
foreach ($SITE_MODULES_ADMIN as $modul)

View File

@ -68,12 +68,7 @@ echo "
// Höhere Verzeichnisse nicht anzeigen!
if ($file != "." && $file != "..")
{
$filecut = strpos($file, ".");
if($filecut > 0)
{
$file = substr($file,0,$filecut);
echo "<option "; if(db_getconfval("sitetheme")==$file) echo "selected "; echo "value=\"".$file."\">".$file."</option>";
}
echo "<option "; if(db_getconfval("sitetheme")==$file) echo "selected "; echo "value=\"".$file."\">".$file."</option>";
}
}
// Verzeichnis schließen

View File

@ -5,8 +5,9 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>User Management</b></h1>
<br/>
<h2>Add new User:</h2>
<br/>
<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>

View File

@ -3,8 +3,8 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/checkadmin.php");
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>User Management</b></h1>
<h2>Delete User:</h2>
<h1><b>User Management</b></h1><br/>
<h2>Delete User:</h2><br/>
<form action="/Admin/Modules/Usermanagement/include/deleteuser.php" method="post">
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
<table>

View File

@ -4,8 +4,8 @@ $nick = $_POST["nickname"];
?>
<!-- MAIN CONTENT BEGINN ################################################################################ -->
<h1><b>User Management</b></h1>
<h2>Edit User:</h2>
<h1><b>User Management</b></h1><br/>
<h2>Edit User:</h2><br/>
<form action="/Admin/Modules/Usermanagement/include/edituser.php" method="post">
<input type="hidden" name="path" size="50" value="<?php echo $moduleurl;?>">
<table>

View File

@ -56,8 +56,9 @@ switch($mode)
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/viewuser_index.php");
break;
default:
echo"<h1><b>User Management</b></h1>
echo"<h1><b>User Management</b></h1><br/>
<h2>Choose an action:</h2>
<br/>
<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=3\">Delete User</a></p>

View File

@ -1,3 +1,6 @@
<!-- MAIN -->
<div id="main">
<div class="wrapper">
<?php
$moduleurl = $_SERVER["REQUEST_URI"];
$urlcut = strpos($moduleurl, "&");
@ -52,8 +55,8 @@ switch($mode)
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/VPNconfig/include/config-edit.php");
break;
default:
echo"<h1><b>VPN Configuration</b></h1>
<h2>Choose an action:</h2>
echo"<h1><b>VPN Configuration</b></h1><br/>
<h2>Choose an action:</h2><br/>
<p># <a href=\"".$moduleurl."&uebergabe=1\">Status</a></p>
<p># <a href=\"".$moduleurl."&uebergabe=2\">Config</a></p>
<p># <a href=\"".$moduleurl."&uebergabe=3\">Certificates</a></p>
@ -63,3 +66,5 @@ switch($mode)
break;
}
?>
</div>
</div>