Code

Updated links in reference tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 07:16:31 +0000 (07:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 07:16:31 +0000 (07:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17001 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_reference.inc

index 7936796494c5780bdd4a84a4bd65fbe628d80ce7..6c92e9f5be8cd6d6d7e4de333f3acd0b2db8a4d2 100644 (file)
@@ -155,14 +155,20 @@ class reference extends plugin
       } else {
         $img= "images/lists/sort-down.png";
       }
+
       $this->objectlist.= 
         ' <tr style="background-color:'.$cycle[$id&1].';">  '.
         '   <td class="phonelist" title="'.$attrs['cn'][0].'">  '.
-        '     '.image($img).'&nbsp;'.$attrs['cn'][0].
+        '     '.image($img).
+        '     <a href="main.php?plug='.$_GET['plug'].'&amp;start=&amp;show='.base64_encode($attrs['dn']).'"> '.
+        '     &nbsp;'.$attrs['cn'][0].
+        '     </a> '.
+        '   </td> '.
+        '   <td>'.
         '     <a href="main.php?plug='.$_GET['plug'].'&amp;start=&amp;show='.base64_encode($attrs['dn']).'"> '.
+        $description.
         '     </a> '.
         '   </td> '.
-        '   <td>'.$description.'</td> '.
         '   <td>'.$content.'</td> '.
         ' </tr>'.$addon;
       $id++;