Code

Updated TRUE/FALSE usage, unified.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Nov 2010 15:44:55 +0000 (15:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Nov 2010 15:44:55 +0000 (15:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20276 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/class_FilterManager.inc
gosa-plugins/groupware/personal/groupware/class_Groupware.inc
gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc

index 396bff5a561289bd475fafe48e1657be2389c587..30453375b89454274e6e67d25cbd4ea926cec084 100644 (file)
@@ -18,8 +18,8 @@ class filterManager extends plugin{
         $acl = preg_replace("/r/","rw", $acl);
     
         $this->filterListing= new sortableListing();
-        $this->filterListing->setDeleteable(true);
-        $this->filterListing->setEditable(true);
+        $this->filterListing->setDeleteable(TRUE);
+        $this->filterListing->setEditable(TRUE);
         $this->filterListing->setColspecs(array('*'));
         $this->filterListing->setWidth("100%");
         $this->filterListing->setHeight("150px;");
index 121e6e3861a60d92cbbaf05fb6c062f6e0c12ff9..b5b896a1f2f2807904349fb1209ba4b9cb7f012f 100644 (file)
@@ -147,7 +147,7 @@ class Groupware extends plugin
     public function hasFeaturebeenChanged($featureName)
     {
         //TODO: must be implemented.
-        return true;
+        return TRUE;
     }
 
 
@@ -520,12 +520,12 @@ class Groupware extends plugin
 
         $smarty->assign("mailLocations", $this->mailLocations);
         if (count($this->vacationTemplates)){
-            $smarty->assign("displayTemplateSelector", "true");
+            $smarty->assign("displayTemplateSelector", "TRUE");
             $smarty->assign("vacationTemplate", set_post($this->vacationTemplate));
             $smarty->assign("vacationTemplates", set_post($this->vacationTemplates));
             $smarty->assign("template", set_post(get_post('vacation_template')));
         } else {
-            $smarty->assign("displayTemplateSelector", "false");
+            $smarty->assign("displayTemplateSelector", "FALSE");
         }
 
         $smarty->assign("uid", $this->uid);
index 0e5e57127eeb34cd06d31d352b06b076edfd8345..887f597a0c7ba430997916a8e6786286b91ca867 100644 (file)
@@ -198,7 +198,7 @@ class GroupwareDao{
                $resultArr["mailLimitSendValue"] = $comp["mailLimits"]["send"];
                
                if(empty($comp["vacation"]["message"])){
-                       $resultArr["vacationEnabled"] = FAlSE;
+                       $resultArr["vacationEnabled"] = FALSE;
                        $resultArr["vacationMessage"] = "";
                }
                else{