getIndex(),get_request('template','REQUEST',false,'none')); $request['page']->setDN($request['dn']); $request['page']->accept(); $request['template'] = $request['page']->getTemplate(); # Check if the entry exists. if (! $request['dn'] || ! $app['server']->dnExists($request['dn'])) system_message(array( 'title'=>_('Entry does not exist'), 'body'=>sprintf(_('The entry (%s) does not exist.'),$request['dn']), 'type'=>'error'),'index.php'); # We search all children, not only the visible children in the tree $request['children'] = $app['server']->getContainerContents($request['dn'],null,0,'(objectClass=*)',LDAP_DEREF_NEVER); printf('
'; printf(_('This entry is the root of a sub-tree containing %s entries.'),count($request['search'])); printf(' (%s)', $search['href'],_('view entries')); echo ' | |
'; echo ''; echo ' | '; echo ''; echo ''; echo ' | '; echo '
%s | |||
%s: | %s | ||
%s | %s | ||
'; echo ''; echo ' | '; echo ''; echo ''; echo ' | '; echo '