dnExists($request['dn'])) { error(sprintf(_('The entry (%s) does not exist.'), $request['dn']), 'error', 'index.php'); } $request['page'] = new PageRender($app['server']->getIndex(),get_request('template','REQUEST',false,'none')); $request['page']->setDN($request['dn']); $request['page']->accept(); $request['template'] = $request['page']->getTemplate(); $request['page']->drawTitle(get_rdn($request['template']->getDN())); $request['page']->drawSubTitle(); # Confirm the updates if (count($request['template']->getLDAPmodify(true))) { echo '
%s: | ',_('The deletion of objectClass(es)')); printf('%s | ',implode(', ',$request['template']->getAttribute('objectclass')->getRemovedValues())); echo '
%s: | ',_('will delete the attribute(s)')); echo ''; $i = 0; foreach ($request['template']->getForceDeleteAttrs() as $attribute) { if ($i++ != 0) { echo ', '; } echo $_SESSION[APPCONFIG]->getFriendlyHTML($attribute); } echo ' |