Code

Added abilitiy to edit accounts from person tabs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Aug 2009 10:02:15 +0000 (10:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Aug 2009 10:02:15 +0000 (10:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14139 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_tabs.inc

index f277f815bd7c0d5455838d15bfdee31ced4c82de..71499f098a10f31bc988f7300fba1fac91b74667 100644 (file)
@@ -190,7 +190,10 @@ class tabs
 
   function gen_tabs($disabled = FALSE)
   {
-    $display= "<input type=\"hidden\" name=\"arg\" value=\"\">";
+    $display ="";
+    if(!$disabled){
+      $display.= "<input type=\"hidden\" name=\"arg\" value=\"\">";
+    }
     $display.= "<table summary=\"\" cellpadding=0 cellspacing=0 border=0 style=\"width:100%;\"><tr>";
     $index= 0;
     $style= array("tab_left", "tab_active", "tab_near_active", "tab_right");