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/rbs/menuentry.php | 153 ------------------------- 1 file changed, 153 deletions(-) delete mode 100644 ldap-site-mngmt/webinterface/rbs/menuentry.php (limited to 'ldap-site-mngmt/webinterface/rbs/menuentry.php') diff --git a/ldap-site-mngmt/webinterface/rbs/menuentry.php b/ldap-site-mngmt/webinterface/rbs/menuentry.php deleted file mode 100644 index 44eb17d9..00000000 --- a/ldap-site-mngmt/webinterface/rbs/menuentry.php +++ /dev/null @@ -1,153 +0,0 @@ -assign(array("MEDN" => $meDN, - "MECN" => $me['cn'], - "GMECN" => $gmecn, - "GMEOU" => $gmeou, - "GMERBS" => $gmerbs, - "LABEL" => $me['label'], - "MELABEL" => $me['menulabel'], - "MEDEF" => $me['menudefault'], - "MEPASSWD" => $me['menupasswd'], - "MEHIDE" => $me['menuhide'], - "VGA" => $me['vga'], - "SPLASH" => $me['splash'], - "NOLDSC" => $me['noldsc'], - "ELEVATOR" => $me['elevator'], - "VCI" => $me['vci'], - "CCV" => $me['clientconfvia'], - "APIC" => $me['apic'], - "COWLOOP" => $me['cowloop'], - "UNIONFS" => $me['unionfs'], - "DEBUG" => $me['debug'], - "MENPOS" => $me['menuposition'], - "LOCALBOOT" => $me['localboot'], - "KERNEL" => $me['kernel'], - "SUBMENULINK" => $me['submenulink'], - "PXEDN" => $pxeDN, - "PXECN" => $pxecn, - "MNR" => $mnr, - "SBMNR" => $sbmnr, - "MCNR" => $mcnr)); - -# Alternative RB Dienste holen -$altrbs = get_rbservices($auDN,array("dn","cn")); -if (count($altrbs) != 0){ - for ($i=0; $i < count($altrbs); $i++){ - if ($rbsDN == $altrbs[$i]['dn']){ - array_splice($altrbs, $i, 1); - } - } -} - - -if (count($altrbs) != 0){ -$template->define_dynamic("Altrbs", "Webseite"); - foreach ($altrbs as $item){ - $altrbsexp = explode(',',$item['dn']); - $altrbsau = explode('=',$altrebsexp[2]); - $template->assign(array("ALTRBSDN" => $item['dn'], - "ALTRBSCN" => $item['cn'], - "ALTRBSAU" => "[ ".$altrbsau[1]." ]")); - $template->parse("ALTRBS_LIST", ".Altrbs"); - } -}else{ - $template->assign(array("ALTRBSDN" => "", - "ALTRBSCN" => "", - "ALTRBSAU" => "")); -} - -################################################ -# Bootmenü Einträge - -$menuentries = get_menuentries($pxeDN,array("dn","menuposition","label","menulabel")); -#print_r($menuentries); echo "
"; - -$template->define_dynamic("Bootmenu", "Webseite"); - -foreach ($menuentries as $me){ - $template->assign(array("MENDN" => $me['dn'], - "MENULABEL" => $me['menulabel'], - "POSITION" => $me['menuposition'], - "AUDN" => $auDN)); - $template->parse("BOOTMENU_LIST", ".Bootmenu"); -} - - -################################################ -# PXE kopieren - -$hostorgroup = $exp[0]; -$hgexp = explode('=',$exp[0]); - -$hosts_array = get_hosts($auDN,array("dn","hostname")); -$groups_array = get_groups($auDN,array("dn","cn")); - -$template->define_dynamic("Hosts", "Webseite"); -foreach ($hosts_array as $item){ - $template->assign(array("HDN" => $item['dn'], - "HN" => $item['hostname'])); - $template->parse("HOSTS_LIST", ".Hosts"); -} -$template->define_dynamic("Groups", "Webseite"); -foreach ($groups_array as $item){ - $template->assign(array("GDN" => $item['dn'], - "GN" => $item['cn'])); - $template->parse("GROUPS_LIST", ".Groups"); -} - -################################################################################### - -include("rbs_footer.inc.php"); - -?> -- cgit v1.2.3-55-g7522