summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
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
2012-11-09Polish docs for URL and XML helpers and deprecate obsolete options for ↵Andrey Andreev1-7/+10
String helper random_string() and URL helper url_title()
2012-11-08Polish docs for String, Text and Typography helpersAndrey Andreev1-2/+2
2012-11-08Deprecate String helper trim_slashes()Andrey Andreev1-0/+3
trim(, '/') is even shorter ...
2012-11-08Polish docs for HTML, Inflector, Language, Number, Path, Security and Smiley ↵Andrey Andreev3-17/+15
helpers Also fixed a DB_cache bug introduced in previous commit and removed an unused parameter in a smiley helper
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