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