summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php
diff options
context:
space:
mode:
authorLars Müller2008-03-01 19:04:26 +0100
committerLars Müller2008-03-01 19:04:26 +0100
commitcd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch)
treee9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php
parentOptimizations, improvements ... (diff)
downloadcore-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/ip/ip_blocks.inc.php')
-rw-r--r--ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php68
1 files changed, 0 insertions, 68 deletions
diff --git a/ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php b/ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php
deleted file mode 100644
index 8530e079..00000000
--- a/ldap-site-mngmt/webinterface/ip/ip_blocks.inc.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-
-# Max und Free IP Blocks
-$mipb_array = get_maxipblocks_au($auDN);
-$fipb_array = get_freeipblocks_au($auDN);
-#print_r(count($mipb_array)); echo "<br>";
-#print_r(count($fipb_array)); echo "<br>";
-$ipblocks = "";
-
-# print_r($mipb_array);
-if ($mipb_array[0] != "" ){
- if (count($mipb_array) > 1 ){
- $ipblocks .= "<table border='1' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr><td colspan='3' style='border-color: black; border-style: solid; border-width: 0 0 3 0;'>
- <h4>Zugewiesene IP Bereiche:</h4></td></tr>";
- foreach ($mipb_array as $mipb){
- $exp = explode('_',$mipb);
- $ipblocks .= "<tr><td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[0]&nbsp;</td>
- <td style='border-color: black; border-style: solid; border-width: 0 0 1 0;'> - </td>
- <td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[1]&nbsp;</td></td></tr>";
- }
- }
- elseif (count($mipb_array) == 1){
- $ipblocks .= "<table border='1' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr><td colspan='3' style='border-color: black; border-style: solid; border-width: 0 0 3 0;'>
- <h4>Zugewiesener IP Bereich:</h4></td></tr>";
- $exp = explode('_',$mipb_array[0]);
- $ipblocks .= "<tr><td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[0]&nbsp;</td>
- <td style='border-color: black; border-style: solid; border-width: 0 0 1 0;'> - </td>
- <td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[1]&nbsp;</td></tr>";
- }
- elseif( $fipb_array[0] == "" ){
- $ipblocks .= "<table border='0' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr><td><h4>Keine IP Adressen mehr verf&uuml;gbar</h4></td></tr>";
- }
- if (count($fipb_array) > 1 ){
- $ipblocks .= "<table border='1' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr valign='bottom' height='50'>
- <td colspan='3' style='border-color: black; border-style: solid; border-width: 0 0 3 0;'>
- <h4>Davon noch frei verf&uuml;gbar:</h4></td></tr>";
- foreach ($fipb_array as $fipb){
- $exp = explode('_',$fipb);
- $ipblocks .= "<tr><td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[0]&nbsp;</td>
- <td style='border-color: black; border-style: solid; border-width: 0 0 1 0;'> - </td>
- <td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[1]&nbsp;</td></tr>";
- }
- }
- elseif (count($fipb_array) == 1){
- $ipblocks .= "<table border='1' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr><td colspan='3' style='border-color: black; border-style: solid; border-width: 0 0 3 0;'>
- <h4>Davon noch frei verf&uuml;gbar:</h4></td></tr>";
- $exp = explode('_',$fipb_array[0]);
- $ipblocks .= "<tr><td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[0]&nbsp;</td>
- <td style='border-color: black; border-style: solid; border-width: 0 0 1 0;'> - </td>
- <td width='45%' style='border-color: black; border-style: solid; border-width: 0 0 1 0;'>$exp[1]&nbsp;</td></tr>";
- }
-
-}
-
-if( $mipb_array[0] == "" ){
- $ipblocks .= "<table border='0' cellpadding='2' cellspacing='0' width='100%' style='border-width: 0 0 0 0;'>
- <tr><td><h4>Ihnen wurden keine IP Adressen zugewiesen</h4></td></tr>";
-}
-$ipblocks .= "</table>";
-
-$template->assign(array("IPBLOCKS" => $ipblocks));
-
-?> \ No newline at end of file