fixed navigation bar
This commit is contained in:
parent
4cf04cf6af
commit
f3af528a13
|
@ -290,11 +290,11 @@ class lamList {
|
|||
continue;
|
||||
}
|
||||
if ($i == $this->page - 1) {
|
||||
echo(" " . ($i + 1));
|
||||
echo ' ' . ($i + 1) . ' ';
|
||||
}
|
||||
else {
|
||||
echo(" <a href=\"list.php?type=" . $this->type . "&norefresh=true&page=" . ($i + 1) .
|
||||
"&sort=" . $this->sortColumn . "&sortdirection=" . $this->sortDirection . $this->filterText . "\">" . ($i + 1) . "</a>\n");
|
||||
echo " <a href=\"list.php?type=" . $this->type . "&norefresh=true&page=" . ($i + 1) .
|
||||
"&sort=" . $this->sortColumn . "&sortdirection=" . $this->sortDirection . $this->filterText . "\">" . ($i + 1) . "</a>\n";
|
||||
}
|
||||
}
|
||||
if ($this->page < (($count / $this->maxPageEntries) - 10)) {
|
||||
|
@ -303,7 +303,7 @@ class lamList {
|
|||
"<img height=16 width=16 class=\"align-middle\" alt=\"\" src=\"../../graphics/go-next.png\"></a>\n");
|
||||
}
|
||||
if ($this->page < ($count / $this->maxPageEntries)) {
|
||||
echo("<a title=\"" . _('Jump to last page') . "\" href=\"list.php?type=" . $this->type . "&norefresh=true&page=" . round(($count / $this->maxPageEntries)) .
|
||||
echo("<a title=\"" . _('Jump to last page') . "\" href=\"list.php?type=" . $this->type . "&norefresh=true&page=" . ceil(($count / $this->maxPageEntries)) .
|
||||
"&sort=" . $this->sortColumn . "&sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
|
||||
"<img height=16 width=16 class=\"align-middle\" alt=\"\" src=\"../../graphics/go-last.png\"></a>\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue