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
bca9595101
Refactoring new cache classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4936 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 07:38:47 +00:00
gwoo
3bca724bc3
fixing theme view layout and element paths #2388
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4928 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 17:51:38 +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
7cdb495068
Adding fix for #2428 fixes View::renderElement() behavior with multiple view paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4908 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:33:37 +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
phpnut
527a2e6bcd
Adding enhancement from #2483.adds scaffold index view field's label
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4903 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 02:52:17 +00:00
phpnut
c91965dc89
Adding fix for #2371 , fixes HtmlHelper submit() method doesn't allow HTML entities in caption
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4895 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-28 23:52:19 +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
b0307904ae
Fixing (moving) session string warning (Ticket #2377 ) and adding automatic logging code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4846 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 00:34:16 +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
phpnut
f1c1c70664
Adding fix for Ticket #2298 .
...
Added encoding wrapper for email addresses.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 22:57:07 +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
phpnut
8fa50d9100
Adding fix for Ticket #2285
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 01:16:29 +00:00
nate
e03c12eea3
Fixing default input values for form inputs, and adding test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 17:32:02 +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
phpnut
7cee084212
Refactoring Helper::setFormTag()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:50:41 +00:00
phpnut
c20a8c80f3
Corrected view tests.
...
Added fix for Ticket #2245
Refactored loading of components and helpers to allow for use of dot notation with plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4659 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:34:21 +00:00
phpnut
38577ca149
Adding fix for #2219
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4654 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 06:36:24 +00:00
gwoo
2f3d8d154a
fixing loadHelpers on renderElement, fixes Email too
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4650 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 00:25:27 +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
nate
5e0de9b90e
Fixing unique script check in View::addScript() (Ticket #2262 ), and adding View test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4645 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 00:37:45 +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
gwoo
7ff6ac5bcb
updating themeView for 2225, fixing layout paths noticed when using email component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4624 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 20:36: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
261ff6f219
Adding View::uuid() to generate DOM IDs, updating HTTP headers in View::error(), and fixing code formatting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4610 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 18:28:36 +00:00
gwoo
d28aaae113
adding caching for elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4602 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-09 04:50:45 +00:00
gwoo
6e256bd593
updating domId to always return an array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4601 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-08 17:25:21 +00:00
nate
169832606c
Adding and updating core error messages
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4595 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 20:56:45 +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
a9c128b0ec
Adding fix for Ticket #2101 .
...
Changed Helper::loadConfig() to accept a param with the name of the file to load
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4589 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 13:48:21 +00:00
phpnut
59908ac629
Adding Helper::clean() to strip all harmful tags from output.
...
CHanged Sanitize::escape() to strip off the beginning and ending ' that is added by Dbo*::value()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4588 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 12:13:37 +00:00
phpnut
d1134c071c
Adding fix for Ticket #2090 .
...
Refactored view loading.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4585 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 09:38:31 +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
phpnut
694bee97ac
Moving date/time related form methods to FormHelper.
...
Fixed Ticket #2189 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:14:33 +00:00
phpnut
d931b77111
Removing $this->Html-> in FormHelper::textarea()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:51:24 +00:00
phpnut
d4c62a855b
Adding fix for Ticket #2156
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:31:02 +00:00
phpnut
dea1dc77fb
Adding fix for Ticket #2130 , Ticket #2168 , Ticket #2178
...
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:12:09 +00:00
phpnut
f05ab47e94
Adding fix for Ticket #1442 .
...
Controller components are now initialized in cached views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:43:30 +00:00
nate
e823ca1bf2
Fixing default JavaScript template, and code generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-27 18:23:09 +00:00
nate
c0ac0f536b
Initial implementation code for dynamic POST variable names
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 18:58:18 +00:00
nate
9bec5d8ebb
Deprecating HtmlHelper::selectTag()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 13:44:04 +00:00
nate
563f960ae0
Fixing layout search paths for alternate content types
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 19:07:43 +00:00
nate
105b17799a
Fixing conflict between JS script caching and dynamic updating of 'magic' Ajax div's
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 22:13:16 +00:00
nate
00c6f22532
Initial import of JsHelper JavaScript generator. PHP5-only until further notice.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 20:46:34 +00:00
nate
552e6850c3
Forcing cached script output to be written inline (JavascriptHelper)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 16:53:32 +00:00
dho
23f559a4b0
Replacing "thtml" with "ctp" in error templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4540 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-19 07:41:46 +00:00
nate
0e7fd21a8e
Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:56:25 +00:00
nate
84a5c14c9b
Fixing event:Selectors implementation for Ajax reloads
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:40:26 +00:00
nate
b45f8984f8
Adding parameters for AjaxHelper::sortable()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:24:54 +00:00
phpnut
b6bc6d6033
Refactoring SessionHelper and SessionComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 22:29:49 +00:00
phpnut
53254d9a0f
Refactoring SessionHelper and SessionComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 21:46:17 +00:00
nate
42193deb8f
Adding AjaxHelper::sortable() fix for Ticket #2100
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4504 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-11 18:07:40 +00:00
nate
8a025938b5
Adding tests for DboSource and AjaxHelper, and fixing code formatting in XmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4482 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:16:35 +00:00
phpnut
f377ed6d2a
Adding Helper::webroot() to return correct url if theme is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 07:42:23 +00:00
phpnut
88ac78f03d
Adding check for webroot/themed/[theme name]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:21:28 +00:00
phpnut
869dbb6b05
Fixing theme class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:15:04 +00:00
phpnut
d791bd75b4
Changing check for theme to empty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:55:26 +00:00
phpnut
2bacc6603e
Updating theme class to allow setting theme to null and deafult locations will be used.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:38:10 +00:00
nate
90b0f1f1cc
Allowing 'error' => false to disable validation error output in FormHelper::input() (Ticket #2071 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 20:13:59 +00:00
nate
a175687bd5
Updating View class properties, and committing additional core tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:18:23 +00:00
phpnut
0c490af5b1
Adding fix for #2051
...
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 04:53:31 +00:00
nate
8f641887b7
Adding 'evalScripts' fix for AjaxHelper (Ticket #2048 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 19:28:22 +00:00
nate
fede6a410f
Fixing AjaxHelper::form() for compatibility with FormHelper::create()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4427 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 18:38:22 +00:00
phpnut
554433c7fb
Adding additional fix for #1994
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4420 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 00:05:51 +00:00
nate
2648b23238
Adding page # fix for PaginatorHelper::counter() (Ticket #1994 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 21:38:11 +00:00
phpnut
a8a91e35be
Correcting all headers in the files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
9751f8549b
Adding fix for #2012
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4404 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:58:38 +00:00
nate
5a8cc752f1
Disabling REST-compliant hidden field temporarily
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4399 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:42:00 +00:00
phpnut
9c4766f3bb
Applying patch from #2019
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 02:47:53 +00:00
phpnut
c0c5a3e28c
Added plugin view caching #1805 .
...
Also fixed #1315
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4392 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 21:16:36 +00:00
phpnut
1aef0e1f72
Adding fix for #1908
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 04:02:43 +00:00
phpnut
6b8bd59b20
Adding fix for #1872 .
...
Fixed helpers not being set in cached files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 00:41:21 +00:00
nate
8ed5dc6694
Adding fix for AjaxHelper::drag() (Ticket #1906 ), and adding AjaxHelper test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:48:51 +00:00
nate
f754449004
Replacing ternary operations in FormHelper, and adding DOM ID's back to hidden inputs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:43:32 +00:00
nate
b721b963d3
Fixing key quoting in JavascriptHelper::object() (Ticket #1986 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:17:07 +00:00
phpnut
b36dc55327
Adding fix for #1953
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:05:51 +00:00
gwoo
f77e642f24
fix for xml helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 22:04:26 +00:00
phpnut
bfc5168358
Adding fix for Notice: Undefined variable: data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 10:40:19 +00:00
dho
ed61f5ac8d
Applying patch from ticket #2009
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 12:29:52 +00:00
nate
620f00adef
Updating HtmlHelper::css() to support array paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 18:17:23 +00:00
nate
dc00f9b905
Fixing script output caching in JavascriptHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:41:32 +00:00
nate
55a4245d01
Rewriting automatic variable detection to work with any field
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-26 21:03:35 +00:00
nate
cb2952d60b
Adding shortcut icon generating to HtmlHelper::meta()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 01:56:12 +00:00
nate
7d9ab97745
Fixing $model parameter in FormHelper::create() (Ticket #1963 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4318 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:32:00 +00:00
nate
9444538ec0
Updating helper method references, and fixing FormHelper::hidden() to work with '_method'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:12:06 +00:00
gwoo
7af304b742
fixing FormHelper::input() error messages, ticket #1957
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4302 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:17:25 +00:00
nate
9737072e27
Fixing array key name in FormHelper::input()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:07:35 +00:00
nate
6e56e926e7
Adding 'before', 'between', and 'after' options to FormHelper::input()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:54:55 +00:00
nate
23cb3451c0
Fixing $model parameter for FormHelper::create(). Must pass false if the form is not associated with a model.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 07:07:49 +00:00
nate
e049d680e0
Adding 'default' option to HtmlHelper::link() to prevent default action
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 15:19:42 +00:00
nate
33990b2193
Adding FormHelper::input() fix for generating select menus (Ticket #1860 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 05:46:03 +00:00
gwoo
86c344917d
updating FormHelper, #1860
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 00:11:55 +00:00
gwoo
dc366d046d
adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:53:52 +00:00
dho
246028e89f
Changing .thtml to .ctp in templates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 07:36:27 +00:00
dho
6584ce99f7
Removing links to wiki
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 13:12:05 +00:00
nate
ec2ce20f91
Adding Ajax indicator fix for Ticket #1880
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 08:33:39 +00:00
phpnut
9ea5c756d4
Adding additional fix to [4269] to bypass cache when multiple forward slashes are used in the url
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:44:19 +00:00
phpnut
6efa16eb82
Adding fix to CacheHelper when $this->url is /
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4269 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:16:38 +00:00
nate
914dffcc14
Fixing $options array merge order in PaginatorHelper::link()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 20:09:45 +00:00
nate
a1f632c905
Adding 'indicator' feature to AjaxHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 22:09:27 +00:00
nate
18f086fbd1
Updating TextHelper::autoLinkEmails() with new API changes (Ticket #1874 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 21:10:33 +00:00
nate
8fb73307e9
Adding FormHelper::create() fix for AjaxHelper (Ticket #1836 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:47:54 +00:00
nate
eb4f2eed2e
Adding PaginatorHelper::options() to set default pagination options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:37:40 +00:00
nate
b5309bb017
Fixing DOM ID's for HtmlHelper::selectTag() (Ticket #1847 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:17:05 +00:00
nate
b8c51fee44
Fixing HtmlHelper::link() to allow passing $escapeTitle and $confirmMessage params as 'escape' and 'confirm' in $options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:48:40 +00:00
nate
0750210fa0
Fixing URL passing in AjaxHelper::form()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 19:21:46 +00:00
nate
8c3a1307c6
Fixing array key in PaginatorHelper::counter()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:46:52 +00:00
nate
b21b7f4b03
Cleaning up FormHelper code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:36:14 +00:00
gwoo
6f8489b52e
making it possible to use FormHelper without a model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 19:39:07 +00:00
nate
f8f2df5053
Adding 'json' parameter for Ajax onComplete callback (Ticket #1843 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 18:04:40 +00:00
nate
07985626fb
Fixing issue in FormHelper::input() where the 'type' attribute appears twice
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4235 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:28:55 +00:00
nate
d2967c3f92
Adding Paginator methods for links and sorting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
dho
d9adf49c87
Replacing deprecated Html->formTag() with Form->create()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4233 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 14:31:35 +00:00
nate
9ce0247acc
Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
gwoo
ed28c3187b
adding router fix for array params, ticket #1824 , removing ternary operator from HtmlHelper::link();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4228 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 04:16:53 +00:00
phpnut
9f48b1d28c
"A little more refactoring on HtmlHelper::checkbox()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:31:24 +00:00
phpnut
90f6c38614
"Fixed typo in [4221]"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4225 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:28:43 +00:00
phpnut
93f7a48a2a
Adding fix for Notice: Use of undefined constant action - assumed 'action' on Scaffolded view()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4224 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 05:22:41 +00:00
phpnut
73bb4ec98f
Adding patch from Ticket #1821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4221 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:48:04 +00:00
dho
5b7aa0d783
Replacing '_view_' with 'view'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4217 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 09:34:45 +00:00
phpnut
a4ca03ed69
Fixing magic method names
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4211 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-26 16:17:37 +00:00
phpnut
042d7e5f3d
Changed scaffold class to work with new FormHelper.
...
Removed scaffold add.thtml.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4200 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 11:32:58 +00:00
phpnut
43f2afa6eb
Fixes for:
...
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins
Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv']
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4199 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 10:51:08 +00:00
phpnut
14438cb151
"Adding fixes for Ticket #1785 hourOptionTag can never be empty
...
and Ticket #1792 dateTimeOptionTag hour is always set to 12 even if selected is null"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4197 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 08:03:33 +00:00
nate
48a8114579
Adding submit button wrapper div for FormHelper::submit()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4184 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:25:04 +00:00
phpnut
42198541d3
Updating core files with translation function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4152 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 09:09:06 +00:00
phpnut
41c71dc9a4
"Modifying home.ctp"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4150 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 08:21:10 +00:00
phpnut
1be41a5fcf
"Adding translation function around Editing this Page"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4145 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 05:43:40 +00:00
phpnut
cec62a4774
"fixing parse error"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4138 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 01:17:38 +00:00
phpnut
87060dbf86
Updating files with translation function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4135 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-23 00:29:39 +00:00
phpnut
4f1c5ef386
Wrapping all core messages in translation function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4129 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 22:49:47 +00:00
phpnut
c5ec6b0ea1
Updating HtmlHelper::charset() to use Configure::read('charset)
...
Updated core layouts to use $html->charset()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4128 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 21:33:23 +00:00
nate
4c586b7893
Fixing default label rendering in FormHelper::input()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4121 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 16:26:54 +00:00
dho
b5a4e298fb
Fixing "undefined variable" problem in FormHelper::input
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4120 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 07:38:31 +00:00
nate
02ec1887ce
Un-requiring model name parameter in FormHelper::create(), and moving date/time option data to FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4119 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 05:23:07 +00:00
nate
6ae8f7e37c
Refactoring FormHelper::create(), and stripping empty array elements in Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4115 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 06:10:35 +00:00
nate
0de17ece93
Updating auto-generated form tag ID
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4114 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 05:49:19 +00:00
nate
3c023b4335
Adding automatic list variable detection for select menus, and 'default' => false option for preventing form submits via JavaScript
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4113 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 04:46:52 +00:00
nate
fd9a347fe1
Updating FormHelper docblock
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4112 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-20 21:43:11 +00:00
nate
ccf52fa20d
Updating scaffold views with new FormHelper and URL code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4111 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-20 21:41:42 +00:00
nate
6e3f0c8f1c
Updating helper docblocks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4110 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:31:14 +00:00
nate
8606816642
Fixing View class reference in RssHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4109 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:27:19 +00:00
nate
eeec18d562
Converting scaffold URLs to array-based
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4107 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-17 15:33:21 +00:00
gwoo
1490f7da5d
View::layoutPath fix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4102 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-13 05:50:32 +00:00
gwoo
f5e2dea563
adding automatic hidden field for FormHelper::input(), removed create() from bake controller edit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4097 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:43:01 +00:00
nate
51e7c5e08c
Enabling FormHelper::input to introspect default field types based on column type in model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4083 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:45:35 +00:00
phpnut
0419f05186
Adding fix for View::element().
...
params variable was reset to an array
Added the method to 1.2.x.x branch also
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4074 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 17:43:14 +00:00
dho
9ca5e14891
Adding new methods to Configure and moving all core messages using DEBUG to use Configure::read()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4069 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-05 09:49:59 +00:00
gwoo
b72ab690d4
fix for FormHelper::select() showEmpty
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4067 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 18:00:36 +00:00
nate
f66b3372b4
Fixing <form /> method case to validate as XHTML, and fixing order in which empty select() elements are added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4045 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 19:04:16 +00:00
phpnut
7b6e81c1e2
Fixing Scaffold in 1.2.x.x when setting Controller::persistModel = true;
...
Corrected error message with correct method name in scaffold_error templates.
Removed unneeded check for Controller::persistModel in 1.2.x.x.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4038 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 00:48:00 +00:00
gwoo
4abc9e94f8
reverting change for empty options in FormHelper::select()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4035 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:07:08 +00:00
gwoo
e712f87fc0
fixing displayFields in formHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4031 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:37:54 +00:00
gwoo
8657757bde
fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
79e93c180e
fix form helper notice with empty options
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4028 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 08:14:55 +00:00
gwoo
e2614e5140
updating bake and form helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4027 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:58:35 +00:00
phpnut
dc90e5f749
Renaming _viewVars to viewVars in ThemeView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4026 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:32:14 +00:00
phpnut
5a74812c7b
Adding fix for Ticket #1661
...
Fixed same issue in function cache() in basics.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4014 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 22:34:28 +00:00
gwoo
32cca7345e
updating css in 1.2, error_message is now error-message, form-error added for input fields, altRow changed to altrow. Cake conventions are CamelCased for DOM id, dashed-words for css classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4011 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 21:14:28 +00:00
phpnut
2e8730e543
Merging fixes from 1.1.x.x into 1.2.x.x
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4010 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-28 11:18:05 +00:00
gwoo
083a3bf990
fix for FormHelper:create()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3997 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:56:06 +00:00
nate
bce8e016d2
Adding to last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3987 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:25 +00:00
nate
1e5dbe0e69
Adding to last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3986 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:00 +00:00
nate
c4bee9b414
Fixing validationErrors, and updating ClassRegistry alias for View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3985 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:45:03 +00:00
gwoo
dfcc29f6bf
refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00
nate
890c0125c8
Adding model-based form creation to FormHelper, deprecating old methods, and fixing issue where using $uses in AppController overwrites existing models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3982 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 20:43:54 +00:00
gwoo
59049a0fa8
refactoring scaffold and generateFieldNames
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3980 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 06:15:30 +00:00
phpnut
ccfd962f98
Renaming core view templates with the new CakePHP extension .ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3978 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 03:22:02 +00:00
gwoo
3bcf9e6044
fix for thtml custom missingView
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3976 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:10:59 +00:00
gwoo
9ad12b1f4e
removed errant echo
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3975 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 00:06:20 +00:00
gwoo
9e404b3ce3
refactor of view paths
...
refactor theme view paths
fix cleanUpFields error, changed ext in controller to ctp, fix for paginate conditions and scope
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3970 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 22:04:43 +00:00
gwoo
4320acdb96
1.2: continue refactor of view files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3969 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 21:27:34 +00:00
phpnut
76394b643f
Refactoring loading plugin views and layouts.
...
Plugin templates can be overridden in the app/views/plugins/$plugin/$viewPath directory
If template is not found in this directory or the app/plugins/$plugin/views/$viewPath a missing
view error will be rendered
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3966 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 19:58:16 +00:00
phpnut
0c0ba050cb
Cleaning up core views/caching.php
...
Removing unused files in app/webroot/css/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3965 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 18:23:53 +00:00
dho
3682fff468
Replacing deprecated $html->formTag with $form->create
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3964 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 17:33:42 +00:00
phpnut
e0096f0528
Fixing CacheHelper after removal of controller from View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3962 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 09:27:13 +00:00
nate
b7e8551143
Updating AjaxHelper docblocks to remove references to deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3960 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:57:27 +00:00
nate
41c79da1c3
Removing direct reference between View and helpers, and explicitly defining all Helper object properties
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3959 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:55:16 +00:00
phpnut
1fa21aa551
Refactoring session classes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3958 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 08:43:17 +00:00
nate
11d5b0fa7b
Removing extra directory separators in uses() paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3953 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:31:26 +00:00
phpnut
c308326555
SessionComponent and SessionHelper to extend CakeSession.
...
Refactored both classes and added doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3952 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-25 04:15:08 +00:00
dho
50a8925070
Replacing wiki link with link to the bakery
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3950 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 12:30:59 +00:00
phpnut
54f770ae53
Refactoring fix for Ticket #1648
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3949 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 04:41:56 +00:00
phpnut
e42df60a24
Adding fix for Ticket #1648
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3948 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-24 03:53:44 +00:00
nate
00741f0ca6
Adding default overload methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3946 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 22:48:47 +00:00
dho
ac310dbabe
Typo (ticket #1416 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3942 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 17:07:28 +00:00
phpnut
c41db64070
Adding fix for Ticket #1527
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3937 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:17:05 +00:00
phpnut
984ceb3b51
Adding fix for Ticket #1629
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3935 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:06:49 +00:00
phpnut
2d83d125e4
Updating core views to render better notices
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3934 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 09:50:20 +00:00
phpnut
9703a90937
Merging fix from [3228]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3933 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 07:51:13 +00:00
phpnut
3343368dde
Adding loadModels() to cached views
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3897 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 17:54:22 +00:00
phpnut
2ab7e5120d
Removing Helper::readConfigFile().
...
tags.ini.php will not be used as of 1.2
file should be changed to tags.php and use php arrays.
$tags['tagname'] = 'value';
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3893 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 04:27:23 +00:00
phpnut
056bda7e4b
Moving all tags from Helper to child classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4
Moving helper tags to specific helper classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
phpnut
204ff6bcbb
Refactoring Helper class and adding tags.php as a var.
...
Removing old /config/tags.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3890 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:16:34 +00:00
phpnut
95c919a7a5
Updating changes made to the core files that are loaded
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3889 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:47:42 +00:00
phpnut
30cf172bbc
Refactoring helper tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3880 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 20:05:57 +00:00
gwoo
8b88865c29
1.2 RssHelper: fixing enclosure bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3876 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-18 22:58:29 +00:00
gwoo
d31434336b
fix for enclosures in rss helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3871 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-15 16:33:57 +00:00
phpnut
f95285d75f
Starting to change all core code that uses $this->params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3859 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-12 00:12:34 +00:00
nate
99a420c8ef
Refactoring code, adding error message to deprecated method (View::setLayout), and updating method references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3858 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-11 21:05:00 +00:00
nate
31623de654
Adding $scripts_for_layout to default template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3856 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:41:35 +00:00
nate
bd4f1aceff
Modifying JavascriptHelper::link() to accept arrays of links, and adding warning for deprecated methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3855 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 18:31:27 +00:00
phpnut
d6b2545628
Adding fix for #1544 .
...
Adds additional path searches for elements and layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3786 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-01 06:51:57 +00:00
phpnut
f22dc77ea1
Added fix for #1442 .
...
SessionHelper was creating a second instance of CakeSession which would call the session_start(). Added a second param that can be set to false so this does not happen anymore
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3771 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 06:06:16 +00:00
phpnut
54583f0afe
Changing code in View::_loadHelpers() to use Inflector::variable()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3767 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:20:57 +00:00
nate
802ec2d913
HTML-escaping select option titles (Ticket #1577 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3761 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 16:02:58 +00:00
nate
de52eb88c9
Updating helper class hierarchy, and adding 1.2 fix for Ticket #1569
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3750 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 21:40:34 +00:00