summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 252ab39)
raw | patch | inline | side by side (parent: 252ab39)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 09:25:18 +0000 (09:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 09:25:18 +0000 (09:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6461 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_pluglist.inc | patch | blob | history |
index 964863e2dff462489fed123ebfa0ea8d63d3257d..7e857efc46c580a783ca33f45d76bf50e6d17f6d 100644 (file)
$col = 1;
}
$entries= $entries."<td class=\"iconmenu\" style=\"width:20%;\" onClick='location.href=\"".$href."\"'".
- "><a class=\"iconmenu\" href=\"".$href."\">".
- "<img $isize border=0 align=middle src=\"$image".
- "\" alt=\"*\"> ".
- _($plHeadline)."</a></td>\n";
+ ">";
+ if($_SESSION['js']){
+ $entries.= "<img $isize border=0 align=middle src=\"$image".
+ "\" alt=\"*\"> ".
+ _($plHeadline);
+ } else {
+ $entries.= "<a class=\"iconmenu\" href=\"".$href."\">".
+ "<img $isize border=0 align=middle src=\"$image".
+ "\" alt=\"*\"> ".
+ _($plHeadline)."</a>";
+ }
+ $entries.= "</td>\n";
$col++ ;
}