Commit graph

149 commits

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