dnExists($request['dn']))
error(sprintf(_('The entry (%s) does not exist.'),$request['dn']),'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 '
';
printf('
%s
',
sprintf(_('phpLDAPadmin can recursively delete this entry and all %s of its children. See below for a list of all the entries that this action will delete. Do you want to do this?'),count($request['search'])));
echo '
';
printf('
%s
',
_('Note: this is potentially very dangerous and you do this at your own risk. This operation cannot be undone. Take into consideration aliases, referrals, and other things that may cause problems.'));
echo "\n";
echo '
';
echo '
';
echo '';
echo '
';
echo '
';
echo '';
echo '
';
echo '
';
echo "\n";
echo '
';
echo "\n";
echo '
';
echo _('List of entries to be deleted:');
echo ' ';
$i = 0;
printf('';
echo "\n";
} else {
echo '
';
printf('
%s
',_('Are you sure you want to permanently delete this object?'));
echo '