Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CS

  • Loading branch information...
commit 937ef141e5e917456fd25988109dd5cfc4d5cd3c 1 parent 02247be
@quipo quipo authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 Sliding.php
View
20 Sliding.php
@@ -256,11 +256,11 @@ function _getPageLinks($url = '')
if ($i == $this->_currentPage) {
$this->range[$i] = true;
- if (!empty($this->_linkContainer)) {
- $links .= '<'.$this->_linkContainerPre.'>' . $this->_curPageSpanPre . $i . $this->_curPageSpanPost . '</'.$this->_linkContainer.'>';
- } else {
- $links .= $this->_curPageSpanPre . $i . $this->_curPageSpanPost;
- }
+ if (!empty($this->_linkContainer)) {
+ $links .= '<'.$this->_linkContainerPre.'>' . $this->_curPageSpanPre . $i . $this->_curPageSpanPost . '</'.$this->_linkContainer.'>';
+ } else {
+ $links .= $this->_curPageSpanPre . $i . $this->_curPageSpanPost;
+ }
} else {
$this->range[$i] = false;
$this->_linkData[$this->_urlVar] = $i;
@@ -291,11 +291,11 @@ function _getPageLinks($url = '')
$links .= $this->_renderLink(str_replace('%d', $i, $this->_altPage), $i);
} else {
$this->range[$i] = true;
- if (!empty($this->_linkContainer)) {
- $links .= '<'.$this->_linkContainerPre.'>' . $this->_curPageSpanPre . $i . $this->_curPageSpanPost . '</'.$this->_linkContainer.'>';
- } else {
- $links .= $this->_curPageSpanPre . $i . $this->_curPageSpanPost;
- }
+ if (!empty($this->_linkContainer)) {
+ $links .= '<'.$this->_linkContainerPre.'>' . $this->_curPageSpanPre . $i . $this->_curPageSpanPost . '</'.$this->_linkContainer.'>';
+ } else {
+ $links .= $this->_curPageSpanPre . $i . $this->_curPageSpanPost;
+ }
}
$links .= $this->_spacesBefore
. (($i != $this->_totalPages) ? $this->_separator.$this->_spacesAfter : '');
Please sign in to comment.
Something went wrong with that request. Please try again.