" . htmlspecialchars($servers[$server_id]['name']) . ".

" .$lang['reasons_for_error'] ."".$lang['please_report_this_as_a_bug'].""; ?>


'.$lang['objectclasses'].'' ); ?> | '. $lang['attribute_types'].'' ); ?> | '.$lang['syntaxes'].'' ); ?> | '.$lang['matchingrules'].'' ); ?>

" . $lang['the_following_syntaxes'] . "
\n\n"; echo "\n\n\n"; echo "\n"; flush(); $counter=1; $schema_syntaxes = get_schema_syntaxes( $server_id, null, false ); if( ! $schema_syntaxes ) pla_error( $schema_error_str ); foreach( $schema_syntaxes as $syntax ) { $counter++; $oid = htmlspecialchars( $syntax->getOID() ); $desc = htmlspecialchars( $syntax->getDescription() ); if( $highlight_oid && $highlight_oid == $oid ) echo ""; else echo ""; echo "\n\n"; } echo "
" . $lang['syntax_oid'] . "" . $lang['desc'] . "
$oid$desc
\n"; } elseif( $view == 'attributes' ) { //echo "
" . $lang['the_following_attributes'] . "

\n"; flush(); $schema_attrs = get_schema_attributes( $server_id, null, false ); $schema_object_classes = get_schema_objectclasses( $server_id, null, false ); if( ! $schema_attrs || ! $schema_object_classes ) pla_error( $schema_error_str ); //echo "
";
	//print_r( $schema_attrs );
	//echo "
"; ?> :

getName() ) ) { if( ! is_null( $viewvalue ) ) $viewed = true; flush(); echo "\n\n"; $counter = 0; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo '\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo ""; echo "\n\n"; echo "\n"; echo "\n"; echo ""; echo "\n\n"; flush(); } } echo "
getName() ) . "\">"; echo $attr->getName() . "
".$lang['desc']."" . ( $attr->getDescription() == null ? '('.$lang['no_description'].')' : $attr->getDescription() ). "
".$lang['oid']."" . $attr->getOID() . "
'.$lang['obsolete']."?" . ( $attr->getIsObsolete() ? '' . $lang['yes'] . '' : $lang['no'] ) . "
".$lang['inherits'].""; if( $attr->getSupAttribute()==null ) echo '('.$lang['none'].')'; else echo "getSupAttribute() ) . "\">" . $attr->getSupAttribute() . "
".$lang['equality']."" . ( $attr->getEquality() == null ? '('.$lang['not_specified'].')' : "getEquality()."\">".$attr->getEquality() ) . "
".$lang['ordering']."" . ( $attr->getOrdering()==null? '('.$lang['not_specified'].')' : $attr->getOrdering() ) . "
".$lang['substring_rule']."" . ( $attr->getSubstr()==null? '('.$lang['not_specified'].')' : $attr->getSubstr() ) . "
".$lang['syntax'].""; if( null != $attr->getType() ) { echo "getSyntaxOID() . "#" . $attr->getSyntaxOID(); echo "\">" . $attr->getType() . " (" . $attr->getSyntaxOID() . ")"; } else { echo $attr->getSyntaxOID(); } echo "
".$lang['single_valued']."" . ( $attr->getIsSingleValue() ? $lang['yes'] : $lang['no'] ) . "
".$lang['collective']."?" . ( $attr->getIsCollective() ? $lang['yes'] : $lang['no'] ) . "
".$lang['user_modification']."" . ( $attr->getIsNoUserModification() ? $lang['no'] : $lang['yes'] ) . "
".$lang['usage']."" . ( $attr->getUsage() ? $attr->getUsage() : '('.$lang['not_specified'].')' ) . "
".$lang['maximum_length'].""; if ( $attr->getMaxLength() === null ) { echo '('.$lang['not_applicable'].')';} else { echo number_format( $attr->getMaxLength() ) ." "; if ( $attr->getMaxLength()>1) {echo $lang['characters'];} else { echo $lang['character'] ;} } echo "
".$lang['aliases'].""; if( count( $attr->getAliases() ) == 0 ) echo '('.$lang['none'].')'; else foreach( $attr->getAliases() as $alias_attr_name ) echo "$alias_attr_name "; echo "
".$lang['used_by_objectclasses'].""; if( count( $attr->getUsedInObjectClasses() ) == 0 ) echo '('.$lang['none'].')'; else foreach( $attr->getUsedInObjectClasses() as $used_in_oclass) echo "$used_in_oclass "; echo "
\n"; } elseif( $view == 'matching_rules' ) { //echo "
" . $lang['the_following_matching'] . "

