Skip to content

Commit

Permalink
Update pagebreak.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AndySDH committed Jan 5, 2018
1 parent e42cee4 commit f2d9439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/content/pagebreak/pagebreak.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ protected function _createNavigation(&$row, $page, $n)
$link_next = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catid, $row->language) . '&showall=&limitstart=' . $page_next);

// Next >>
$next = '<a class="next_page" href="' . $link_next . '">' . JText::_( 'Next Page' ) . $pnSpace . JText::_('JGLOBAL_GT') . '</a>';
$next = '<a class="next_page" href="' . $link_next . '">' . JText::_( 'JNEXT_PAGE' ) . $pnSpace . JText::_('JGLOBAL_GT') . '</a>';
}

if ($page > 0)
Expand All @@ -368,7 +368,7 @@ protected function _createNavigation(&$row, $page, $n)
$link_prev = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catid, $row->language) . '&showall=&limitstart=' . $page_prev);

// << Prev
$prev = '<a class="prev_page" href="' . $link_prev . '">' . JText::_('JGLOBAL_LT') . $pnSpace . JText::_( 'Prev Page' ) . '</a>';
$prev = '<a class="prev_page" href="' . $link_prev . '">' . JText::_('JGLOBAL_LT') . $pnSpace . JText::_( 'JPREV_PAGE' ) . '</a>';
}

$row->text .= $prev . $next;
Expand Down

0 comments on commit f2d9439

Please sign in to comment.