diff --git a/htdocs/adherents/ldap.php b/htdocs/adherents/ldap.php
index c2779eae1f7..56076e3f26e 100644
--- a/htdocs/adherents/ldap.php
+++ b/htdocs/adherents/ldap.php
@@ -56,7 +56,7 @@ if ($user->societe_id > 0)
llxHeader();
-$form = new Form($db);
+$html = new Form($db);
$adh = new Adherent($db);
@@ -86,11 +86,6 @@ $head = member_prepare_head($adh);
dolibarr_fiche_head($head, 'ldap', $langs->trans("Member"));
-$result=$adh->load_previous_next_id($adh->next_prev_filter);
-if ($result < 0) dolibarr_print_error($db,$adh->error);
-$previous_id = $adh->id_previous?'id_previous).'">'.img_previous().'':'';
-$next_id = $adh->id_next?'id_next).'">'.img_next().'':'';
-
/*
* Fiche en mode visu
@@ -100,9 +95,7 @@ print '
';
// Ref
print '| '.$langs->trans("Ref").' | ';
print '';
-if ($previous_id || $next_id) print '| ';
-print $adh->id;
-if ($previous_id || $next_id) print ' | '.$previous_id.' | '.$next_id.' | ';
+print $html->showrefnav($adh,'id');
print ' |
';
// Nom