Code

Updated faiSummary to be w3c conform
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 13:52:36 +0000 (13:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 13:52:36 +0000 (13:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16998 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc

index ac99ee5d86ccad726d20c32640cf7795b02fc203..9e6d68651fab9be3bf2e1020c5ffe696252f2b5b 100644 (file)
@@ -236,18 +236,16 @@ class faiSummaryTab extends plugin{
       $image = image($this->objs[$key]['Image']);
       if(!isset($entry['Open'])){
         $str .= "<tr>
-                  <td colspan=2>
-                   <a href='?plug=".$_GET['plug']."&amp;expand&amp;id=".$key."'>".
-                    image('images/lists/expand.png');
-        $str .=     $image."&nbsp;";
-        $str .= "   <b>".$this->objs[$key]['Name']."</b></a></td></tr>";
+          <td colspan=2>".
+          image('images/lists/expand.png').$image."&nbsp;".
+          "<a href='?plug=".$_GET['plug']."&amp;expand&amp;id=".$key."'>".
+          "<b>".$this->objs[$key]['Name']."</b></a></td></tr>";
       }else{
-        $str .= "<tr><td colspan=2>
-                    <a href='?plug=".$_GET['plug']."&amp;compress&amp;id=".$key."'>".
-                    image('images/lists/sort-down.png');
-        $str .= $image."&nbsp;";
-        $str .= "<b>".$this->objs[$key]['Name']."</b></a></td></tr>";
-   
+        $str .= "<tr><td colspan=2>".
+          image('images/lists/sort-down.png').$image."&nbsp;".
+          "<a href='?plug=".$_GET['plug']."&amp;compress&amp;id=".$key."'>".
+          "<b>".$this->objs[$key]['Name']."</b></a></td></tr>";
+
         /* Display FAItemplate FAIhook FAIscript entries */ 
         if(in_array($key,array("FAItemplate","FAIhook","FAIscript"))){