summaryrefslogtreecommitdiffstats
path: root/system/helpers
AgeCommit message (Collapse)AuthorFilesLines
2014-05-31Changelog messages, bump year in copyright noticesAndrey Andreev21-21/+21
2012-03-04Allow developers to use any string as a separator, not just dashes or ↵tubalmartin1-10/+19
underscores. Backwards compatible when using 'dash' or 'underscore' as string separator. Tests: http://codepad.org/DWcxVH5r
2012-03-03An even better url_title helper. Tests: http://codepad.org/tuJgvkyNtubalmartin1-20/+7
Changelog entry added for 2.1.1
2011-11-24Changed form_open() to compare $action against base_url()John Nicely1-1/+1
Checking for strpos($action, $CI->config->site_url()) === FALSE causes CSRF token to not be added in form_open() output. When site_url()'s first parameter ($uri) is empty, site_url's return value is the base URL plus the $CI->config->item('index_page') value. form_open() and CodeIgniter's URI routing do not require index.php to be in the URL, so any call to form_open() in which the $action parameter does not have index.php will always return false for the strpos() call.
2011-11-13Resolved issue 65 - made action on form_open_multipart helper function call ↵Ben Edmunds1-1/+1
optional
2011-11-13Fix invalid date formatSyahril Zulkefli1-1/+1
2011-11-13Fix invalid date formatSyahril Zulkefli1-1/+1
2011-08-14Added increment_string() docs and changelog.Phil Sturgeon1-1/+3
2011-08-14Fixed conflict.Phil Sturgeon1-0/+15
2011-08-13Merge branch 'develop' of ellislab.beanstalkapp.com:/codeigniter into developPhil Sturgeon1-4/+7
2011-08-13Big text area was big. Reduced the size a little.Phil Sturgeon1-1/+1
2011-08-13Improved logic for plural() and singular() as words like "tax" would become ↵Phil Sturgeon1-48/+67
"taxs" and it was tough to code in new rules.
2011-08-12Merging - fingers crossedPascal Kriete2-2/+6
Conflicts: system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php system/libraries/Email.php user_guide/changelog.html user_guide/database/configuration.html user_guide/helpers/url_helper.html user_guide/libraries/cart.html user_guide/libraries/form_validation.html
2011-07-18Fixed issue #199 - Attributes passed as string does not include a space ↵Eric Barnes1-0/+4
between it and the opening tag.
2011-07-16CSRF field is only added when post method is used and action is internal. ↵Joël Cox1-2/+2
Closes #165
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones21-82/+82
broke the Typography class's string replacements, for instance
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones21-82/+82
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones21-82/+82
broke the Typography class's string replacements, for instance
2011-06-15Merged base_url changes.philsturgeon1-4/+7
2011-04-25Fixed double-space typo.Razican21-82/+82
2011-04-23Removing debug code accidentally committed.Greg Aker1-1/+1
2011-04-22Fix #233 Fixing a regression in _get_validation_object() in the form helper ↵Greg Aker1-2/+2
after some refactoring the other day.
2011-04-20Refactoring the loader to set protected class variables.Greg Aker1-13/+11
Moved _ci_autoload(), which is used in CI_Controller to be a public method. Also added CI_Loader::set_base_classes() to be called in the controller so we're not setting protected vars in another class. Also refactored in the form_helper so it's not trying to access protected vars in CI_Loader. Added the is_loaded() method to the loader to take care of the checks that were being done there.
2011-04-191/2 reverting a previous change to the form_helper. Wrapping hidden form ↵Greg Aker1-1/+1
elements in <div style="display:none"></div> instead of an empty div. If a user is styling form div {} they can run into display issues, so something is needed.
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker5-20/+20
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-18Added an optional third parameter to heading() which allows adding html ↵Greg Aker1-2/+3
attributes to the rendered heading tag.
2011-04-08There is absolutely no need to specify class name (it will validate anyway).patwork1-2/+2
2011-04-08Fixing a bug in the form_helper where csrf_token_name and csrf_hash were ↵Greg Aker1-1/+1
referencing class properties in the Security class that were moved.
2011-04-07Changed the 'plural' function so that it doesn't ruin the captalization of ↵Phil Sturgeon1-13/+15
your string. It also take into consideration acronyms which are all caps.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon2-36/+3
stop environment checks.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon5-14/+9
stop environment checks.
2011-04-05Removing dohash and deprecating CI_SHAPascal Kriete1-33/+1
2011-04-05Removing security loading calls.Pascal Kriete1-3/+2
2011-04-02Added is_cli_request() method to documentation for Input class.Phil Sturgeon1-0/+4
2011-03-22Fixed logic and removed the error supressingEric Barnes4-18/+13
2011-03-18Fixed coding to match standards from previous releasesEric Barnes4-6/+6
2011-03-17load config files from environment specific locations in core classes, ↵bubbafoley5-8/+47
helpers and libraries
2011-03-12Fixed the capitalization "bug" in the singular function as well.Kyle Farris1-6/+8
2011-03-11Forgot to trim the string first.Kyle Farris1-1/+2
2011-03-11Changed the 'plural' function so that it doesn't ruin the captalization of ↵Kyle Farris1-6/+5
your string. It also take into consideration acronyms which are all caps.
2011-03-11Fixed last commit, form helper will work fine for self-submissions and ↵Phil Sturgeon1-1/+1
normal URLs.
2011-03-10Changed the logic for form_open() in Form helper. If no value is passed it ↵Phil Sturgeon1-1/+4
will submit to the current URL.
2011-02-16Merged CodeIgniter Core changes and integrated rob1's secure cookie change ↵Phil Sturgeon8-23/+14
into my secure cookie change.
2011-02-16Secure cookies can now be made with the set_cookie() helper and Input Class ↵Phil Sturgeon1-2/+2
method.
2011-02-14Whitespace cleanup for code consistencyPascal Kriete6-7/+7
2011-02-03Made config->base_url() accept parameters. config->base_url($uri). Updated ↵anaxamaxan@blackdog.local1-4/+7
base_url() in url_helper accordingly.
2011-01-30white space tweak to fix repo.Robin Sowell1-0/+1
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon2-14/+5
2011-01-11Reworked convert_foreign_characters in text helper. Thanks to Mario Ricalde.Eric Barnes1-13/+4
2011-01-11 Changed || to OR to match coding standardsEric Barnes1-1/+1