diff --git a/htdocs/delete_form.php b/htdocs/delete_form.php index fbdf91d..8b3aec3 100644 --- a/htdocs/delete_form.php +++ b/htdocs/delete_form.php @@ -19,7 +19,10 @@ $request['dn'] = get_request('dn','GET'); # Check if the entry exists. if (! $request['dn'] || ! $app['server']->dnExists($request['dn'])) - error(sprintf(_('The entry (%s) does not exist.'),$request['dn']),'error','index.php'); + system_message(array( + 'title'=>_('Entry does not exist'), + 'body'=>sprintf('%s (%s)',_('The entry 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); @@ -34,13 +37,14 @@ echo '