summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
AgeCommit message (Collapse)AuthorFilesLines
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>
2012-07-12Added data-ci-pagination-page="x" to pagination output so JS frameworks can ↵Phil Sturgeon1-7/+27
hook on.
2012-06-23Added ['reuse_query_string'] to Pagination.Phil Sturgeon1-40/+58
This allows automatic repopulation of query string arguments, combined with normal URI segments.
2012-06-19Property values aligned into one vertical lineDumk01-17/+17
2012-06-17Pagination: fixed 'rel' attribute handling, added custom attributes support, ↵Andrey Andreev1-27/+59
deprecated 'anchor_class' setting
2012-06-12Add support for the anchor 'rel' attribute in the Pagination libraryAndrey Andreev1-7/+37
2012-06-12Switch protected properties in Pagination class to public and fix 2 issues ↵Andrey Andreev1-34/+34
from d261b1e89c3d4d5191036d5a5660ef6764e593a0
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-14/+14
2012-05-17Clean up the librariesAndrey Andreev1-0/+1
2012-05-02Fix pagination anchor_class with multiple initializationsAndrey Andreev1-6/+5
2012-03-26Remove access description lines and cleanup the Pagination libraryAndrey Andreev1-27/+17
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-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...
2012-01-10Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developRonald Beilsma1-5/+11
2012-01-05Merge branch 'patch-1' of https://github.com/dixy/CodeIgniter-1 into ↵Eric Barnes1-2/+2
dixy-patch-1 Conflicts: user_guide_src/source/changelog.rst
2012-01-04Fixed paging with prefix and suffix for real page numbers. Refs #677 Fixes #52Eric Barnes1-3/+4
2012-01-04Fixed prefix and suffix in pagination. Fixes #677Eric Barnes1-0/+5
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-29ceil returned float (line 131), so if statement in line 134 was bound to ↵Ronald Beilsma1-2/+2
return false (===, float vs integer)
2011-12-28fixed bug in pagination libraryRonald Beilsma1-1/+1
return value of ceil is of type float