Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-20 | Respect $config['cur_page'] variable for pagination | jekkos | 1 | -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 too | Andrey Andreev | 1 | -1/+1 | |
2016-01-11 | [ci skip] Update codeigniter.com links to https | Andrey Andreev | 1 | -2/+2 | |
2016-01-11 | [ci skip] Bump year to 2016 | Andrey Andreev | 1 | -2/+2 | |
2015-09-16 | Fix #4116 | Andrey Andreev | 1 | -6/+6 | |
Close #4117 | |||||
2015-07-26 | Fix #4000 | Andrey Andreev | 1 | -1/+2 | |
2015-03-30 | Fixes pagination with relative URL | Miguel González | 1 | -1/+1 | |
When base_url is a URL based on protocol, like "//www.google.com" the double slash regex kills the first "//". | |||||
2015-01-21 | Remove closing blocks at end of PHP files | vlakoff | 1 | -3/+0 | |
2015-01-20 | Pagination: Add 'use_global_url_suffix' setting | Andrey Andreev | 1 | -0/+12 | |
Resolves issue #1887 | |||||
2015-01-20 | [ci skip] Change some log messages' level | Andrey Andreev | 1 | -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-09 | Bulk (mostly documentation) update | Andrey Andreev | 1 | -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 #3293 | Andrey Andreev | 1 | -14/+25 | |
2014-08-01 | Make CI_Pagination properties per_page, cur_page public | Andrey Andreev | 1 | -38/+38 | |
Useful if you want to make calculations based on them. | |||||
2014-06-13 | Make 'num_links=0' configuration available in Pagination library | Takayuki Sakai | 1 | -4/+4 | |
Changed conditions when making 'first' and 'last' links | |||||
2014-06-13 | Revert "Make num_links=0 in pagination library possible to configure" | Takayuki Sakai | 1 | -15/+9 | |
This reverts commit a01924d2cc2d63d2bddbee85a18b423b88a9b19e. | |||||
2014-06-13 | Make num_links=0 in pagination library possible to configure | Takayuki Sakai | 1 | -9/+15 | |
2014-02-18 | Fixed variable scope. | Ahmad Anbar | 1 | -1/+1 | |
2014-02-17 | Micro-optimizations | Andrey Andreev | 1 | -13/+23 | |
2014-02-17 | Fix #2884 | Andrey Andreev | 1 | -1/+1 | |
2014-02-13 | Fix #2878 | Andrey Andreev | 1 | -1/+1 | |
2014-02-13 | Fix #2364 | Andrey Andreev | 1 | -19/+21 | |
2014-02-13 | Add language translation support to CI_Pagination (#1589) | Andrey Andreev | 1 | -7/+14 | |
2014-02-11 | 2013 > 2014 | darwinel | 1 | -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-08 | Add method chaining support to Calendar & Pagination libs | Andrey Andreev | 1 | -1/+3 | |
2013-10-14 | Fix #2674 | Andrey Andreev | 1 | -1/+2 | |
2013-02-08 | [ci skip] Remove unnecessary string casts in Pagination | Andrey Andreev | 1 | -3/+2 | |
2013-01-29 | Replace is_numeric() with ctype_digit() | Eric Roberts | 1 | -6/+13 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-29 | Move $get assignment to if/else. | Eric Roberts | 1 | -2/+4 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-29 | Remove spaces from concats. | Eric Roberts | 1 | -5/+5 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-28 | Multiple pagination bug fixes & optimizations. | Eric Roberts | 1 | -83/+107 | |
Signed-off-by: Eric Roberts <eric@cryode.com> | |||||
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 1 | -1/+1 | |
2012-11-22 | Manually apply a fix submitted via PR #2012, #2016 | Andrey Andreev | 1 | -6/+8 | |
2012-11-01 | [ci skip] DocBlocks for Pagination, Session, Trackback, Jquery libraries | Andrey Andreev | 1 | -36/+259 | |
Partially fixes issue #1295 | |||||
2012-11-01 | Manually apply PR #1594 (fixing phpdoc page-level generation/warnings) | Andrey Andreev | 1 | -1/+2 | |
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files. | |||||
2012-10-22 | Fix issues #1476, #1909 | Andrey Andreev | 1 | -2/+2 | |
2012-09-21 | Fixed #1817 Pagination class error | Bo-Yi Wu | 1 | -1/+2 | |
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> | |||||
2012-09-07 | Removed the from the default config variables in the pagination ↵ | Alex Bilbie | 1 | -8/+8 | |
class. Fixes #187 and #208 Signed-off-by: Alex Bilbie <alex@alexbilbie.com> | |||||
2012-07-13 | Add a changelog entry for issue #1605 (pull #1606) and remove some spaces | Andrey Andreev | 1 | -4/+4 | |
2012-07-13 | fix issue #1605 covert page number type from float to int | Bo-Yi Wu | 1 | -2/+2 | |
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> | |||||
2012-07-12 | Added data-ci-pagination-page="x" to pagination output so JS frameworks can ↵ | Phil Sturgeon | 1 | -7/+27 | |
hook on. | |||||
2012-06-23 | Added ['reuse_query_string'] to Pagination. | Phil Sturgeon | 1 | -40/+58 | |
This allows automatic repopulation of query string arguments, combined with normal URI segments. | |||||
2012-06-19 | Property values aligned into one vertical line | Dumk0 | 1 | -17/+17 | |
2012-06-17 | Pagination: fixed 'rel' attribute handling, added custom attributes support, ↵ | Andrey Andreev | 1 | -27/+59 | |
deprecated 'anchor_class' setting | |||||
2012-06-12 | Add support for the anchor 'rel' attribute in the Pagination library | Andrey Andreev | 1 | -7/+37 | |
2012-06-12 | Switch protected properties in Pagination class to public and fix 2 issues ↵ | Andrey Andreev | 1 | -34/+34 | |
from d261b1e89c3d4d5191036d5a5660ef6764e593a0 | |||||
2012-06-02 | Replaced `==` with `===` and `!=` with `!==` in /system/libraries | Alex Bilbie | 1 | -14/+14 | |
2012-05-17 | Clean up the libraries | Andrey Andreev | 1 | -0/+1 | |
2012-05-02 | Fix pagination anchor_class with multiple initializations | Andrey Andreev | 1 | -6/+5 | |
2012-03-26 | Remove access description lines and cleanup the Pagination library | Andrey Andreev | 1 | -27/+17 | |
2012-03-09 | Bumped CodeIgniter's PHP requirement to 5.2.4. | Phil Sturgeon | 1 | -1/+1 | |
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway... |