getRootDSE(); printf('

%s%s

',_('Server info for: '),$app['server']->getName()); printf('

%s

',_('Server reports the following information about itself')); if (! count($attrs)) { echo '

'; printf('
%s
',_('This server has nothing to report.')); return; } echo ''; foreach ($attrs as $key => $values) { if ($key == 'dn') { continue; } echo ''; echo ''; } echo '
'; $sattr = $app['server']->getSchemaAttribute($key); if ($sattr && $_SESSION[APPCONFIG]->isCommandAvailable('script','schema') && $_SESSION[APPCONFIG]->getValue('appearance','show_schema_link')) { $href = sprintf('cmd.php?cmd=schema&server_id=%s&view=attributes&viewvalue=%s',$app['server']->getIndex(),$sattr->getName()); printf('%s', $href,_('Click to view the schema definition for attribute type'),$sattr->getName(false),$sattr->getName(false)); } else { echo $key; } echo '
 '; echo ''; if (is_array($values)) { foreach ($values as $value) { $oidtext = ''; print ''; if (preg_match('/^[0-9]+\.[0-9]+/', $value)) { printf('', IMGDIR,$value,htmlspecialchars($value)); if ($oidtext = support_oid_to_text($value)) { if (isset($oidtext['ref'])) { printf('',$oidtext['ref'],$oidtext['title']); } else { printf('', $oidtext['title']); } } else if (strlen($value) > 0) { printf('', $value); } } else { printf('',$value); } print ''; if (isset($oidtext['desc']) && trim($oidtext['desc'])) { printf('', $oidtext['desc']); } else { echo ''; } if ($oidtext) { echo ''; } } } else { printf('', $values); } echo '
 % s%s%s%s%s
%s
 
 
%s 
'; echo '
';