diff options
| author | Lars Müller | 2008-03-01 19:04:26 +0100 |
|---|---|---|
| committer | Lars Müller | 2008-03-01 19:04:26 +0100 |
| commit | cd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch) | |
| tree | e9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/au/au_show.php | |
| parent | Optimizations, improvements ... (diff) | |
| download | core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.gz core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.xz core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.zip | |
Reorganisation of the repo structure as discussed on the devel list.
- Move the majority of trunk and all branches to the new openslx/ dir.
- Move ldap-site-mngmt to contrib/.
- Move openslx/trunk/os-plugins/plugins/vmchooser/src/ to
openslx-src-tools/trunk/os-plugins/plugins/vmchooser/
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1591 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/au/au_show.php')
| -rw-r--r-- | ldap-site-mngmt/webinterface/au/au_show.php | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/ldap-site-mngmt/webinterface/au/au_show.php b/ldap-site-mngmt/webinterface/au/au_show.php deleted file mode 100644 index f29c1ef7..00000000 --- a/ldap-site-mngmt/webinterface/au/au_show.php +++ /dev/null @@ -1,70 +0,0 @@ -<?php - -include('../standard_header.inc.php'); -# Filename of Template -$webseite = "au_show.dwt"; - -include('au_header.inc.php'); - -############################################################################### -# Menus - -$mnr = 1; -$sbmnr = -1; - -createMainMenu($rollen, $mainnr); -createAUMenu($rollen, $mnr, $auDN, $sbmnr); - -############################################################################### -# MainpageData - -# Parent AU, Email MainAdmin -$exp = explode(',',$auDN); -$parentau = array_slice($exp, 1, 1); -$parentau = substr($parentau[0],3); - -if ( $parentau != "RIPM"){ - $length = count($exp); - $out = array_slice($exp, 1, $length -1); - $parentauDN = implode(',',$out); - $rol = get_roles($parentauDN); - $mainadminDN = $rol['MainAdmin'][0]; - $emailMA = get_user_data($mainadminDN, array("mail")); - $emailCODE = "<a href'mailto:".$emailMA['mail']."' class='maillink' style='text-decoration:none'>".$emailMA['mail']."</a>"; -} - -$template->assign(array("OU" => $au_ou, - "CN" => $au_cn, - "DSC" => $au_desc, - "AUDN" => $auDN, - "PARENTAU" => $parentau, - "EMAILMA" => $emailCODE)); - -# MaxIPBlocks -$mipb = $au_mipb; -$mipbs = ""; -if (count($mipb) > 1) { - for ($i=0; $i < count($mipb) - 1; $i++) { - $exp = explode('_',$mipb[$i]); - $mipbs .= "$exp[0] - $exp[1]<br>"; - } - $exp = explode('_',$mipb[$i]); - $mipbs .= "$exp[0] - $exp[1]"; - $template->assign(array("MIPBS" => $mipbs)); -} -elseif (count($mipb) == 1) { - $exp = explode('_',$mipb); - $mipbs .= "$exp[0] - $exp[1]"; - $template->assign(array("MIPBS" => $mipbs)); -} -else { - $template->assign(array("MIPBS" => $mipbs)); -} - - -############################################################################### -# Footer - -include("au_footer.inc.php"); - -?>
\ No newline at end of file |
