summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2007-05-29 15:07:06 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2007-05-29 15:07:06 (GMT)
commit5a710e8c79bd2fefa8d9a9f776f13c93a80d6420 (patch)
tree6570b3f3ee1a1ec0578f82bed6a6198667a01952
parent74805786b9274c9ebb755f4ee5e95ace10013eb4 (diff)
downloadkolab-webadmin-5a710e8c79bd2fefa8d9a9f776f13c93a80d6420.tar.gz
Add a draft readme for the horde webclient.
-rw-r--r--www/admin/administrator/index.php.in4
-rw-r--r--www/admin/domainmaintainer/domainmaintainer.php.in2
-rw-r--r--www/admin/domainmaintainer/index.php.in4
-rw-r--r--www/admin/maintainer/index.php.in4
-rw-r--r--www/admin/maintainer/maintainer.php.in2
5 files changed, 8 insertions, 8 deletions
diff --git a/www/admin/administrator/index.php.in b/www/admin/administrator/index.php.in
index d252810..cec1ca2 100644
--- a/www/admin/administrator/index.php.in
+++ b/www/admin/administrator/index.php.in
@@ -53,7 +53,7 @@ if( !$errors ) {
$maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'admin' );
$filter = "(&(cn=*)(objectclass=inetOrgPerson)(uid=*)(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 ) {
$count = count($maintainers)-1;
@@ -76,7 +76,7 @@ if( !$errors ) {
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];
if( $userid != 'manager' ) {
$sn = $attrs['sn'][0];
diff --git a/www/admin/domainmaintainer/domainmaintainer.php.in b/www/admin/domainmaintainer/domainmaintainer.php.in
index b27edd9..501bd23 100644
--- a/www/admin/domainmaintainer/domainmaintainer.php.in
+++ b/www/admin/domainmaintainer/domainmaintainer.php.in
@@ -324,7 +324,7 @@ switch( $action ) {
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)));
diff --git a/www/admin/domainmaintainer/index.php.in b/www/admin/domainmaintainer/index.php.in
index df57c03..2066bfe 100644
--- a/www/admin/domainmaintainer/index.php.in
+++ b/www/admin/domainmaintainer/index.php.in
@@ -53,7 +53,7 @@ if( !$errors ) {
$maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'domain-maintainer' );
$filter = "(&(cn=*)(objectclass=kolabInetOrgPerson)(!(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 @@ if( !$errors ) {
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];
diff --git a/www/admin/maintainer/index.php.in b/www/admin/maintainer/index.php.in
index 6812f97..c9bf83d 100644
--- a/www/admin/maintainer/index.php.in
+++ b/www/admin/maintainer/index.php.in
@@ -53,7 +53,7 @@ if( !$errors ) {
$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 @@ if( !$errors ) {
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];
diff --git a/www/admin/maintainer/maintainer.php.in b/www/admin/maintainer/maintainer.php.in
index 24658e7..cd76b9e 100644
--- a/www/admin/maintainer/maintainer.php.in
+++ b/www/admin/maintainer/maintainer.php.in
@@ -323,7 +323,7 @@ switch( $action ) {
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)));