Fix the remaining number of elements. re #79

This commit is contained in:
Sébastien Lucas 2014-06-03 21:40:45 +02:00
parent 20359c7306
commit e6e0a8ee5b
3 changed files with 3 additions and 3 deletions

View file

@ -547,7 +547,7 @@ order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, co
{
array_push ($entryArray, new Entry ($post->title, Book::getEntryIdByLetter ($post->title),
str_format (localize("bookword", $post->count), $post->count), "text",
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title)))));
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_BOOKS_LETTER."&id=". rawurlencode ($post->title))), "", $post->count));
}
return $entryArray;
}

View file

@ -63,7 +63,7 @@ order by languages.lang_code');
$language = new Language ($post->id, $post->lang_code);
array_push ($entryArray, new Entry (Language::getLanguageString ($language->lang_code), $language->getEntryId (),
str_format (localize("bookword", $post->count), $post->count), "text",
array ( new LinkNavigation ($language->getUri ()))));
array ( new LinkNavigation ($language->getUri ())), "", $post->count));
}
return $entryArray;
}

View file

@ -48,7 +48,7 @@ class Rating extends Base {
$rating = str_format (localize("ratingword", $rating), $rating);
array_push ($entryArray, new Entry ($rating, $ratingObj->getEntryId (),
str_format (localize("bookword", $post->count), $post->count), "text",
array ( new LinkNavigation ($ratingObj->getUri ()))));
array ( new LinkNavigation ($ratingObj->getUri ())), "", $post->count));
}
return $entryArray;
}