diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 76b36fffc53..27ea19e971d 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -2804,7 +2804,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
print "\n";
print "\n";
- print '
';
+ print '';
// Left
if ($picto && $titre) print '| '.img_picto('', $picto, '', $pictoisfullpath).' | ';
@@ -2824,44 +2824,44 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
$pagelist = '';
if ($page > 0 || $num > $conf->liste_limit)
{
- if ($totalnboflines)
+ if ($totalnboflines) // If we know total nb of lines
{
$maxnbofpage=10;
$nbpages=ceil($totalnboflines/$conf->liste_limit);
$cpt=($page-$maxnbofpage);
if ($cpt < 0) { $cpt=0; }
- $pagelist.='';
+ $pagelist.= ''.($page+1)."\n";
}
}
+ print "\n";
print_fleche_navigation($page,$file,$options,$nextpage,$pagelist);
if ($morehtml) print $morehtml;
print '';
@@ -2871,12 +2871,12 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
}
/**
- * Fonction servant a afficher les fleches de navigation dans les pages de listes
+ * Function to show navigation arrows into lists
*
* @param int $page Number of page
- * @param string $file Lien
- * @param string $options Autres parametres d'url a propager dans les liens ("" par defaut)
- * @param integer $nextpage Do we show a next page button
+ * @param string $file Page
+ * @param string $options Other url paramaters to propagate ("" by default)
+ * @param integer $nextpage Do we show a next page button
* @param string $betweenarrows HTML Content to show between arrows
* @return void
*/
@@ -2887,16 +2887,17 @@ function print_fleche_navigation($page,$file,$options='',$nextpage=0,$betweenarr
print '';
+ print ''."\n";
}
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 721b5f2741b..8854e8f3477 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -1835,8 +1835,13 @@ table.liste td {
.tagtr, .table-border-row { display: table-row; }
.tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
+
/* Pagination */
-div.pagination ul, div.pagination li
+
+div.pagination a {
+ font-weight: normal;
+}
+div.pagination ul, div.pagination li
{
list-style: none;
display: inline-block;
@@ -1859,7 +1864,7 @@ div.pagination li span {
padding: 6px 12px;
margin-left: -1px;
line-height: 1.42857143;
- color: #337ab7;
+ color: #000;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
@@ -1879,7 +1884,7 @@ div.pagination li a:hover,
div.pagination li span:hover,
div.pagination li a:focus,
div.pagination li span:focus {
- color: #23527c;
+ color: #000;
background-color: #eee;
border-color: #ddd;
}
@@ -1906,7 +1911,9 @@ div.pagination .disabled a:focus {
background-color: #fff;
border-color: #ddd;
}
-
+div.pagination li .active {
+ text-decoration: underline;
+}
/* Prepare to remove class pair - impair
.noborder > tbody > tr:nth-child(even) td {