From 46d26c3c06ac87020cf403237444e5965a603475 Mon Sep 17 00:00:00 2001 From: Garreau Alexandre Date: Mon, 14 Oct 2013 23:52:26 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20la=20liste=20des=20lie?= =?UTF-8?q?ns=20de=20pagination.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lien inutile redirigeant vert la page actuelle retiré, code plus simple (selon moi) et ajout des attributs `rel=prev` et `rel=next` (plus sémantique). --- autoblogs/autoblog.php | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/autoblogs/autoblog.php b/autoblogs/autoblog.php index f499471..add20f0 100644 --- a/autoblogs/autoblog.php +++ b/autoblogs/autoblog.php @@ -870,23 +870,20 @@ else } $max = $vvb->countArticles(); - if ($max > $config->articles_per_page) - { - echo "\n".' '; } }