isReadOnly() ) pla_error( $lang['no_updates_in_read_only_mode'] ); if( ! $ldapserver->haveAuthInfo()) pla_error( $lang['not_enough_login_info'] ); $attr = $_GET['attr']; $dn = isset( $_GET['dn'] ) ? $_GET['dn'] : null; $encoded_dn = rawurlencode( $dn ); $encoded_attr = rawurlencode( $attr ); if( null != $dn ) { $rdn = get_rdn( $dn ); } else { $rdn = null; } $current_values = get_object_attr( $ldapserver, $dn, $attr ); $num_current_values = ( is_array($current_values) ? count($current_values) : 0 ); $is_object_class = ( 0 == strcasecmp( $attr, 'objectClass' ) ) ? true : false; $is_jpeg_photo = is_jpeg_photo( $ldapserver, $attr ); //( 0 == strcasecmp( $attr, 'jpegPhoto' ) ) ? true : false; if( $is_object_class ) { // fetch all available objectClasses and remove those from the list that are already defined in the entry $schema_oclasses = get_schema_objectclasses( $ldapserver ); foreach( $current_values as $oclass ) unset( $schema_oclasses[ strtolower( $oclass ) ] ); } else { $schema_attr = get_schema_attribute( $ldapserver, $attr ); } include './header.php'; ?>

: name; ?>     :

:







> getMaxLength() ) echo "maxlength=\"" . $schema_attr->getMaxLength() . "\" "; ?>name="new_value" size="40" value="" />
getDescription() ) { ?> : getDescription(); ?>
getType() ) { ?> : getType(); ?>
getMaxLength() ) { ?> : getMaxLength() ); ?>