summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
2012-11-08Polish docs for the File and Form helpersAndrey Andreev1-17/+17
2012-11-08Deprecate the Email helperAndrey Andreev1-5/+7
2012-11-06directory_map() ... the final oneAndrey Andreev1-1/+2
2012-11-06Fix issue #1978Andrey Andreev1-4/+6
2012-11-02Some micro-optimizationsAndrey Andreev1-12/+5
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev21-21/+43
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-11-01Fix an erroneous variable nameAndrey Andreev1-1/+1
2012-11-01Fix issue #1953 (form values being escaped twice)Andrey Andreev1-37/+46
Re-instaing an improved form_prep() function, reverting most of the changes from 74ffd17ab06327ca62ddfe28a186cae7ba6bd459.
2012-10-27Deprecate string helper repeater() (an alias for str_repeat())Andrey Andreev1-2/+5
2012-10-27[ci skip] Optimize ascii_to_entities()Andrey Andreev1-7/+4
2012-10-27[ci skip] Update docblocks for deprecated functionsAndrey Andreev4-22/+16
2012-10-26Fix #142Andrey Andreev1-10/+10
2012-10-26Deprecated form helper function form_prep().Andrey Andreev1-40/+11
This function has been broken for YEARS and it's value-caching logic has only introduced various problems. We have html_escape() since CI 2.1.0 which is a perfect replacement, so it should be used instead. Fixes #228 & #1630
2012-10-25Form helpers to ignore empty name attributes (fix #1506)Andrey Andreev1-0/+4
2012-10-25Add missing delimiter in preg_quote() occurences (fix #1929)Andrey Andreev1-1/+1
2012-10-24Fix #1146Andrey Andreev1-6/+3
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev2-14/+13
2012-10-23Fix issues #134, #1911Andrey Andreev1-1/+1
2012-10-19Manually apply an improved version of PR #1797 (auto_link() URL helper)Andrey Andreev1-9/+12
2012-10-12Set MySQL client compression to FALSE by default (problems reported with ↵Andrey Andreev1-1/+1
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting
2012-10-05Merge upstream branchAndrey Andreev20-833/+722
2012-09-17Merge pull request #1783 from vlakoff/developAndrey Andreev1-1/+1
Better server test in redirect() of URL helper
2012-09-13directory_map() was skipping files and directories named "0"vlakoff1-1/+1
Close #1757. Thanks @BennyC!
2012-09-12Better server test in redirect() of URL helpervlakoff1-1/+1
"Location" header bugs are specific to IIS; previous test was matching all HTTP servers under Windows. This test isn't perfect yet ($_SERVER['SERVER_SOFTWARE'], which corresponds to the "Server" header of HTTP response, might be missing), but there is no perfect test. "Refresh" method makes the window blank for quite a noticeable time, so let's not affect other servers because of IIS.
2012-09-07Merge pull request #1760 from vlakoff/develop-2Alex Bilbie1-1/+1
Better old captcha image test
2012-09-05Merge pull request #1750 from vlakoff/developAndrey Andreev1-1/+2
Simplification in Text Helper's character_limiter()
2012-09-04More complicated but faster methodvlakoff1-1/+2
Also added a comment to explain the reason for such a complicated method
2012-09-03Slightly robuster testvlakoff1-1/+1
Also, single quotes per style conventions
2012-08-31Simplification in Text Helper's character_limiter()vlakoff1-1/+1
Because the "\s" regex character class includes \r and \n, there is no need for the str_replace() part
2012-08-19Fixes issue #1678pickupman1-2/+1
2012-08-15Fix issue #1712Andrey Andreev1-1/+1
2012-08-14fix issue 1706Michiel Vugteveen1-1/+4
2012-07-29Adding a common stringify_attributes function for dealing with attributes ↵Eric Barnes3-100/+8
through out various helpers. Signed-off-by: Eric Barnes <eric@ericlbarnes.com>
2012-07-28Adding optional attributes as array or object for html helperEric Barnes1-19/+40
2012-07-27Improve change from f0ecb55dfe8dbfaf4c65dbe9d7e1bba8c131ebf4 and add ↵Andrey Andreev1-1/+1
changelog entries for pull #1654
2012-07-26If $htdocs = FALSE delete_files would never unlinkPhil Sturgeon1-1/+1
2012-07-22Removing $reduce_linebreaks in auto_typography helper. Fixes #1642Eric Barnes1-2/+2
I researched this back to a commit by @derekjones but couldn't find any history on what the reason for it was or why it was even added. Signed-off-by: Eric Barnes <eric@ericlbarnes.com>
2012-07-22Comment fix. Html5 is most popular these days and should be added to ↵Przemyslaw Tomaszewski1-3/+3
comment. Also - information that there are more doctypes than specified in comment was not included.
2012-07-13Fix issue #1613Andrey Andreev1-1/+6
2012-07-12Important space fix :)vkeranov1-1/+1
2012-07-12Wrong url againvkeranov1-1/+1
2012-07-12Another typo...vkeranov1-1/+1
2012-07-12Fixed typo in the commentsvkeranov1-2/+1
2012-07-04Ahem.Phil Sturgeon1-2/+2
2012-07-04Further update to `element()` to remove more unexpected results.Phil Sturgeon1-2/+2
2012-07-04Having `"0"` in an array would give you NULL with `elements()`. BAD! Phil Sturgeon1-1/+1
The trouble here, is that when we are expecting a valid result, such as `0`, or `false` that the array helper will instead say "I don't know if there is a value" and give you a `null`.
2012-07-04Deprecate Date helper standard_date()Andrey Andreev1-0/+13
2012-07-04Optimize standard_date()Andrey Andreev1-15/+13
2012-07-02Fix issue #1551Andrey Andreev1-4/+4
2012-07-02Update Array Helper documentationvlakoff1-1/+1
default value of the "default value" parameter has changed in element() and elements() methods