From cd46d68991f7ae0cf319f915c5fecdd71b78ee34 Mon Sep 17 00:00:00 2001
From: Lars Müller
Date: Sat, 1 Mar 2008 18:04:26 +0000
Subject: 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
---
ldap-site-mngmt/webinterface/start.php | 83 ----------------------------------
1 file changed, 83 deletions(-)
delete mode 100644 ldap-site-mngmt/webinterface/start.php
(limited to 'ldap-site-mngmt/webinterface/start.php')
diff --git a/ldap-site-mngmt/webinterface/start.php b/ldap-site-mngmt/webinterface/start.php
deleted file mode 100644
index d0d34320..00000000
--- a/ldap-site-mngmt/webinterface/start.php
+++ /dev/null
@@ -1,83 +0,0 @@
-define(array("Vorlage" => "index.dwt",
- "Login" => "logout_form.inc.dwt",
- "Webseite" => $webseite));
-
-$template->assign(array("SEITENTITEL" => $titel,"USERCN" => $usercn));
-
-############################################################
-
-$template->define_dynamic("Aus", "Webseite");
-#$template->define_dynamic("Roles", "Webseite");
-
-$roles = getRoles($ds, $userDN);
-#print_r($roles); echo "
";
-if (count($roles) == 1 ){
- $mesg = "";
- $rollenurlstring = implode('_',$roles[0]['role']);
- $url = "zwischen.php?audn=".$roles[0]['au']."&rollen=".$rollenurlstring;
- redirect(0, $url, $mesg, $addSessionId = TRUE);
- die;
-}
-
-
-foreach ($roles as $item){
-
- $auDN = $item['au'];
- $expDN = explode(',',$auDN);
- $expOU = explode('=',$expDN[0]);
- $au = $expOU[1];
- $audata = get_au_data($auDN,array("cn","description"));
-
- $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){
- $rollen .= $role." ";
- $template->assign(array( "MA" => $rollen));
-
- /*if ($role == MainAdmin){
- $template->assign(array( "MA" => $role));
- }
- if ($role == HostAdmin){
- $template->assign(array( "HA" => $role));
- }
- if ($role == DhcpAdmin){
- $template->assign(array( "DA" => $role));
- }
- if ($role == ZoneAdmin){
- $template->assign(array( "ZA" => $role));
- }
- if ($role == RbsAdmin){
- $template->assign(array( "RA" => $role));
- }*/
- }
- $template->parse("AUS_LIST", ".Aus");
- $template->clear_dynamic("Aus");
-}
-
-
-#############################################################
-
-# Daten in die Vorlage parsen
-$template->assign(array("PFAD" => $START_PATH));
-
-$template->parse("LOGIN", "Login");
-$template->parse("HAUPTFENSTER", "Webseite");
-$template->parse("PAGE", "Vorlage");
-
-# Fertige Seite an den Browser senden
-$template->FastPrint("PAGE");
-
-?>
--
cgit v1.2.3-55-g7522