summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b6aa7e)
raw | patch | inline | side by side (parent: 5b6aa7e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Aug 2009 09:09:31 +0000 (09:09 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Aug 2009 09:09:31 +0000 (09:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14102 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history |
index 796793c8b3efe637232d8a02e25cff5ffd2fe317..838377921b1509b6079aa7dd11a3734df44e0a9c 100644 (file)
$actions= &$this->xmlData['actionmenu']['action'];
$result= "<input type='hidden' name='act' id='actionmenu' value=''>".
"<ul class='level1' id='root'><li><a href='#'>Aktionen <img ".
- "border=0 src='images/lists/sort-down.png'></a>";
+ "border=0 class='center' src='images/lists/sort-down.png'></a>";
// Build ul/li list
$result.= $this->recurseActions($actions);
// Fill image if set
$img= "";
if (isset($action['image'])){
- $img= "<img border=0 src='".$action['image']."'> ";
+ $img= "<img border='0' class='center' src='".$action['image']."'> ";
}
if ($action['type'] == "separator"){
$events= DaemonEvent::get_event_types_by_category($this->categories);
if(isset($events['BY_CLASS']) && count($events['BY_CLASS'])){
foreach($events['BY_CLASS'] as $name => $event){
- $result.= "<li$separator><a href='#' onClick='document.getElementById(\"actionmenu\").value= \"$name\";mainform.submit();'><img src='".$event['MenuImage']."' alt='' border='0' class='center'> ".$event['s_Menu_Name']."</a></li>";
+ $result.= "<li$separator><a href='#' onClick='document.getElementById(\"actionmenu\").value=\"$name\";mainform.submit();'>".$event['MenuImage']." ".$event['s_Menu_Name']."</a></li>";
$separator= "";
}
}