summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
AgeCommit message (Collapse)AuthorFilesLines
2020-06-24Fix user guide urlsapics1-1/+1
Replace from https://codeigniter.com/user_guide/* to https://codeigniter.com/userguide3/*
2018-12-27Update copyright date to 2019Jim Parry1-2/+2
2018-05-18http:// to https://Mehdi Bounya1-3/+3
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-11-28[ci skip] Polish changes from PR #5342Andrey Andreev1-1/+3
2017-11-27Enable rel attribute by default #4000Ahmad Anbar1-0/+2
2017-11-26remove spacesAhmad Anbar1-1/+1
2017-11-26Fix issue #4454Ahmad Anbar1-3/+2
2017-01-16spelling fixesklemens1-1/+1
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-01-20[ci skip] Remove a trailing space from latest PR mergeAndrey Andreev1-1/+1
2016-01-20Respect $config['cur_page'] variable for paginationjekkos1-1/+5
After upgrading to CI3 I noticed that developers are able to determine the current page counter for pagination based on * Explicit query string parameters * URI segment configuration In earlier versions a developer could still set the current page counter in the pagination lib directly which is useful if you want to use pagination with HTTP POST instead of GET. This could be done by passing $config['cur_page'] = '10'; to the pagination function for link generation. Currently this code has changed and will always try to check whether the uri segment is a valid number or not, even if the cur_page variable was passed in the associative array, and fallback to zero if it fails to validate that result. This can be easily resolved by checking whether the counter was already set with a valid number from the $config array before trying to resolve it from the uri segment. This fix give a developer more flexibility and stop CI from overwriting the externally set value with an incorrect one. Signed-off-by: jekkos <jeroen.peelaerts@gmail.com>
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-09-16Fix #4116Andrey Andreev1-6/+6
Close #4117
2015-07-26Fix #4000Andrey Andreev1-1/+2
2015-03-30Fixes pagination with relative URLMiguel González1-1/+1
When base_url is a URL based on protocol, like "//www.google.com" the double slash regex kills the first "//".
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20Pagination: Add 'use_global_url_suffix' settingAndrey Andreev1-0/+12
Resolves issue #1887
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-08-01Make CI_Pagination properties per_page, cur_page publicAndrey Andreev1-38/+38
Useful if you want to make calculations based on them.
2014-06-13Make 'num_links=0' configuration available in Pagination libraryTakayuki Sakai1-4/+4
Changed conditions when making 'first' and 'last' links
2014-06-13Revert "Make num_links=0 in pagination library possible to configure"Takayuki Sakai1-15/+9
This reverts commit a01924d2cc2d63d2bddbee85a18b423b88a9b19e.
2014-06-13Make num_links=0 in pagination library possible to configureTakayuki Sakai1-9/+15
2014-02-18Fixed variable scope.Ahmad Anbar1-1/+1
2014-02-17Micro-optimizationsAndrey Andreev1-13/+23
2014-02-17Fix #2884Andrey Andreev1-1/+1
2014-02-13Fix #2878Andrey Andreev1-1/+1
2014-02-13Fix #2364Andrey Andreev1-19/+21
2014-02-13Add language translation support to CI_Pagination (#1589)Andrey Andreev1-7/+14
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-08Add method chaining support to Calendar & Pagination libsAndrey Andreev1-1/+3
2013-10-14Fix #2674Andrey Andreev1-1/+2
2013-02-08[ci skip] Remove unnecessary string casts in PaginationAndrey Andreev1-3/+2
2013-01-29Replace is_numeric() with ctype_digit()Eric Roberts1-6/+13
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Move $get assignment to if/else.Eric Roberts1-2/+4
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Remove spaces from concats.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-28Multiple pagination bug fixes & optimizations.Eric Roberts1-83/+107
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-22Manually apply a fix submitted via PR #2012, #2016Andrey Andreev1-6/+8
2012-11-01[ci skip] DocBlocks for Pagination, Session, Trackback, Jquery librariesAndrey Andreev1-36/+259
Partially fixes issue #1295
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-22Fix issues #1476, #1909Andrey Andreev1-2/+2
2012-09-21Fixed #1817 Pagination class errorBo-Yi Wu1-1/+2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2012-09-07Removed the &nbsp; from the default config variables in the pagination ↵Alex Bilbie1-8/+8
class. Fixes #187 and #208 Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-07-13Add a changelog entry for issue #1605 (pull #1606) and remove some spacesAndrey Andreev1-4/+4
2012-07-13fix issue #1605 covert page number type from float to intBo-Yi Wu1-2/+2
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>