X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_listing.inc;h=c8861a82cd16581784fba1f67b1bec8dd1b0282f;hb=2a19cca5bf48999ebf32a2482faf6555187e6090;hp=afe75ff91ad9395e16021a9b23b1c822938ccf11;hpb=9cc10c493307dd5d9bbd25f7f1142aa146ea0c4a;p=gosa.git
diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc
index afe75ff91..c8861a82c 100644
--- a/gosa-core/include/class_listing.inc
+++ b/gosa-core/include/class_listing.inc
@@ -169,7 +169,7 @@ echo "filter for images, action menu, sorting, department browsing, filter base
}
// Assign action menu
- $smarty->assign("ACTIONS", "TBD");
+ $smarty->assign("ACTIONS", $this->renderActionMenu());
// Assign separator
$smarty->assign("SEPARATOR", "");
@@ -345,6 +345,12 @@ echo "filter for images, action menu, sorting, department browsing, filter base
}
+ function filterActions()
+ {
+ return "TBD";
+ }
+
+
function filterLink()
{
$result= " ";
@@ -483,6 +489,69 @@ echo "filter for images, action menu, sorting, department browsing, filter base
return $result;
}
+
+ function renderActionMenu()
+ {
+ // Don't send anything if the menu is not defined
+ if (!isset($this->xmlData['actionmenu']['action'])){
+ return "";
+ }
+
+ // Load shortcut
+ $actions= &$this->xmlData['actionmenu']['action'];
+ $result= "