summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd3c593)
raw | patch | inline | side by side (parent: bd3c593)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Mar 2010 07:45:16 +0000 (07:45 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Mar 2010 07:45:16 +0000 (07:45 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17036 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history |
index 10fec9988334b15222a27ffd96ac1fd712a619fa..75fe5cd42c941fb169a730cc5fa3b1cb19cffe89 100644 (file)
function renderActionMenu()
{
+ $result= "<input type='hidden' name='act' id='act' value=''><div style='display:none'><input type='submit' name='exec_act' id='exec_act' value=''></div>";
+
// Don't send anything if the menu is not defined
if (!isset($this->xmlData['actionmenu']['action'])){
- return "";
+ return $result;
}
// Array?
// Load shortcut
$actions= &$this->xmlData['actionmenu']['action'];
- $result= "<input type='hidden' name='act' id='act' value=''><div style='display:none'><input type='submit' name='exec_act' id='exec_act' value=''></div>".
- "<ul class='level1' id='root'><li><a href='#'>"._("Actions")." ".image("images/lists/sort-down.png")."</a>";
+ $result= "<ul class='level1' id='root'><li><a href='#'>"._("Actions")." ".image("images/lists/sort-down.png")."</a>";
// Build ul/li list
$result.= $this->recurseActions($actions);