Commit graph

513 commits

Author SHA1 Message Date
phpnut
a08f18c4a1 Adding patch from Ticket #2817, Allow type radio in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:25:37 +00:00
phpnut
f29f6f99e6 Adding fix for duplicated hidden tag for fields token
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5332 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:10:27 +00:00
phpnut
bf5fc48087 Adding patch from #2791
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 04:13:29 +00:00
phpnut
4b2e8dffe3 Adding fix for Ticket #2719, Paginator::numbers() not accepting $options like the prev() and next()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:38:15 +00:00
phpnut
364f3f4ff6 Adding fixes for:
Ticket #2805, fixes Blacklisting fields in FormHelper::inputs doesn't work like intended
Ticket #2806, adds FormHelper::inputs can work recursively on $fields
Merged changes from [5326]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:02:56 +00:00
mariano.iglesias
496e97aaec Fixing issue #2810, AjaxHelper does not render boolean options properly, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:24:13 +00:00
mariano.iglesias
97a10184f3 Fixing issue #2713, NumberHelper does not handle some currency formatting very well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
phpnut
85492fba92 Adding fix for Ticket #2750, fixes rendering of links when requestAction() is used.
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
a9c0b7e406 Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:07:11 +00:00
phpnut
d93d746663 Adding fix for Ticket #2795, fixes hidden field for checkbox.
Updated FormHelperTest::testCheckboxField() to reflect the correct return value

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5310 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 04:30:45 +00:00
nate
430e11004d Fixing forced empty element selection in FormHelper::select() (Ticket #2749)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 05:06:13 +00:00
nate
028ffae272 Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 17:01:18 +00:00
gwoo
6d91aad41e updating bake templates for i18n, fixes for scaffold templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:19:31 +00:00
dho
d9a0aa1c69 Applying patch from ticket #2763, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 08:32:04 +00:00
gwoo
c9a2da3e0c Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
gwoo
85a662d9ba updating headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:05:08 +00:00
gwoo
1737dba3d6 update to formhelper habtm fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 10:38:22 +00:00
john
b0d8c63682 Updating doc strings with clarified instructions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 04:29:16 +00:00
gwoo
3d242d2e90 udpated view to work with form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:18:00 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
phpnut
16b649f2f8 Adding fix for #2691, fixes error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:20:11 +00:00
phpnut
f9a40f312f Adding fix for #2689, fixes issue when using FormHelper::submitImage with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 18:54:45 +00:00
phpnut
52680ffcd3 Adding fix for FormHelper::checkbox() not creating the hidden fields.
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
phpnut
31dd607fbe Adding fix for #2657, fixes form with Textarea does not save when Security Component is enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:08:25 +00:00
phpnut
cbd5bc9e47 Changing Helper::_ _value(); to Helper::value();
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 19:54:36 +00:00
dho
a357f30cda Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 07:22:19 +00:00
gwoo
5a0832f086 updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:16:47 +00:00
gwoo
00b450929e fixing FormHelper::month to use the comment from ticket #700
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:27:30 +00:00
gwoo
9667aa793a adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:14:14 +00:00
gwoo
624e02374a adding and to TextHelper::toList #1934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:55:05 +00:00
gwoo
e45062f3ef updating html helper, deprecated methods moved to bottom
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:50:20 +00:00
gwoo
bafd4689fe adding formHelper::checkbox
adding tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5175 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 21:44:05 +00:00
gwoo
75f04aebd9 adding number helper format and test for format and currency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 20:45:27 +00:00
gwoo
5e3c6def84 cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:15:58 +00:00
phpnut
5332fa9cd2 Adding fix to allow empty multiple select when using the Security component. Prior to this fix a form would be considered invalid if nothing was selected.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5149 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:51:40 +00:00
phpnut
84de5b6e35 Adding fix for #2614
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 05:15:26 +00:00
phpnut
1db295f366 Adding patch from #2610, fixes Scaffold plugin produces incorrect form "action"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:27:42 +00:00
phpnut
2950d9210b Fixing error notices that are thrown when tmp directory is not writable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5120 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:16:13 +00:00
gwoo
3a9799c554 updating scaffold links and views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 05:38:56 +00:00
mariano.iglesias
9b5dc57881 Fixing support for error messages when multiple validation rules are used with numeric indexes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5093 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 10:37:23 +00:00
mariano.iglesias
7de927eb46 Fixing and adding tests for ticket #2551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 12:07:23 +00:00
phpnut
82755f6685 Adding fix for #2552, fixes JavascriptHelper::object does not convert boolean values correctly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5046 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:38:12 +00:00
gwoo
d1d583f0cd updating scaffolding and css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5038 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-10 16:19:23 +00:00
mariano.iglesias
2131b074f6 Correcting call to __value and using dot notation in button()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5037 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-09 02:09:56 +00:00
nate
360690ed7f Adding sanity checking / warning messages for data returned from Model::loadInfo() (thanks phishy)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5027 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 17:36:30 +00:00
mariano.iglesias
22adcb07a1 Adding possibility to specify if option values should be escaped, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5019 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-05 00:34:56 +00:00
phpnut
137fea94c6 Cleaning up line endings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
gwoo
3700c963b5 updating default homepage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4993 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 00:44:02 +00:00