Code

Removed rebuild iconmenu
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Feb 2010 11:02:04 +0000 (11:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Feb 2010 11:02:04 +0000 (11:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15740 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pluglist.inc

index a0e13d4fd6557bf76eee48863b53d0cbee0ff95a..4e5e5dd0d15b5d55e1de8d53c42e067c7384ffa3 100644 (file)
@@ -240,7 +240,6 @@ class pluglist {
   {
     global $class_mapping;
 
-    $this->iconmenu = "";
     if ($this->iconmenu == ""){
       $cfg= $this->config->data['MENU'];
       foreach ($cfg as $headline => $plug){
@@ -280,15 +279,12 @@ class pluglist {
             $this->iconmenu .= "\n  <div class='clear'></div>\n";
           }
 
-          $this->iconmenu.= 
-"
-  <div class='container-element' style='width: 25%;' onclick=\"openPlugin({$index})\"> 
-   <div class='icon-menu-item' style='background-image: url(".$image.");'>
-    <h1>".$plHeadline."</h1>
-    <p>".$plDescription."</p>
-   </div>
-  </div>
-";
+          $this->iconmenu.= "\n  <div class='container-element' style='width: 25%;' onclick='openPlugin({$index})'> ";
+          $this->iconmenu.= "\n   <div class='icon-menu-item' style='background-image: url({$image});'>";
+          $this->iconmenu.= "\n    <h1>{$plHeadline}</h1>";
+          $this->iconmenu.= "\n    <p>{$plDescription}</p>";
+          $this->iconmenu.= "\n   </div>";
+          $this->iconmenu.= "\n  </div>\n";
           $col++ ;
         }
       }