summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
2013-07-28Polishing Form helpervlakoff1-1/+6
2013-07-28Form helper _attributes_to_string() micro-optimizationvlakoff1-5/+5
As $attributes should be most of the times an array, let's save an is_string() call.
2013-07-27More logical ordervlakoff1-11/+11
2013-07-27Form helper: refactor form_open() and _attributes_to_string()vlakoff1-38/+18
2013-07-26Fix #2560Andrey Andreev1-2/+10
2013-07-26Fix #2558Andrey Andreev1-1/+1
2013-07-23Loader changes & optimizations related to issue #2551Andrey Andreev1-1/+1
2013-07-19[ci skip] Simplify get_file_info()Andrey Andreev1-1/+1
2013-07-18Add color customization to the CAPTCHA helperAndrey Andreev1-17/+37
Ref: Issue #867 & PRs #1405, #2485
2013-07-18Micro-optimization on base_url() & site_url()Andrey Andreev1-6/+6
2013-07-18Add that parameter for real :)Andrey Andreev1-1/+1
2013-07-18Add an optional parameter to URL helpers base_url() and site_url() ↵Andrey Andreev1-7/+21
(supersedes #2535)
2013-07-17[ci skip] Remove some empty linesAndrey Andreev2-2/+2
2013-05-18Required arg in between optional onesRasmus Lerdorf1-2/+2
Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
2013-05-18The date_range() function is a bit brokenRasmus Lerdorf1-3/+3
Neither $unix_time nor $start_date were defined here Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
2013-04-14final change (extra space)ash1-1/+1
2013-04-14newline at endash1-1/+1
2013-04-14eolash1-1/+0
2013-04-14eol 2ash1-0/+1
2013-04-14eol test.ash1-1/+1
2013-04-10removed sanity checks (developer-supplied value, not user input), added ↵ash1-15/+3
changelog entry, changed variable names
2013-04-10typo changeash1-3/+3
Uses the same defaults as were hard coded in (8 chars in length, 0-9a-aA-Z). Small change in this file means less code elsewhere when generating random character strings for the captcha word. all existing code will work the same.
2013-04-10Add options in create_captcha() to specify the randomly generated captcha ↵ash1-5/+16
word length and character pool Uses the same defaults as were hard coded in (8 chars in length, 0-9a-aA-Z). Small change in this file means less code elsewhere when generating random character strings for the captcha word.
2013-03-26Merge pull request #2348 from nisheeth-barthwal/feature/nested_keysAndrey Andreev1-7/+6
Added Parsing Capabilities to Input class for nested array keys
2013-03-26Code fixes in line with suggestionsnisheeth-barthwal1-10/+5
2013-03-25Simplified notation parsing and other cosmetic fixesnisheeth-barthwal1-32/+2
2013-03-24Fixed error in form_textarea helper functionZachary Cardoza1-1/+0
Reverted from GitHub edited version to remove document line end character. Good to merge now.
2013-03-24Revert "Fixed error in Form Helper textarea function"Zachary Cardoza1-1/+2
This reverts commit e15d1be514dad1df7a3c38d6265566692ecf1260.
2013-03-23Removed $recurse parameter in lieu of auto parsing. Changed "provision" entry.nisheeth-barthwal1-1/+1
2013-03-22Fixed error in Form Helper textarea functionZach Cardoza1-2/+1
Function had declaration of unused $name variable which caused errors.
2013-03-21Added array notation for keys in Input librarynisheeth-barthwal1-5/+39
2013-02-28Text helper: convert_accented_characters() optimizationvlakoff1-5/+8
Thanks to static variables, array_keys() and array_values() are now executed once only.
2013-02-18Fixed form helper variable errorBo-Yi Wu1-1/+1
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2013-02-15Fix #2247Andrey Andreev1-6/+3
2013-02-08Allow non-string values to be used as captcha words (issue #2215)Andrey Andreev1-1/+5
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev4-25/+47
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-28Fix auto_link() for the Nth timeAndrey Andreev1-9/+10
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev3-3/+3
As suggested in issue #2134 & PR #2149
2013-01-21Adjust regex.Eric Roberts1-1/+1
2013-01-19Remove whitespace from empty lines.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Fix and optimize auto_link() URL helper function.Eric Roberts1-31/+22
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-17Fix issues #2160, #2161Andrey Andreev1-11/+6
2013-01-01[ci skip] Happy new yearAndrey Andreev21-21/+21
2012-12-08While most of CodeIgniter supports protocol-relative URLs, a few URL helpers ↵Aaron Adams1-3/+3
do not. Most notably, redirect('//www.facebook.com/aaronadams') led my browser to https://aaronadams.ca/index.php/www.facebook.com/aaronadams. In this commit, I have fixed the header() helper, along with the anchor() and anchor_popup() helpers, to be compatible with protocol-relative URLs. Signed-off-by: Aaron Adams <aaron@aaronadams.ca>
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev5-30/+28
2012-11-26Fix some erroneous variable names (sorry)Andrey Andreev1-2/+2
2012-11-26Language helper lang() to accept optional HTML attributesAndrey Andreev1-4/+5
(an improved version of PR #1235)
2012-11-22Added support for stream-like downloads of existing files to force_download()Andrey Andreev1-3/+38
Based on code/ideas from PR #365, #1254
2012-11-17Corrected phpdoc comment for mysql_to_unix() methodwebmasterar1-2/+2
2012-11-12Some micro-optimizationsAndrey Andreev1-2/+2