Commit graph

224 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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