Code

Added on-the-fly state-changing of proxy checkboxes
[gosa.git] / plugins / personal / connectivity / class_proxyAccount.inc
index fe4ca325d24dd791811e997f9d1ef124e6a20177..a097972ddc889696a482a309908a55e6cee6c384 100644 (file)
@@ -49,12 +49,13 @@ class proxyAccount extends plugin
       if (is_integer(strpos($this->gosaProxyAcctFlags, "$val"))) {
         $smarty->assign("filter$val", "checked");
 
-        // Create state variable for checkbox (Used in proxy.tpl)
+        /* Add state variables for on-the-fly state-changing of checkboxes */
         $smarty->assign($val."state", "");
+        
       } else {
         $smarty->assign("filter$val", "");
-        
-        // Create state variable for checkbox (Used in proxy.tpl)
+
+        /* Same as above */
         $smarty->assign($val."state", "disabled");
       }
     }
@@ -115,7 +116,6 @@ class proxyAccount extends plugin
     $this->handle_post_events("remove");
   }
 
-
   /* Check values */
   function check()
   {
@@ -132,10 +132,10 @@ class proxyAccount extends plugin
         }
       }
     }
-    
+
     return $message;
   }
-  
+
   /* Save data to object */
   function save_object()
   {
@@ -191,6 +191,7 @@ class proxyAccount extends plugin
         $this->is_modified= ($old != $this->gosaProxyQuotaPeriod)?TRUE:$this->is_modified;
       }
     }
+
   }