gunnar: server/kolab-webadmin/kolab-webadmin/www/admin/maintainer index.php.in, 1.1, 1.2 maintainer.php.in, 1.8, 1.9

cvs at kolab.org cvs at kolab.org
Tue May 29 17:07:08 CEST 2007


Author: gunnar

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

Modified Files:
	index.php.in maintainer.php.in 
Log Message:
Add a draft readme for the horde webclient.

Index: index.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/maintainer/index.php.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- index.php.in	5 Feb 2006 20:13:55 -0000	1.1
+++ index.php.in	29 May 2007 15:07:06 -0000	1.2
@@ -53,7 +53,7 @@
   $maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'maintainer' );
 
   $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*))";
-  $result = ldap_search($ldap->connection, $base_dn, $filter, array( 'uid', 'sn', 'cn', 'kolabdeleteflag' ));
+  $result = ldap_search($ldap->connection, $base_dn, $filter, array( 'uid', 'sn', 'cn', 'kolabDeleteflag' ));
 
   if( $result ) {
 	$title = _('Manage Maintainers (').count($maintainers)._(' Maintainers)');
@@ -75,7 +75,7 @@
 	  while( $entry ) {
 		$attrs = ldap_get_attributes($ldap->connection, $entry);
 		$dn = ldap_get_dn($ldap->connection,$entry);
-		$deleted = array_key_exists('kolabdeleteflag',$attrs)?$attrs['kolabdeleteflag'][0]:"FALSE";
+		$deleted = array_key_exists('kolabDeleteflag',$attrs)?$attrs['kolabDeleteflag'][0]:"FALSE";
         $userid = $attrs['uid'][0];
         $sn = $attrs['sn'][0];
         $cn = $attrs['cn'][0];

Index: maintainer.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/maintainer/maintainer.php.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- maintainer.php.in	28 May 2007 19:24:10 -0000	1.8
+++ maintainer.php.in	29 May 2007 15:07:06 -0000	1.9
@@ -323,7 +323,7 @@
 						   ldap_error($ldap->connection));
 	 }
 	 if( !$errors ) {
-	   $delete_template['kolabdeleteflag'] = 'TRUE';
+	   $delete_template['kolabDeleteflag'] = 'TRUE';
 	   if( !$ldap->deleteObject($dn)) {
 		 array_push($errors, sprintf(_("LDAP Error: could not mark %s for deletion: %s"), $dn.
 									 ldap_error($ldap->connection)));





More information about the commits mailing list