Code

Added configure event
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Mar 2010 11:30:30 +0000 (11:30 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Mar 2010 11:30:30 +0000 (11:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16377 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_filter.inc

index 5f2d94ec64750d0cc840e3196c0dd76e033d5d05..38de4f6390c3f53001d585bae38323c0b9e3e3d9 100644 (file)
@@ -396,8 +396,10 @@ class filter {
       "<ul class='level1' id='filter-root'><li><a href='#'>".image("images/filter.png")._("...")."&nbsp;".image("images/lists/sort-down.png")."</a>";
 
     // Build ul/li list
+    $separator= " style='border-top:1px solid #AAA' ";
     $result.= "<ul class='level2'>";
     $result.= "<li><a href='#'>Dummy placeholder</a></li>";
+    $result.= "<li$separator><a href='#' onClick='document.getElementById(\"filter\").value= \"config-filter\";mainform.submit();'>".image("images/configure.png")."&nbsp;"._("Configure filter")."</a></li>";
 #$result.= "<li$separator><a href='#' onClick='document.getElementById(\"actionmenu\").value= \"".$action['name']."\";mainform.submit();'>$img"._($action['label'])."</a></li>";
 
 # AUTOCOMPLETER and getTextbox