Code

Added navigation gray out if option is not available
[gosa.git] / plugins / gofax / blocklists / class_divListBlocklists.inc
index 42e884dc2c09859739c7876ac747748ab6518470..745d9b50e691b242bf929947a7364da7b69c2ed1 100755 (executable)
@@ -71,18 +71,9 @@ class divListBlocklist extends MultiSelectWindow
       }
     }
     
-    /* NEW LIST MANAGMENT */
-    $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input class='center' type='image' src='images/list_root.png' align='middle' 
-          title='"._("Go to root department")."' name='dep_root' alt='".       _("Root")."'>&nbsp;".
-      " <input class='center' type='image' align='middle' src='images/list_back.png' 
-          title='"._("Go up one department")."' alt='"._("Up")."'              name='dep_back'>&nbsp;".
-      " <input class='center' type='image' align='middle' src='images/list_home.png' 
-          title='"._("Go to users department")."' alt='"._("Home")."'          name='dep_home'>&nbsp;".
-      " <input class='center' type='image' src='images/list_reload.png' align='middle' 
-          title='"._("Reload list")."' name='submit_department' alt='".      _("Submit")."'>&nbsp;".
-      " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-      " <input class='center' type='image' align='middle' src='images/list_new_blocklist.png' 
+    /* Add default header */
+    $listhead = MultiSelectWindow::get_default_header();
+    $listhead.=  " <input class='center' type='image' align='middle' src='images/list_new_blocklist.png' 
           title='"._("Create new blocklist")."' alt='"._("New Blocklist")."' name='user_new'>&nbsp;".
       " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>".
           "&nbsp;"._("Base")."&nbsp;<select name='CurrentMainBase' onChange='mainform.submit()' class='center'>$options</select>".