summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
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
2012-07-01If you don't know an answer, just say that you don't know.Phil Sturgeon1-2/+2
2012-06-27valid_email() to always return booleanAndrey Andreev1-1/+1
2012-06-27Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into emailTimothy Warren6-117/+117
2012-06-27URL Helper redirect() to utilize HTTP/1.1 response code 303 See OtherAndrey Andreev1-3/+11
2012-06-26Fix issue #427Andrey Andreev1-1/+2
2012-06-22Added optional fourth parameter to timezone_menuMat Whitney1-2/+18
allows setting one or more attributes on the generated select tag. This allows passing attributes needed for Section 508 compliance § 1194.22(n), such as an id. http://access-board.gov/sec508/guide/1194.22.htm#(n) http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
2012-06-17Add deprecated docblock tags for do_hash() and read_file()Andrey Andreev2-0/+2
2012-06-16anchor_popup() improvementsAndrey Andreev1-3/+13
2012-06-16Fix two anchor_popup() issuesAndrey Andreev1-5/+2
2012-06-16Fix local_to_gmt()Andrey Andreev1-7/+7
2012-06-16Small improvements to form_open()Andrey Andreev1-4/+6
2012-06-16Spelling fixes - `wether` to `whether`Alex Bilbie1-1/+1
Interestingly `wether` means a castrated ram in old English