getValue('server','root_dse_attributes'); $query['baseok'] = true; $results = $app['server']->query($query,null); $attrs = array_pop($results); 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; $href = sprintf('cmd.php?cmd=schema&server_id=%s&view=attributes&viewvalue=%s',$app['server']->getIndex(),$key); echo ''; echo ''; } echo '
'; printf('%s', $href,_('Click to view the schema definition for attribute type'),$key,$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 '
'; ?>