getIndex(),get_request('template','REQUEST',false,null)); # If we have a DN, then this is to edit the entry. if ($request['dn']) { $app['server']->dnExists($request['dn']) or error(sprintf('%s (%s)',_('No such entry'),pretty_print_dn($request['dn'])),'error','index.php'); $request['page']->setDN($request['dn']); $request['page']->accept(); } else { if ($app['server']->isReadOnly()) { error(_('You cannot perform updates while server is in read-only mode'), 'error', 'index.php'); } $request['page']->setContainer(get_request('container','REQUEST')); $request['page']->accept(); }