Skip to content

Commit

Permalink
Fix paginate wording
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWin committed Jun 14, 2021
1 parent 7e89f90 commit c9fa1e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/onions.php
Expand Up @@ -486,9 +486,9 @@ function get_pagination(int $category, int $pages) : string {
ob_start();
echo "<ul class=\"list pagination\"><li>$I[pages]:</li>";
if($_REQUEST['pg']==0){
echo " <li class=\"active\"><a href=\"?cat=$category&amp;pg=0&amp;lang=$language\" target=\"_self\">$I[all_legitimate]</a></li>";
echo " <li class=\"active\"><a href=\"?cat=$category&amp;pg=0&amp;lang=$language\" target=\"_self\">$I[all]</a></li>";
}else{
echo " <li><a href=\"?cat=$category&amp;pg=0&amp;lang=$language\" target=\"_self\">$I[all_legitimate]</a></li>";
echo " <li><a href=\"?cat=$category&amp;pg=0&amp;lang=$language\" target=\"_self\">$I[all]</a></li>";
}
for($i=1; $i<=$pages; ++$i){
if($_REQUEST['pg']==$i){
Expand Down

0 comments on commit c9fa1e1

Please sign in to comment.