summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/start.php
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/start.php
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/start.php')
-rw-r--r--ldap-site-mngmt/webinterface/start.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap-site-mngmt/webinterface/start.php b/ldap-site-mngmt/webinterface/start.php
index 413d1e4a..d0d34320 100644
--- a/ldap-site-mngmt/webinterface/start.php
+++ b/ldap-site-mngmt/webinterface/start.php
@@ -37,9 +37,10 @@ foreach ($roles as $item){
$expDN = explode(',',$auDN);
$expOU = explode('=',$expDN[0]);
$au = $expOU[1];
+ $audata = get_au_data($auDN,array("cn","description"));
- $template->assign(array( "MA" => "", "HA" => "", "DA" => "", "ZA" => "", "RA" => ""));
- $template->assign(array( "AU" => $au, "AUDN" => $auDN, "ROLLEN" => implode('_',$item['role'])));
+ $template->assign(array( "CN" => "","MA" => "", "HA" => "", "DA" => "", "ZA" => "", "RA" => ""));
+ $template->assign(array( "AU" => $au, "AUDN" => $auDN, "CN" => $audata[0]['cn'], "ROLLEN" => implode('_',$item['role'])));
$rollen = "";
foreach ($item['role'] as $role){
@@ -78,4 +79,5 @@ $template->parse("PAGE", "Vorlage");
# Fertige Seite an den Browser senden
$template->FastPrint("PAGE");
+
?>