summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80eca4d)
raw | patch | inline | side by side (parent: 80eca4d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 16:05:48 +0000 (16:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 16:05:48 +0000 (16:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12035 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index d251ab79fe37e24090d4738cefb24b1acaa865ab..38ff24b241628f7977fe4e01d73b973621ef1aad 100644 (file)
$this->ui = &$ui;
/* Copy & Paste enabled ?*/
- if((isset($this->config->data['MAIN']['ENABLECOPYPASTE']))&&(preg_match("/true/i",$this->config->data['MAIN']['ENABLECOPYPASTE']))){
+ if($this->config->get_value("enablecopypaste") == "true"){
$this->CopyPasteHandler = new CopyPasteHandler($this->config);
}
/* Detect if we have to display the primary group checkbox */
$tmp = "";
- if (isset($this->config->data['MAIN']['NOPRIMARYGROUP'])){
- $tmp = $this->config->data['MAIN']['NOPRIMARYGROUP'];
- }
- if(preg_match("/true/i",$tmp)|| (preg_match("/yes/",$tmp))){
+ if ($this->config->get_cfg_value("noprimarygroup") == "true"){
$this->ShowPrimaryCheckBox = false;
} else {
$this->ShowPrimaryCheckBox = true;
}
$sfilter= "";
- if ($this->config->current['SAMBAVERSION'] == 3){
+ if ($this->config->get_cfg_value("sambaversion") == 3){
if (!$ShowPrimaryGroups){
$sfilter= "(objectClass=sambaGroupMapping)";
} elseif ($ShowSambaGroups){