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
gwoo
da2cf11ef3
1.2: pass the plugin name to renderElement
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3730 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:48:35 +00:00
nate
607158de45
Removing deprecated method AjaxHelper::linkToRemote()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3726 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:22:23 +00:00
nate
114a465a36
Adding fix for Ticket #1551
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3712 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 18:07:55 +00:00
nate
eea428e55d
Code formatting and 1.2 interface updates
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3689 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-16 20:02:34 +00:00
gwoo
80481ae318
added extract() to Set, added format() to TimeHelper, fixed bake admin views creation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3636 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-13 07:41:10 +00:00
nate
8a64ba93fc
Refactoring Paginator helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3631 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 20:03:58 +00:00
nate
91f6adcfab
Adding Paginator helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3629 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-12 19:45:12 +00:00
nate
dc5a209a03
Adding fix for Ticket #1514 (1.2)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3611 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-09 15:53:09 +00:00
nate
81679cc123
Adding fix for Ticket #1468
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3608 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 15:30:58 +00:00
nate
3c1a71027d
Transitioning to allow mulitple IDs in form inputs, and adding fix for Ticket #1468
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3607 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-08 15:30:32 +00:00
dho
4a9f72cefa
Applied patch for ticket #1501 , modified doc block of select function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3599 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-05 08:50:04 +00:00
nate
0771adf8c9
Adding default JavaScript template
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3596 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-30 23:23:09 +00:00
nate
04a095d45a
Adding field type interpreting to FormHelper::input()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3595 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-29 01:32:09 +00:00
nate
d783b537e5
Removing reference to HtmlHelper::linkOut in TextHelper::autoLinkUrls (Ticket #1468 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3592 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 23:54:06 +00:00
nate
03ec6ccb2a
Adding helper object variables to Helper base class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3590 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 22:27:31 +00:00
nate
5bb71da382
Adding fix for single-DIV updates not being properly outputted
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3589 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 21:15:27 +00:00
gwoo
c3bd56d464
adding fix for #1461
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3582 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 17:15:35 +00:00
gwoo
5025a6dfcb
selectOptions is good now
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3580 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:57:29 +00:00
gwoo
89b34f30ca
fixing wrong file name for missing component in 1.2, and fixing some bad code I introduced into the form helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3579 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:38:58 +00:00
gwoo
67aba9ea45
updating FormHelper::select and __selectOptions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3578 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-26 19:53:22 +00:00
nate
48d00ed018
Syntax fix in RSSHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3571 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-22 17:52:13 +00:00
gwoo
11b0fe92bc
adding fix for showEmpty on date time options, merging a couple other changes from the 1.1 helper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3542 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-21 21:43:22 +00:00
phpnut
cc8b842467
Adding fix for #1353
...
magic_quotes_runtime would double quote the html source of the tags.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3529 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-20 15:08:41 +00:00
nate
08948afbd8
Adding 1.2 branch fix for Ticket #1295 (AjaxHelper::_optionsToString)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3517 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-19 05:18:47 +00:00
phpnut
9eb0c89035
Removed extra ; in [3500]
...
Merged fixed from [3500] into branches/1.2.x.x/cake/libs/view/helpers/html.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3501 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 01:41:36 +00:00
phpnut
5e72327e47
Adding fix for CacheHelper replacing the wrong values in the CacheHelper::__parseOutput()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3494 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 04:38:23 +00:00
phpnut
91ccb116eb
Adding fix for #1281
...
View::renderCache() now removes the <!--cachetime:#--> from the output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3493 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 02:13:21 +00:00
phpnut
6675bf9e62
Adding fix for #1302
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3492 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-15 00:36:35 +00:00
nate
39c32d0454
Adding default parameter for TextHelper::truncate
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3466 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-11 18:01:00 +00:00
nate
28b18839c3
Minor fixes and updates to HtmlHelper and FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3461 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:30:29 +00:00
phpnut
e08a4a1da6
Merging changes for SessionHelper into 1.2.x.x branch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3458 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 14:33:20 +00:00
nate
8cfaa0538b
Adding SessionHelper to 1.2 branch
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3455 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-07 20:35:35 +00:00
nate
a4dbb38d78
Fixing field() issue in HtmlHelper::radio()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3445 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-01 13:47:21 +00:00
nate
e812204ebc
Moving model and field information into view
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3443 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-30 16:23:24 +00:00
nate
88079265b2
Adding $scripts_for_layout view variable, View::addScript(), and extra parameters to relevant HtmlHelper methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3438 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-28 20:41:08 +00:00
nate
05d954a5bf
Adding quotes around JSON keys (Ticket #702 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3437 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-28 15:40:19 +00:00
nate
00df232f9e
Fixing /admin issue with HtmlHelper::url() (Sort-of covered by Ticket #1340 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3436 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-27 17:49:50 +00:00
nate
4f53c301a8
Fixing URLs in HtmlHelper::meta(), and moving textarea() to FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3427 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 19:35:08 +00:00
nate
e2efcc108c
Initial import of RSS and XML helpers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3425 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 08:05:44 +00:00
nate
8041562a76
Adding variable access convenience methods to View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3423 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 07:32:59 +00:00
nate
4c45120b75
Fixing '#' issue with HtmlHelper::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3422 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 07:29:13 +00:00
nate
2370ee9512
Adding default RSS layout, and upading default XML layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3421 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 07:28:29 +00:00
nate
f762385bf6
Removing AUTO_OUTPUT references from TimeHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3418 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 07:26:03 +00:00
nate
6535c4936c
Fixing code formatting in View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3416 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 22:21:22 +00:00
nate
fd99791566
Removing all references to AUTO_OUTPUT, adding HtmlHelper::meta() for creating <link /> tags, and enhancing HtmlHelper::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3414 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-20 21:54:50 +00:00
nate
866ea4bd5e
Adding automagic content-type-to-view-template mapping for use with Router::parseExtensions(). Also adding default XML template.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3411 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:05:00 +00:00
nate
2acff78b48
Adding Helper callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3410 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-18 08:03:32 +00:00
nate
1de5fee5bb
Adding View::set(), allowing templates/elements to set variables for layout
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3396 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-12 01:18:28 +00:00
nate
8622b6f9ce
Removing debug code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3395 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:06:39 +00:00
nate
02ed400c61
Fixing issue in FormHelper::select() with $options array numeric keys being reset
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3394 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:05:59 +00:00
nate
9c75c34b62
Updating HtmlHelper::link and HtmlHelper::url docblocks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3393 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 04:15:19 +00:00
nate
44b45bd4e5
Adding array-based URL support in HtmlHelper::url(), and refactoring HtmlHelper::link()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3392 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 03:57:41 +00:00
nate
cd381d62cf
Adding fix for empty option group names in FormHelper::selectOptions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3378 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 00:48:25 +00:00
nate
26977195c3
Fixing class name reference in TextHelper ('Html' -> 'HtmlHelper')
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3370 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-06 17:55:01 +00:00
phpnut
0e527f46bf
Reomved doc block comment from FormHelper class.
...
Corrected change made to the $expires variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3358 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:07:50 +00:00
phpnut
d0d1ce73cd
Added FormHelper::create() to use in place of deprecated
...
HtmlHelper::formTag().
Fixed SecurityComponent so the _Token can be wrote to sessions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3357 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:03:39 +00:00
phpnut
3c8148924e
Added layout to the cached view.
...
Added check in View::renderCache() for xml layout, if the layout is xml
then correct header will be sent.
Before it would render text output
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3356 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 19:31:57 +00:00
phpnut
badf1edc0b
Added missing vars to cached files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3355 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 19:17:56 +00:00
phpnut
7232325624
Added TimeHelper::gmt()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3354 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-03 18:50:06 +00:00
nate
d30ff86369
Duplicating changeset [3344]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3345 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 04:20:51 +00:00
nate
c0300e35af
Duplicating fixes from [3341]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3342 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-01 04:07:04 +00:00
nate
2b69e99ae3
Refactoring View and SecurityComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3327 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-31 23:55:29 +00:00
nate
a75f33f430
Adding optgroup support for 2D arrays in FormHelper::select(); adding grouping ability to Model::generateList()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3326 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-30 23:31:04 +00:00
nate
4d5a8cda92
Adding FormHelper::select() and FormHelper::selectOptions(). Deprecates HtmlHelper::selectTag().
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3323 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-30 12:19:48 +00:00
phpnut
fc431393fb
Removed depreciated calls to FormHelper::labelTag();
...
Added fixes from 1.1.x.x to HtmlHelper::dateTimeOptionTag();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3320 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 18:12:45 +00:00
phpnut
06f8fbb7c9
Adding FormHelper::generateTime()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3319 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 18:01:50 +00:00
phpnut
943454d280
Adding time to FormHelper::generateFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3318 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:55:22 +00:00
phpnut
566f1b60b9
Fixing errors when trying to use plugin components.
...
Added Controller::_initComponents();
Changed helpers and components to allow using plugins helpers or
components.
Syntax:
var $helpers = array('PluginName/HelperName');
var $components= array('PluginName/ComponentName');
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3315 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:08:23 +00:00
phpnut
4594e09cde
Adding changes for new Theme view
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3313 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 05:59:42 +00:00
phpnut
8b69475c08
"Adding theme view to 1.2.x.x branch"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3309 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 04:16:54 +00:00
phpnut
0ae0905004
Adding fix for Ticket #1219 .
...
Checking for an object being passed.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3306 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 17:13:02 +00:00
phpnut
5549ddfd75
Replacing labelTag with new label().
...
Merged changes to bake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3305 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 16:52:36 +00:00
nate
1dc6c1128b
Adding TextHelper::toList(), to create natural-language lists from arrays
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3304 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 04:20:30 +00:00
nate
c50275de24
Cleaning up TextHelper code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3303 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 04:12:24 +00:00
nate
71a119ba3d
Fixing up FormHelper::label
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3299 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-25 02:18:37 +00:00
nate
de0c4e8500
Implementing Form.Element.EventObserver in AjaxHelper::observeField (Ticket #1194 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3294 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-23 16:10:35 +00:00
nate
07ec77ef22
Adding model behaviors, model onError callback, and updating FormHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3280 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-22 14:13:07 +00:00
phpnut
6dc000f826
Beginning to port fixes to 1.2.x.x code from 1.1.x.x
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3269 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-15 03:47:27 +00:00
phpnut
6d71310f00
Beginning to port fixes to 1.2.x.x code from 1.1.x.x
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3268 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-15 03:36:53 +00:00
nate
0a5b1b6450
Adding fix for Ticket #1063
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-12 04:25:00 +00:00
nate
5af4c7e372
Adding same fixes as [3225] and [3223], and adding HtmlHelper::para() and HtmlHelper::div()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-11 14:34:35 +00:00
phpnut
43fd87e5bc
Adding fix for Html::selectTag();
...
Fix corrects the last selected value from being dropped
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3214 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-07 16:24:22 +00:00
nate
c65e645f8c
Adding fix for Ticket #1102
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3209 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 16:44:03 +00:00
phpnut
08b8fca099
Removing bad character in last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3206 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 13:45:13 +00:00
phpnut
3f2bc3ab82
Adding fix for PHP 5.2 errors.
...
The View::__construct() had a check for $controller != null;
Removing this fixed the errors related to not setting the vars from the controller instance.
Removed $this->parent =& $this->controller->parent; and $this->displayFields=&$this->controller->displayFields; which are not defined in the core Controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3204 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-06 13:04:21 +00:00
nate
86fc29facb
Adding join table selects (MySQL-only so far), findBy/findAllBy magic method enhancements (Ticket #412 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3200 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-04 01:29:48 +00:00
nate
4f425785d0
Adding DOM ID to controller dump, Ticket #1045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3196 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 06:27:57 +00:00
nate
baf2364c83
Adding $safe param to JavascriptHelper::codeBlock() to wrap JS code in comment and CDATA tags for compatibility with older browsers and XHTML (Ticket #1072 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3194 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-06-29 05:30:56 +00:00