summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
2014-05-16fix wrong if expression in link_tagEmmanuel Grognet1-1/+1
2014-05-08Removed empty lineegig1-1/+1
2014-05-08Prepare image url.egig1-1/+2
2014-03-17Making highlight_phrase() to be UTF-8 compatible on demand.Ivan Tcholakov1-1/+1
2014-03-12Add support for protocol-relative URLs in HTML helpers img(), link_tag()Andrey Andreev1-3/+3
2014-03-12Check image path is include http:// or https://wuwx1-1/+1
2014-03-06Fix #2919Andrey Andreev1-14/+30
2014-03-04Fix #2916Andrey Andreev1-2/+5
2014-02-26Deprecate HTML helpers nbs(), br()Andrey Andreev1-0/+2
2014-02-26Don't use error suppression on is_dir(), file_exists()Andrey Andreev2-3/+3
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev8-104/+121
2014-02-24Really don't use globalsAndrey Andreev1-2/+1
2014-02-20Date helper days_in_month(), CI_Calendar::get_total_days() changesAndrey Andreev1-0/+5
- days_in_month() now uses cal_days_in_month(), if available. - CI_Calendar::get_total_days() is now an alias for days_in_month().
2014-02-17Merge pull request #2881 from brenjt/form_helperAndrey Andreev1-10/+16
form_dropdown array as first param fix
2014-02-17Removed extra space, condensed $defaultsBrennan Thompson1-4/+3
2014-02-17Removed extra spaces and irrelevant conditionBrennan Thompson1-11/+11
2014-02-17Micro-optimizationsAndrey Andreev1-1/+0
2014-02-17Updated code to match style guideBrennan Thompson1-3/+3
2014-02-17Removed non permitted changesBrennan Thompson1-3/+1
2014-02-16Dropdown should match style guide now.Brennan Thompson1-2/+8
2014-02-15[ci skip] Don't use output buffering in URL helper safe_mailto()Andrey Andreev1-17/+18
2014-02-14Actual fix for extra whitespaceBrennan Thompson1-1/+1
2014-02-14Removed space for travis ci checksBrennan Thompson1-1/+1
2014-02-14Fix for selected being NULL from set_valueBrennan Thompson1-1/+1
2014-02-14Made form_dropdown compatible with the other form helper methodsBrennan Thompson1-19/+22
2014-02-13Update Text and Inflector helpers to utilize mbstring, if availableAndrey Andreev2-16/+17
Text: word_wrap(), ellipsize() Inflector: humanize(), underscore() (rel #2855)
2014-02-13Merge pull request #2610 from mjnaderi/patch-1Andrey Andreev1-4/+4
character_limiter now works correct for UTF-8 strings
2014-02-112013 > 2014darwinel21-21/+21
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-09Removed new line at the end of file locally.iolufemi1-1/+1
2014-02-07Fixed Typo in String Helper functionOlanipekun Femi1-2/+2
alnum spelled as alunum in random_string function documentation comment.
2014-02-07Use is_really_writable() in captcha helperAndrey Andreev1-1/+1
2014-02-07Use is_really_writable() in get_file_info()Andrey Andreev1-2/+1
2014-01-28Fix #2845Andrey Andreev1-1/+1
2014-01-24[ci skip] AND -> &&Andrey Andreev1-1/+1
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev1-2/+10
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases.
2014-01-09Add HTTP response code 307 support in URL helper redirect()Andrey Andreev1-5/+10
2014-01-09Fix #133Andrey Andreev1-1/+6
2014-01-08Fix 2 errors caused by recent commitsAndrey Andreev1-1/+2
2014-01-08Fix #346Andrey Andreev1-1/+2
When ['global_xss_filtering'] was turned on, the , , & superglobals were automatically overwritten. This resulted in one of the following problems: - xss_clean() being called twice - Inability to retrieve the original (not filtered) value XSS filtering is now only applied on demand by the Input class, and the default value for the parameter in CI_Input methods is changed to NULL. Unless a boolean value is passed to them, whether XSS filtering is applied depends on the ['global_xss_filtering'] value.
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev5-22/+11
2014-01-07Change Text helper default tag from <strong> to <mark>Andrey Andreev1-16/+8
Supersedes PR #1497
2014-01-06Make CI_Input::set_cookie() and cookie helpers set_cookie(), get_cookie(), ↵Andrey Andreev1-3/+3
delete_cookie()'s first (name) parameter mandatory
2013-10-25Implement $protocol parameter in Config base_url() and site_url() methodsvlakoff1-16/+2
Let's keep the implementation logic in one place. Improves 2023c3d05b042cf1322286d69557c2b8bf3bd8d5.
2013-10-23Fix issue #2695Andrey Andreev1-5/+27
2013-10-21Add 'filename' to the return elements for create_captcha() (PR #2602)Andrey Andreev1-4/+4
2013-10-21Manually apply PR #2656Andrey Andreev1-2/+2
Fixes an 'Array to string conversion' notice in form_dropdown()
2013-10-17Replace the last rand() with mt_rand()vlakoff1-7/+7
Better entropy, faster. Also fixed a few "it's" typos.
2013-10-04parse $extra attributes in form_dropdown.Ahmad Anbar1-5/+2
2013-09-13Another one following #2639Andrey Andreev1-1/+5
2013-09-13An update to the #2639 fixAndrey Andreev1-0/+4