summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-13 19:11:13 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-13 19:11:13 +0200
commit685cdd7a28a8e7ec5a3769e2b0d2cdd40c8f6bf9 (patch)
tree91dcdd78693949d2f02f5b02f485bff10fd36115 /system/libraries/Pagination.php
parent44fb02f65dcc64bd1d6e317f147cc083ccda18d1 (diff)
Add a changelog entry for issue #1605 (pull #1606) and remove some spaces
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r--system/libraries/Pagination.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index df9b0ddd9..5573f6407 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -231,7 +231,7 @@ class CI_Pagination {
if ($this->reuse_query_string === TRUE)
{
$get = $CI->input->get();
-
+
// Unset the controll, method, old-school routing options
unset($get['c'], $get['m'], $get[$this->query_string_segment]);
@@ -248,9 +248,9 @@ class CI_Pagination {
if ($this->first_link !== FALSE && $this->cur_page > ($this->num_links + 1))
{
$first_url = ($this->first_url === '') ? $this->base_url : $this->first_url;
-
+
// Take the general parameters, and squeeze this pagination-page attr in there for JS fw's
- $attributes = sprintf('%s %s="%d"', $this->_attributes, $this->data_page_attr, 1);
+ $attributes = sprintf('%s %s="%d"', $this->_attributes, $this->data_page_attr, 1);
$output .= $this->first_tag_open.'<a href="'.$first_url.'"'.$attributes.$this->_attr_rel('start').'>'
.$this->first_link.'</a>'.$this->first_tag_close;
@@ -392,4 +392,4 @@ class CI_Pagination {
}
/* End of file Pagination.php */
-/* Location: ./system/libraries/Pagination.php */
+/* Location: ./system/libraries/Pagination.php */ \ No newline at end of file