summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/au
diff options
context:
space:
mode:
authorTarik Gasmi2007-10-26 10:41:22 +0200
committerTarik Gasmi2007-10-26 10:41:22 +0200
commit310554c02e4b51c5300f8bdf8ad15e3f0520bc53 (patch)
tree277727e7c13eeaec94fe8089f547f3108b727bcc /ldap-site-mngmt/webinterface/au
parentThis should fix a small bug reported by Reiner for SuSE10.3 in stage3. (diff)
downloadcore-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.gz
core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.xz
core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.zip
LSM Webinterface, new actualized Version
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1401 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/au')
-rwxr-xr-xldap-site-mngmt/webinterface/au/au.dwt21
-rwxr-xr-xldap-site-mngmt/webinterface/au/au_childs.dwt4
-rw-r--r--ldap-site-mngmt/webinterface/au/au_footer.inc.php2
-rw-r--r--ldap-site-mngmt/webinterface/au/au_header.inc.php3
-rw-r--r--ldap-site-mngmt/webinterface/au/au_menu.php2
-rw-r--r--ldap-site-mngmt/webinterface/au/childau_add.php10
-rwxr-xr-xldap-site-mngmt/webinterface/au/menu.dwt8
7 files changed, 28 insertions, 22 deletions
diff --git a/ldap-site-mngmt/webinterface/au/au.dwt b/ldap-site-mngmt/webinterface/au/au.dwt
index 0b2dbb60..16f0302c 100755
--- a/ldap-site-mngmt/webinterface/au/au.dwt
+++ b/ldap-site-mngmt/webinterface/au/au.dwt
@@ -5,18 +5,18 @@
<link rel='stylesheet' href='../styles.css' type='text/css'></head>
<body>
-<table cellpadding='0' cellspacing='0' border='0' width='95%' height='8%'>
+<table cellpadding='0' cellspacing='0' border='0' width='100%' style='background-color: #F0F0F0;border-color: #505050; border-style: solid; border-width: 0 0 1 0;'>
<tr>
- <td width='35%'>
+ <td width='30%'>
<table cellpadding='5' cellspacing='0' border='0' width='100%'>
<tr valign='top'>
<td width='1'></td>
- <td><h2>Rechner und IP Management</h2></td>
+ <td><h2>Client / IP Management</h2></td>
</tr>
</table>
</td>
- <td width='40%'>
+ <td width='45%'>
<table cellpadding='5' cellspacing='0' border='0' width='100%'>
<tr valign='top' align='left'>
<td>
@@ -36,16 +36,13 @@
</table>
</td>
</tr>
+ <tr>
+ <td colspan='3'>{MAINMENU}</td>
+ </tr>
</table>
-<table cellpadding='5' cellspacing='0' border='0' width='95%' height='7%'>
-<tr>
- <td>{MAINMENU}</td>
-</tr>
-</table>
-
-<hr align='center' width='98%' noshade>
-
+<!--<hr align='center' width='98%' noshade>-->
+<br>
<table cellpadding='5' cellspacing='0' border='0' width='100%' height='85%'>
diff --git a/ldap-site-mngmt/webinterface/au/au_childs.dwt b/ldap-site-mngmt/webinterface/au/au_childs.dwt
index a9adbc83..0d37b5c7 100755
--- a/ldap-site-mngmt/webinterface/au/au_childs.dwt
+++ b/ldap-site-mngmt/webinterface/au/au_childs.dwt
@@ -16,8 +16,8 @@
<!-- BEGIN DYNAMIC BLOCK: Childaus -->
<tr>
- <td class='tab_d'>{CHILDOU} &nbsp;</td>
- <td class='tab_d'>{CHILDDOMAIN} &nbsp;</td>
+ <td class='tab_d' height='40'>{CHILDOU} &nbsp;</td>
+ <td class='tab_d' height='40'>{CHILDDOMAIN} &nbsp;</td>
</tr>
<!-- END DYNAMIC BLOCK: Childaus -->
diff --git a/ldap-site-mngmt/webinterface/au/au_footer.inc.php b/ldap-site-mngmt/webinterface/au/au_footer.inc.php
index 7849823e..37fa7808 100644
--- a/ldap-site-mngmt/webinterface/au/au_footer.inc.php
+++ b/ldap-site-mngmt/webinterface/au/au_footer.inc.php
@@ -1,5 +1,7 @@
<?php
+
+
$template->assign(array("PFAD" => $START_PATH));
# Daten in die Vorlage parsen
diff --git a/ldap-site-mngmt/webinterface/au/au_header.inc.php b/ldap-site-mngmt/webinterface/au/au_header.inc.php
index 40da6c72..57e85f84 100644
--- a/ldap-site-mngmt/webinterface/au/au_header.inc.php
+++ b/ldap-site-mngmt/webinterface/au/au_header.inc.php
@@ -1,5 +1,7 @@
<?php
+#################
+
# 1. Title
$titel = "Administrative Unit Management";
# 2. Mainmenu Number (starting with 0)
@@ -32,4 +34,5 @@ $template->assign(array("SEITENTITEL" => $titel,
include("au_menu.php");
include("../common/ip_blocks.inc.php");
+
?> \ No newline at end of file
diff --git a/ldap-site-mngmt/webinterface/au/au_menu.php b/ldap-site-mngmt/webinterface/au/au_menu.php
index b9c7d8d6..d912c7a5 100644
--- a/ldap-site-mngmt/webinterface/au/au_menu.php
+++ b/ldap-site-mngmt/webinterface/au/au_menu.php
@@ -134,7 +134,7 @@ function createAUMenu($rollen, $mnr, $auDN,$sbmnr) {
<td width='8%'>&nbsp;</td>
<td width='8%' align='right'><img src='../pics/".$zwisch.".gif'></td>
<td width='74%' align='left' style='border-width:1 1 1 1;border-color:#000000;border-style:solid;padding:4;padding-left:25px;background-color:{FARBE_S}'>
- <a href='".$item2['link']."' style='text-decoration:none'><b class='standard_schrift'>".$item2['text']."</b></a></td>
+ <a href='".$item2['link']."' style='text-decoration:none'><code class='submenue_schrift'>".$item2['text']."</code></a></td>
<td width='10%'>&nbsp;</td>
</tr>";
diff --git a/ldap-site-mngmt/webinterface/au/childau_add.php b/ldap-site-mngmt/webinterface/au/childau_add.php
index 89969882..47fb9b55 100644
--- a/ldap-site-mngmt/webinterface/au/childau_add.php
+++ b/ldap-site-mngmt/webinterface/au/childau_add.php
@@ -47,12 +47,14 @@ if ( $childou != "" && $mainadmin != none && $mainadmin != "") {
$childou = preg_replace ( '/\s+([0-9A-Z])/', '$1', $childou);
# AU Objekt anlegen
- $sisters = get_childau($auDN,array("ou"));
+ # Test auf gleichnamige Geschwister-AUs
+ #$sisters = get_childau($auDN,array("ou"));
+ $sisters = get_all_aus(array("ou"));
$sister = 0;
foreach ($sisters as $item) {
- if ($item['ou'] == $childou) {
- $mesg = "Es existiert bereits eine untergeordnete AU mit dem eingegebenen OU!<br>
- Bitte geben Sie einen anderen OU ein.<br><br>";
+ if ( strtolower($item['ou']) == strtolower($childou) ) {
+ $mesg = "Es existiert bereits eine AU mit dem eingegebenen 'ou' Namen!<br>
+ Bitte geben Sie einen anderen 'ou' Namen ein.<br><br>";
$get_childcn = str_replace ( " ", "_", $childcn );
$get_childdesc = str_replace ( " ", "_", $childdesc );
$url = "new_child.php?ou=Hier_andere_OU_eingeben&cn=".$get_childcn."&desc=".$get_childdesc."&childdomain=".$childdomain;
diff --git a/ldap-site-mngmt/webinterface/au/menu.dwt b/ldap-site-mngmt/webinterface/au/menu.dwt
index 9220c3b3..20631be8 100755
--- a/ldap-site-mngmt/webinterface/au/menu.dwt
+++ b/ldap-site-mngmt/webinterface/au/menu.dwt
@@ -5,11 +5,13 @@
<!-- BEGIN DYNAMIC BLOCK: Hauptmenu -->
<tr valign='middle' align='left'>
-
+
<td width='8%' align='right' style="border-style=none;">{ICON}</td>
- <td width="8%" align="left" style="border-width:1 0 1 1;border-color:#000000;border-style:solid;padding:5;background-color:{FARBE}">&nbsp;</td>
+ <td width="8%" align="left" style="border-width:1 0 1 1;border-color:#000000;border-style:solid;padding:5;background-color:{FARBE}">&nbsp;</td>
<td width="74%" align="left" style="border-width:1 1 1 0;border-color:#000000;border-style:solid;padding:5;background-color:{FARBE}">
- <a href="{LINK_M}" style="text-decoration:none"><b class="standard_schrift">{TEXT_M}</b></a></td>
+ <a href="{LINK_M}" style="text-decoration:none">
+ <code class="submenue_schrift">{TEXT_M}</code>
+ </a></td>
<td width='10%'>&nbsp;</td>
</tr>