LDAP Account Manager\n"; echo "\n"; echo "\n"; ?>

:

1 ) { ?> $attr ) { $modified_attrs[$i] = strtolower( $attr ); } } ?>
"> ">

$vals ) { $counter++; $schema_href = "../schema/schema.php?view=attributes&viewvalue=" . real_attr_name($attr); ?> \n"; } ?> \n"; echo "

1 ) { for( $i=1; $i<=count($vals); $i++ ) { ?> "> ()

\n"; } } ?>
(" . _('No internal attributes') . ")
(" . _('This entry has no attributes') . ")
"; echo ""; die(); } uksort( $attrs, 'sortAttrs' ); foreach( $attrs as $attr => $vals ) { flush(); $schema_attr = get_schema_attribute( $attr, $dn ); if( $schema_attr ) $attr_syntax = $schema_attr->getSyntaxOID(); else $attr_syntax = null; if( 0 == strcasecmp( $attr, 'dn' ) ) continue; // Setup the $attr_note, which will be displayed to the right of the attr name (if any) $attr_note = ''; $attr_note = ""; $attr_display = $attr; // is this attribute required by an objectClass? $required_by = ''; if( $schema_attr ) foreach( $schema_attr->getRequiredByObjectClasses() as $required ) if( in_array( strtolower( $required ), arrayLower( $attrs['objectClass'] ) ) ) { $required_by .= $required . ' '; } if( $required_by ) { if( trim( $attr_note ) ) $attr_note .= ', '; $attr_note .= "" . _('required') . " "; } ?> \n"; if( $is_modified_attr ) echo ''; continue; } /* * Is this attribute binary? */ if( is_attr_binary( $attr ) ) { $href = "download_binary_attr.php?dn=$encoded_dn&attr=$attr"; ?>
1 ) { for( $i=1; $i<=count($vals); $i++ ) { ?> "> ()

'; continue; } /* * Note: at this point, the attribute must be text-based (not binary or jpeg) */ /* * Is this a userPassword attribute? */ if( 0 == strcasecmp( $attr, 'userpassword' ) ) { $user_password = $vals[0]; $enc_type = get_enc_type( $user_password ); // Set the default hashing type if the password is blank (must be newly created) if( $user_password == '' ) { $enc_type = get_default_hash(); } ?>

'; continue; } /* * Is this a boolean attribute? */ if( is_attr_boolean( $attr) ) { $val = $vals[0]; ?> '; continue; } /* * End of special case attributes (non plain text). */ /* * This is a plain text attribute, to be displayed and edited in plain text. */ foreach( $vals as $i => $val ) { $input_name = "new_values[" . htmlspecialchars( $attr ) . "][$i]"; // We smack an id="..." tag in here that doesn't have [][] in it to allow the // draw_chooser_link() to identify it after the user clicks. $input_id = "new_values_" . htmlspecialchars($attr) . "_" . $i; ?> type == 'structural') { echo "$val (" . _('structural') . ")
"; ?>
getIsSingleValue() ) { $add_href = "add_value_form.php?dn=$encoded_dn&attr=" . rawurlencode( $attr ); echo "
(" . _('add value') . ")
\n"; } ?> $vals ) */ ?>
\n"; ?>