Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: fluxbb/fluxbb
...
head fork: fluxbb/fluxbb
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/functions.php
4 include/functions.php
View
@@ -882,7 +882,7 @@ function paginate($num_pages, $cur_page, $link)
{
// Add a previous page link
if ($num_pages > 1 && $cur_page > 1)
- $pages[] = '<a'.(empty($pages) ? ' class="item1"' : '').' href="'.$link.'&amp;p='.($cur_page - 1).'">'.$lang_common['Previous'].'</a>';
+ $pages[] = '<a rel="prev" '.(empty($pages) ? ' class="item1"' : '').' href="'.$link.'&amp;p='.($cur_page - 1).'">'.$lang_common['Previous'].'</a>';
if ($cur_page > 3)
{
@@ -913,7 +913,7 @@ function paginate($num_pages, $cur_page, $link)
// Add a next page link
if ($num_pages > 1 && !$link_to_all && $cur_page < $num_pages)
- $pages[] = '<a'.(empty($pages) ? ' class="item1"' : '').' href="'.$link.'&amp;p='.($cur_page +1).'">'.$lang_common['Next'].'</a>';
+ $pages[] = '<a rel="next" '.(empty($pages) ? ' class="item1"' : '').' href="'.$link.'&amp;p='.($cur_page +1).'">'.$lang_common['Next'].'</a>';
}
return implode(' ', $pages);

No commit comments for this range

Something went wrong with that request. Please try again.