adding jump to last and jump to first
This commit is contained in:
1 parent
a1ad53d2bd
commit
30c24be400
1 file changed
+3
-1
@@ -328,6 +328,7 @@ class furatalogLib {
|
||||
$before = "";
|
||||
|
||||
if (!($currentpage <= 1)) {
|
||||
echo "<a class=\"prev\" href=\"?p=" . (1) . "\"><<</a>";
|
||||
echo "<a class=\"prev\" href=\"?p=" . ($currentpage-1) . "\"><</a>";
|
||||
}
|
||||
|
||||
@@ -346,7 +347,8 @@ class furatalogLib {
|
||||
}
|
||||
|
||||
if (!($currentpage >= $currentMaxPages)) {
|
||||
echo "<a class=\"prev\" href=\"?p=" . ($currentpage+1) . "\">></a>";
|
||||
echo "<a class=\"next\" href=\"?p=" . ($currentpage+1) . "\">></a>";
|
||||
echo "<a class=\"next\" href=\"?p=" . ($currentMaxPages) . "\">>></a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user