From 30c6d9df58608c663e2e460dea2a4fe593820e20 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Nov 2010 15:44:55 +0000 Subject: [PATCH] Updated TRUE/FALSE usage, unified. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20276 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groupware/personal/groupware/class_FilterManager.inc | 4 ++-- .../groupware/personal/groupware/class_Groupware.inc | 6 +++--- .../groupware/personal/groupware/class_GroupwareDao.inc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_FilterManager.inc b/gosa-plugins/groupware/personal/groupware/class_FilterManager.inc index 396bff5a5..30453375b 100644 --- a/gosa-plugins/groupware/personal/groupware/class_FilterManager.inc +++ b/gosa-plugins/groupware/personal/groupware/class_FilterManager.inc @@ -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;"); diff --git a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc index 121e6e386..b5b896a1f 100644 --- a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc @@ -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); diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc index 0e5e57127..887f597a0 100644 --- a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc +++ b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc @@ -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{ -- 2.30.2