summaryrefslogtreecommitdiffstats
path: root/system/helpers/form_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+3
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-27[ci skip] Update docblocks for deprecated functionsAndrey Andreev1-0/+1
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-07-13Fix issue #1613Andrey Andreev1-1/+6
2012-06-16Small improvements to form_open()Andrey Andreev1-4/+6
2012-06-07fixesMichiel Vugteveen1-3/+3
2012-06-06fixesMichiel Vugteveen1-4/+7
2012-06-06form_checkbox set_value fixMichiel Vugteveen1-2/+2
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/helpersAlex Bilbie1-16/+16
2012-05-17Clean up the helpersAndrey Andreev1-1/+0
2012-04-27Fix docblocks A-HTimothy Warren1-254/+260
2012-03-26Remove access description lines and cleanup the url helperAndrey Andreev1-1/+0
2012-03-26Remove access description lines and cleanup the form helperAndrey Andreev1-105/+56
2012-03-12defaults for the functionnihaopaul1-3/+3
2012-03-12test if isset(['name']) is actually set instead of assuming it to benihaopaul1-1/+1
2012-03-12code readability improvementsnihaopaul1-1/+5
2012-03-12form_dropdown() will now also take an array for unity with other form ↵nihaopaul1-3/+3
helpers., false => FALSE and the options check fixed
2012-03-12form_dropdown() will now also take an array for unity with other form ↵nihaopaul1-1/+1
helpers., codestyle cleanup only
2012-03-12form_dropdown() will now also take an array for unity with other form ↵nihaopaul1-1/+2
helpers., codestyle cleanup only
2012-03-12form_dropdown() will now also take an array for unity with other form helpers.nihaopaul1-0/+17
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-03-04Fixed conflicts.Phil Sturgeon1-3/+2
2012-01-06Improve email, file & form helpersAndrey Andreev1-49/+25
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-19Makes form open properly when empty array of parameters is passedJoel Kallman1-1/+1
Signed-off-by: Joel Kallman <jkallman@eclarian.com>
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-28always use charset config itemfreewil1-5/+2
2011-08-20Resolved issue 65 - made action on form_open_multipart helper function call ↵Ben Edmunds1-1/+1
optional
2011-08-13Big text area was big. Reduced the size a little.Phil Sturgeon1-1/+1
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 Jones1-9/+9
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-9/+9
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-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-02Added is_cli_request() method to documentation for Input class.Phil Sturgeon1-0/+4
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-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-18/+18
2010-09-15Update to form_open() in form helper to drop hidden elements passed to the ↵Greg Aker1-8/+5
function into div class="hidden" (thanks Dan)
2010-09-15Fix #96 html validation failure on csrf hidden input on form_open() in the ↵Greg Aker1-1/+4
form helper. Added <div class="hidden"> around the hidden form input.