gunnar: server/kolab-webadmin/kolab-webadmin/www/admin/settings index.php.in, 1.4, 1.5

cvs at kolab.org cvs at kolab.org
Mon Aug 23 17:01:28 CEST 2010


Author: gunnar

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/settings
In directory doto:/tmp/cvs-serv9741/kolab-webadmin/www/admin/settings

Modified Files:
	index.php.in 
Log Message:
Complete kolab/issue4512 (Allow to hide the admin mail settings in the web admin) 

Index: index.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/settings/index.php.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index.php.in	23 Aug 2010 09:04:55 -0000	1.4
+++ index.php.in	23 Aug 2010 15:01:26 -0000	1.5
@@ -317,7 +317,10 @@
 
 $systemaliasconf = array();
 
-if( $auth->group() == 'admin' ) {
+// Section administrative email addresses may be hidden by
+// setting HIDE_ADMINISTRATIVE_EMAILSETTINGS to 'true' in
+// php/admin/include/conf.php
+if( $auth->group() == 'admin' && !HIDE_ADMINISTRATIVE_EMAILSETTINGS) {
   $domain_count = 0;
   foreach( $ldap->domains() as $domain ) {
 	if( !exists_group( 'hostmaster@'.$domain ) ||





More information about the commits mailing list