thomas: server/kolab-webadmin/kolab-webadmin/www/admin/user index.php.in, 1.5, 1.6
cvs at kolab.org
cvs at kolab.org
Tue Jan 22 19:36:22 CET 2008
Author: thomas
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user
In directory doto:/tmp/cvs-serv21978/kolab-webadmin/kolab-webadmin/www/admin/user
Modified Files:
index.php.in
Log Message:
Adjusted common code in management pages to look the same for easier comparison.
This fixed some variable initialisations.
Index: index.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user/index.php.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- index.php.in 21 Nov 2007 18:11:37 -0000 1.5
+++ index.php.in 22 Jan 2008 18:36:20 -0000 1.6
@@ -140,11 +140,11 @@
$attrs = ldap_get_attributes($ldap->connection, $entry);
$dn = ldap_get_dn($ldap->connection,$entry);
$deleted = array_key_exists('kolabDeleteflag',$attrs)?$attrs['kolabDeleteflag'][0]:"FALSE";
- $uid = $attrs['uid'][0];
- $mail = $attrs['mail'][0];
- $sn = $attrs['sn'][0];
- $cn = $attrs['cn'][0];
- $fn = KolabLDAP::getGivenName($cn, $sn);
+ $uid = $attrs['uid'][0];
+ $mail = $attrs['mail'][0];
+ $sn = $attrs['sn'][0];
+ $cn = $attrs['cn'][0];
+ $fn = KolabLDAP::getGivenName($cn, $sn);
$dncomp = split( ',', $dn );
if( in_array('cn=groups',$dncomp) ) {
$type = 'G';
More information about the commits
mailing list