phpnut
5ddf8f7180
Corrected missing second param in __() in FormHelper::submit()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5813 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 07:10:46 +00:00
phpnut
e78fc1e90c
Fixes #3305 , Console i18n extract using wrong paths.
...
Closes #3396 , i18n fixes
Fixed TranslateBehavior::_getLocale() throwing error if I18n class had not been loaded
Added [P]roject to bake
Updated locale pot file
Removed css and js directories from skel
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5809 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-20 05:55:37 +00:00
phpnut
ffc1e3d93f
Adding additional fixes from #3271
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5797 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:46:19 +00:00
phpnut
5e48ab9bb8
Fixes #3271 , onclick="return false;" don't work in IE
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-19 07:41:42 +00:00
mariano.iglesias
1545b730ae
Escaping value for FormHelper::textarea() and adding some tests, fixes #2921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5778 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-17 17:08:34 +00:00
phpnut
1aa1164b1d
Closes #3394 , applied test patch
...
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php
Removing additional defines in core.php, replaced with Configure::write();
Added CakeSession::__startSession() to check for sent headers before attempting to start the session.
Added notices to Configure::__loadBootstrap() that will be removed before stable release.
Refactored Folder::tree().
Added additional FolderTest cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 09:05:25 +00:00
nate
16fbd33eee
Fixing FormHelper::inputs() to respect both 'legend' and 'fieldset' settings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5767 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 04:41:00 +00:00
gwoo
1ff8feb94c
updated rss helper, fixes #3226
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5765 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-16 00:44:37 +00:00
gwoo
9c7f0755a5
updating FormHelper::radio(), closes #3315 and closes #3279 , updated Token wrappers, closes #3317 , updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-15 07:47:13 +00:00
gwoo
a3fc6e4af5
updating FormHelper::inputs(), closes #3325 and closes #3324 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-14 23:41:05 +00:00
mariano.iglesias
b06c7f88e2
Reflecting new radio signature in usage, and adding tests for separator usage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5749 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-11 16:45:23 +00:00
nate
736ab28b0b
Refactoring Helper/FormHelper to actually use dynamically generated name attributes; refactoring out extra parameter in FormHelper::radio(), per gwoo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-09 20:44:28 +00:00
phpnut
fda664d737
Fixes #3282 , Problem with _Token.fields and few submit buttons
...
Fixed failing Dbo*Test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-06 04:37:58 +00:00
phpnut
d7ad471580
Fixing undefined notice in FormHelper when using SecurityComponent.
...
Corrected test case in FormHelperTest::testFormCreateWithSecurity()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 19:43:32 +00:00
phpnut
47e8b36c92
Adding fix for hidden fields causing blackHole on forms when using SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 18:27:35 +00:00
phpnut
bfa4c12166
Closes #2094 , removed unreachable return
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 04:32:43 +00:00
phpnut
34a88741bf
Fixing sorting of fields used in a form when using the SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5696 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-27 00:38:03 +00:00
phpnut
603ed0e39c
Initial start of Unicode support, I may move this handling of this to a unicode class.
...
Implemented multi-byte methods for:
String::strpos();
String::stripos();
String::strtoupper();
Added test cases for String::utf8() String::ascii() String::strpos() String::stripos() and String::strtoupper()
Corrected file encodings.
Added loading of configurations from cake/config
Added specifc case folding files to cake/config/unicode/casefolding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5691 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-24 23:49:54 +00:00
nate
8f4dd39257
Fixing return value for JavascriptHelper::blockEnd() for script caching (Ticket #3172 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-23 14:23:39 +00:00
phpnut
b1d79fb0d3
Adding test for RssHelper.
...
Added syntax for adding attributes to channel child elements
Fixed bug in item method that added bogus attributes
Added default description to channel method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-18 18:00:22 +00:00
phpnut
3a4b960520
Fixes #2966 , soring of fields corrected
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 20:09:09 +00:00
phpnut
337c81bc74
Removing ability to write to a session using the SessionHelper.
...
All writing to the session should be handled in the Controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5657 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 19:05:31 +00:00
nate
55e8592e17
Fixing passed args support in Router, refactoring helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5653 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:32:02 +00:00
phpnut
590ec3650f
Closes #1497 , Non-linked breadcrumbs
...
Closes #1103 , List functions for ul / ol elements in HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5647 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 01:42:33 +00:00
gwoo
ed6b0d7649
fixes #3184 FormHelper::radio() values, fixes #3156 FormHelper::create() action, fixes #3097 FormHelper::label() localization text. Thank you for the patches and tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5619 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-07 01:22:03 +00:00
mariano.iglesias
3eaa019625
Small typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5618 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:41:54 +00:00
mariano.iglesias
a798cd3dbb
Adding some documentation tags. Fixing issue with stripLinks not properly removing multiple links. Making excerpt and autoLinkUrls case insensitive. Adding some tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-06 05:28:36 +00:00
gwoo
656247427f
fix for label in radio
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5586 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:08 +00:00
gwoo
e54fe6a523
adding label and fieldset for radio, set label=>false to turn it off, css adjusted
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 00:11:36 +00:00
gwoo
85dca42d93
fixing shells formatting an api shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5582 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-25 18:00:19 +00:00
gwoo
8e213b8124
fix for number helper separator spelling, #3048
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-22 17:33:46 +00:00
nate
bd194b51e5
Routing fixes for invalid null value matching and named argument handling (Ticket #3083 , #3085 , #3086 , #3093 ). Thanks biesbjerg for all your help!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
nate
5ba07c76c4
Localizing label text in FormHelper::input() (Ticket #2314 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5549 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-19 12:55:23 +00:00
dho
a5fd1561e8
By default no radio element is checked (ticket #2963 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 09:15:19 +00:00
dho
3c7168c58c
Removing unwanted id from radio elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5539 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-17 08:50:16 +00:00
nate
90567a286a
Moving named argument handling into Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
nate
8d2d9d8684
Refactoring FormHelper::__selectOptions() (Ticket #1312 ) and adding tests for multiple select boxes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:20:01 +00:00
dho
ee3658894e
Applying patch from ticket #2236 plus adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5506 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 14:47:53 +00:00
gwoo
4c26620a9e
adding fix for Paginator numbers, #2891
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 15:51:37 +00:00
nate
9a915e90ef
Applying correct fix for Ticket #2917 , updating FormHelper test cases, and adding Helper test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 14:23:38 +00:00
dho
1bda1d2ada
Avoiding to add 'type="checkbox"' twice (ticket #2917 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5462 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:50:01 +00:00
phpnut
549d86ac23
Refactoring dispatcher.
...
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
nate
8dd6c78754
Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +00:00
phpnut
c9eb45232d
Adding fix for #2836 , PaginatorHelper::numbers() outputting extra url params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:28:41 +00:00
phpnut
d6bf52dce7
Adding fix from #2872 , $ajax->afterRender() has no decoding
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:06:44 +00:00
phpnut
7e6ac60eeb
Adding fix for 2691, Error caching xml files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:50:15 +00:00
nate
8976f07acf
Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:30:40 +00:00
phpnut
4ff21a6a08
Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
c405d3ad6b
fix Paginator::numbers() seperator: #2685
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:53:38 +00:00
gwoo
642b45a008
fix Paginator::numbers() seperator: #2685
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:49:30 +00:00
gwoo
f757103dbe
adding test for form checkbox: #2785
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5358 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:51 +00:00
gwoo
f3b67a24e1
adding fix for paginator numbers: #2825
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:56 +00:00
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
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
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
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
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
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
dho
9b18367fcc
Fixing problem with submit options in FormHelper::end() (ticket #2516 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4987 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 12:56:51 +00:00
phpnut
7fce78e73f
Adding fix to allow multiple forms when using SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4985 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 09:11:42 +00:00
phpnut
4bac0a063b
Removing deprecated code and files
...
/basics.php
* normalizeList() Deprecated: see Set::normalize
* countdim() see Set::countDim
libs/controller/components/request_handler.php
* RequestHandler::disableStartup = false; see RequestHandler::$enabled
* RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs()
* RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs()
libs/controller/components/session.php
* SessionComponent::flash() use $session->flash('key'); in your views
libs/controller/controller.php
* Controller::_setTitle() see Controller::set()
libs/model/datasources/dbo_source.php
* DboSource::fetchArray() see DboSource::fetchRow()
* DboSource::one() see DboSource::fetchRow()
libs/model/db_acl.php
* DB_ACL::getAco() see AclComponent::$Aco::node()
* DB_ACL::getAro() see AclComponent::$Aro::node()
libs/neat_array.php
* Class is not longer available use libs/set.php Set class
libs/sanitize.php
* Sanitize::sql() see Sanitize::escape()
* Sanitize::cleanArray() see Sanitize::clean()
* Sanitize::cleanArrayR() see Sanitize::clean()
* Sanitize::cleanValue() see Sanitize::clean()
libs/view/helper.php
* Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes()
libs/view/helpers/form.php
* define('TAG_DIV', '<div class="%s">%s</div>');
* define('TAG_P_CLASS', '<p class="%s">%s</p>');
* define('TAG_LABEL', '<label for="%s">%s</label>');
* define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>');
* FormHelper::labelTag() see FormHelper::label()
* FormHelper::divTag() see HtmlHelper::div()
* FormHelper::pTag() see HtmlHelper::para
* FormHelper::generateInputDiv() see FormHelper::input()
* FormHelper::generateCheckboxDiv() see FormHelper::input()
* FormHelper::generateDate() see FormHelper::input()
* FormHelper::generateTime() see FormHelper::input()
* FormHelper::generateDateTime() see FormHelper::input()
* FormHelper::generateAreaDiv() see FormHelper::input()
* FormHelper::generateSelectDiv() see FormHelper::input()
* FormHelper::generateSubmitDiv() see FormHelper::input()
* FormHelper::generateFields() see FormHelper::input()
libs/view/helpers/html.php
* HtmlHelper::file() see FormHelper::file()
* HtmlHelper::submit() see FormHelper::submit()
* HtmlHelper::selectTag() see FormHelper::select()
* HtmlHelper::formTag() see FormHelper::create()
* HtmlHelper::linkEmail() see HtmlHelper::link()
* HtmlHelper::dayOptionTag() see FormHelper::day()
* HtmlHelper::yearOptionTag() see FormHelper::year()
* HtmlHelper::monthOptionTag() see FormHelper::month()
* HtmlHelper::hourOptionTag() see FormHelper::hour()
* HtmlHelper::minuteOptionTag() see FormHelper::minute()
* HtmlHelper::meridianOptionTag() see FormHelper::meridian()
* HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime()
libs/view/helpers/javascript.php
* JavascriptHelper::linkOut() see JavascriptHelper::link()
libs/view/view.php
* View::setLayout() use $this->layout in your view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4981 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 08:07:19 +00:00
phpnut
8be685504e
Adding ability to disable specific form data fields from being added to the validation key.
...
Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc.
This is set in a Controller::beforeFilter().
Example usage:
{{{
$this->Security->disabledFields = array('fieldname', 'additional fields');
$this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname');
}}}
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4978 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 02:31:06 +00:00
phpnut
7982208113
Reverting changes in last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4975 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:17:27 +00:00
nate
154e3ccbb1
Refactoring FormHelper token generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4974 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 15:03:35 +00:00
phpnut
9c0d0216bc
Changing where the from token holding the fields from the form is created
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4973 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 13:35:33 +00:00
phpnut
d1701327f8
Adding hidden field values to hash. This will prevent altering of hidden fields in a form when using the FormHelper and adding the var $components = array('Security'); to a controller or the AppController to use by all child controllers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4969 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 10:13:01 +00:00
phpnut
57023720e6
Adding form security enhancements.
...
Forcing checking of Session form token if security component is used.
Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4968 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-01 08:56:02 +00:00
phpnut
30a5f0384e
Adding overriding error messages when multiple rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4948 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 12:10:57 +00:00
phpnut
fbb102445b
Fixing assigned by reference on php 4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4942 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 09:42:39 +00:00
phpnut
2baa585437
Added fix for #2453 , fixes HtmlHelper link escape title as string
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4926 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 10:25:58 +00:00
phpnut
aee7405863
Adding additional fix for #2481
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4905 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:05:08 +00:00
phpnut
e91a15e4e2
Adding fix for #2481 fixes Form::label() $tagName does not run through domId()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4904 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:58:01 +00:00
dho
efd8df1771
Applying fix from ticket #2485 , adding test for it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4894 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 09:20:35 +00:00
dho
da0dacb013
Applying patch from ticket #2496 , adding test for it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4893 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 08:57:34 +00:00
phpnut
9b8f81cc82
Removing $fieldset = null; in FormHelper::inputs()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4890 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:19:27 +00:00
phpnut
30498981a7
Adding fix for #2473
...
Fixed undefined variable notice in Form::inputs()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4889 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-27 20:16:38 +00:00
dho
c529d363a8
Adding patch and test for ticket #2369
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4881 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-25 07:28:20 +00:00
dho
35c7807cc3
Case-insensitive matching when using array of phrases in TextHelper::highlight
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4878 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-21 16:55:09 +00:00
nate
bb8c52dac0
Fixing display of core error messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
nate
11c5e916b8
Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4868 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:03:20 +00:00
dho
9a865176aa
Removing invalid character
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4866 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 06:48:16 +00:00
gwoo
f4c9be8be2
working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 02:06:15 +00:00
dho
ee403daf5d
Fixing problem with highlighting multiple phrases (ticket #2418 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 14:27:59 +00:00
dho
c9d4fa6451
Applying patch from ticket #2417
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4856 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 11:56:03 +00:00
nate
8df2d428ff
Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:02:10 +00:00
phpnut
f1678686a4
Adding fix for Ticket #2326
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 15:20:37 +00:00
phpnut
20e41074c9
Adding fix for Ticket #2364
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:44:18 +00:00
phpnut
980e713df7
Adding fix for Ticket #2360
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 19:05:06 +00:00
phpnut
69da631d61
Adding fix for Ticket #2353
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:20:08 +00:00
dho
dc06a86291
Fixing typo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4781 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 12:11:23 +00:00
gwoo
c81fd8b256
finishing changes to FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4776 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:31:46 +00:00
gwoo
f49183f70e
fixing some changes to FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4769 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 02:11:20 +00:00
gwoo
06d6bbdbae
adding fix to FormHelper::create() for plugin path with action, see #2342 . Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(), will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4762 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 20:38:26 +00:00
phpnut
dcac88825a
Adding fix for Ticket #2339
...
Adding fix for Ticket #2335
Adding fix for Ticket #2344
Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
phpnut
a1e535a05d
Adding fix for Ticket #2328
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:10:36 +00:00
nate
20645337f7
Adding fix for TIcket #2325
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4732 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:47:39 +00:00
dho
d4c5eea261
Adding patch from ticket #2324 plus test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4731 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:31:23 +00:00
nate
23fc1e8e53
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
nate
9e1019787b
Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 19:37:59 +00:00
nate
1a10bf9b8a
Fixing return value in Session::check()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 13:43:06 +00:00
nate
381ec92b4c
Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
8e92df3bbb
Adding JavascriptHelper::object() fix for 0 being converted to null (Ticket #2296 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:22:02 +00:00
phpnut
f072902d80
Added fix for Ticket #2098
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:02:10 +00:00
phpnut
3292a8efdb
Adding enhancement idea from Ticket #2201 .
...
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 02:03:34 +00:00
nate
88563ebe46
Adding test cases for FormHelper::error()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4662 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:06:48 +00:00
nate
6b7d4f37d4
Fixing undefined variable in Router, updating Socket test, and fixing FormHelper::label() for dot notation (Ticket #2277 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:47:38 +00:00
phpnut
b183501e85
Adding changes needed to allow passing $tagName param using dot notation so use Model.field instead of Model/field which is being deprecated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 07:58:22 +00:00
nate
92cd894314
Fixing AjaxHelper::dropRemote() (Ticket #2260 ) and updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:54:24 +00:00
nate
3dae247bab
Fixing FormHelper::create() for use with associated models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 04:47:10 +00:00
dho
8917efcc0a
Appending .js to strings like script-x.x.x in link() function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 16:37:46 +00:00
nate
32887a68ec
Making sure $attributes is an array in FormHelper::select()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 23:05:19 +00:00
nate
4b022122d1
Updating AjaxHelper::autoComplete() for new API
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4611 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:47:39 +00:00
nate
272efd4c07
Updating AjaxHelper::submit() with FormHelper reference
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:53:43 +00:00
phpnut
d6f73252ae
Moved all deprecated methods to end of file.
...
Added notices for all methods that are deprecated.
Added fix for Ticket #2185 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 15:28:08 +00:00