Code

kolab tab removed if unused
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 May 2005 06:48:58 +0000 (06:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 May 2005 06:48:58 +0000 (06:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@220 594d385d-05f5-0310-b6e9-bd551577e9d8

include/setup_checks.inc

index 58a0728dc487f9d9c8e20d16a33e3bf65ff04dab..84ce3d8c4baf01773457a589767fb1b51584a49a 100644 (file)
@@ -425,7 +425,7 @@ function parse_contrib_conf()
   $replacements['{MAILMETHOD}']             =   $ldapconf['mail_methods'][$ldapconf['mail']];
   $replacements['{SMBHASH}']                =   $pwdhash;
   $replacements['{GOVERNMENTMODE}']         =   "false"; 
-
+  $replacements['{kolabAccount}']           =   "";
 
 
 
@@ -475,6 +475,16 @@ function parse_contrib_conf()
     }
 
 
+    
+    if($ldapconf['mail_methods'][$ldapconf['mail']]=="kolab")
+      {
+      $replacements['{kolabAccount}']  ="<tab class=\"kolabAccount\" />";
+      }
+      
+
+
+
+
     // Lets check which samba version we will use
 
     // in case of samba 2 we don't need to add additional objets in gosa.conf
@@ -546,7 +556,7 @@ function parse_contrib_conf()
 
   }// else -->  !$fp=fopen("../contrib/gosa.conf","r")
 
-  return ( $str);
+  return ((($str)));
 }