diff --git a/htdocs/product/categorie.php b/htdocs/product/categorie.php index 3c3c51c2f94..893ffbb03b1 100644 --- a/htdocs/product/categorie.php +++ b/htdocs/product/categorie.php @@ -132,10 +132,15 @@ if ($_GET["id"]) print($mesg); print ''; print ""; - print ''; - - print ''; - print "
'.$langs->trans("Ref").''.$product->ref.'
'.$langs->trans("Label").''.$product->libelle.'

\n"; + // Reference + print ''.$langs->trans("Ref").''; + $product->load_previous_next_ref(); + $previous_ref = $product->ref_previous?''.img_previous().'':''; + $next_ref = $product->ref_next?''.img_next().'':''; + if ($previous_ref || $next_ref) print '
'; + print ''.$product->ref.''; + if ($previous_ref || $next_ref) print ''.$previous_ref.''.$next_ref.'
'; + print ''; $c = new Categorie($db); $cats = $c->containing($_REQUEST['id']);