Fix the remaining number of elements. re #79
This commit is contained in:
parent
20359c7306
commit
e6e0a8ee5b
2
book.php
2
book.php
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue