Code

Undefined index fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 10:40:57 +0000 (10:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 10:40:57 +0000 (10:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1583 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc
plugins/admin/systems/workstationStartup.tpl

index b994a16c5eb57960260bd7df5516e0540ca23a71..ea0ec3a0c2d106a05a5dff60b14c95b5963555b1 100644 (file)
@@ -86,6 +86,7 @@ class workstartup extends plugin
     $this->gotoShareSelections= $config->getShareList(true);
     $this->gotoAvailableShares= $config->getShareList(false);
 
+    $tmp = array();
     $ldap = $this->config->get_ldap_link();
     $ldap->search("(objectClass=FAIprofile)",array("*"));
     while($attr = $ldap->fetch()){
@@ -95,6 +96,9 @@ class workstartup extends plugin
       $tmp[$cn] = $base;
     }
 
+
+    $tmp2 = array();
+  
     foreach($tmp as $cn => $base){
 
       $ldap->cd($base);
index 2fcb2918c1990d98e4639c5366ed7b4ff4a1a228..c7ca9d15523f21a462a42b515c71cac59a623d7f 100644 (file)
@@ -1,7 +1,7 @@
-<h2><img alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
 <table summary="" style="width:100%;">
  <tr>
   <td style="width:50%; vertical-align:top;">
+<h2><img alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
 
    <table summary="">
     <tr>
@@ -31,8 +31,7 @@
      &nbsp;
   </td>
   
-  <td style="vertical-align:top;">
-    {t}Assigned FAI classes{/t}<br>
+  <td style="vertical-align:top;"><h2><img alt="" align="middle" src="images/penguin.png">&nbsp;{t}Assigned FAI classes{/t}</h2>
                <select name="FAIclassSel" {$FAIclassACL} multiple style="width:280px;height:100px;">
         {html_options values=$FAIclass output=$FAIclassKeys}
         <option disabled>&nbsp;</option>