\n\n"; $schema_matching_rules = get_schema_matching_rules( $server_id, null, false ); echo '' . $lang['jump_to_matching_rule'].'
'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; echo "\n\n\n"; echo "\n"; flush(); $counter=1; $schema_matching_rules = get_schema_matching_rules( $server_id, null, false ); if( ! $schema_matching_rules ) pla_error( $schema_error_str ); foreach( $schema_matching_rules as $rule ) { $counter++; $oid = htmlspecialchars( $rule->getOID() ); $desc = htmlspecialchars( $rule->getName() ); if ( $viewvalue==null || $viewvalue==($rule->getName() )) { if( ! is_null( $viewvalue ) ) $viewed = true; if( null != $rule->getDescription() ) $desc .= ' (' . $rule->getDescription() . ')'; if( true === $rule->getIsObsolete() ) $desc .= ' ' . $lang['obsolete'] . ''; echo ""; echo ""; echo ""; echo "\n"; } } echo "
" . $lang['matching_rule_oid'] . "" . $lang['name'] . "".$lang['used_by_attributes']."
$oid$desc"; if( count( $rule->getUsedByAttrs() ) == 0 ) { echo "
(" . $lang['none'] . ")


\n"; } else { echo "
"; echo ""; echo ""; echo "
\n"; } echo "
\n"; } elseif( $view == 'objectClasses' ) { //echo "
" . $lang['the_following_objectclasses'] . "

\n"; flush(); $schema_oclasses = get_schema_objectclasses( $server_id, null, false ); if( ! $schema_oclasses ) pla_error( $schema_error_str ); ?> :
$oclass ) { foreach( $oclass->getSupClasses() as $parent_name ) { $parent_name = $parent_name; if( isset( $schema_oclasses[ $parent_name ] ) ) { $schema_oclasses[ $parent_name ]->addChildObjectClass( $oclass->getName() ); } } } ?>
$oclass ) { if ( $viewvalue==null || 0 == strcasecmp( $viewvalue, $oclass->getName() ) ){ if( ! is_null( $viewvalue ) ) $viewed = true; ?>

getName(); ?>

: getOID(); ?>

getDescription() ) { ?>

: getDescription(); ?>

: getType(); ?>

getIsObsolete() == true ) { ?>

: getSupClasses() ) == 0 ) echo "(" . $lang['none'] . ")"; else foreach( $oclass->getSupClasses() as $i => $object_class ) { echo '' . htmlspecialchars( $object_class ) . ''; if( $i < count( $oclass->getSupClasses() ) - 1 ) echo ', '; } ?>

: getName(), 'top' ) ) echo "(all)"; elseif( count( $oclass->getChildObjectClasses() ) == 0 ) echo "(" . $lang['none'] . ")"; else foreach( $oclass->getChildObjectClasses() as $i => $object_class ) { echo '' . htmlspecialchars( $object_class ) . ''; if( $i < count( $oclass->getChildObjectClasses() ) - 1 ) echo ', '; } ?>

getMustAttrs($schema_oclasses) ) > 0 ) { echo ' getMayAttrs($schema_oclasses) ) > 0 ) { echo '