Alexander Makarov
7fc9bc0b4d
Better fix for <script async="false"
2014-04-05 15:02:58 +04:00
Wil Wade
3e1e4be6c3
Remove async from list of Special Attributes so that it is possible to use async=false per issue: #3314
2014-04-03 18:13:23 -04:00
hwmaier
906a31dd06
checkBoxList and radioButtonList to take into account closeSingleTags parameter for <br> tag
...
Changed checkBoxList and radioButtonList methods to generate <br/> or
<br> separator tags depending on closeSingleTags setting.
2014-03-19 10:51:10 +10:00
Alexander Pletnev
1fd6c1aa8c
strict string comparison is always better
2014-02-26 21:26:37 +04:00
Muhammad Mahad Azad
1552209695
removed display:none on hidden form fields
2014-02-22 23:54:45 +05:00
resurtm
0490e653cb
Code performance fix related to #3185
2014-02-19 14:24:18 +06:00
resurtm
52b1e4ca44
Updated CHtml to add maxlength support to all HTML5 fields
...
Fixes #3185 . Fixes #2741 .
2014-02-19 13:12:04 +06:00
Carsten Brandt
86547f5dcb
docs about html options
...
fixes #2844
2014-01-28 11:34:20 +01:00
Carsten Brandt
ffef1e47c9
updated docs for active radiobuttonlist and checkboxlist
...
fixes #3028
2014-01-28 11:24:50 +01:00
Alexander Makarov
fd088f94f7
Merge pull request #2799 from codemix/html5-elements-squash
...
Add HTML5 input support
2013-09-17 04:37:57 -07:00
Domrachev Roman
ec584acbd7
Fix CHtml::radioButtonList(). It worked incorrectly with numeric keys in $data.
2013-09-12 17:07:01 +07:00
Charles Pick
74310e9dac
Fix indents
2013-09-11 21:09:44 +01:00
Charles Pick
a754252c6f
resolve merge conflicts
2013-08-21 14:52:49 +01:00
Charles Pick
e5a036fd7c
fix code style
2013-08-21 14:46:09 +01:00
Charles Pick
2ca58cbbdd
Add html5 form elements
2013-08-20 23:27:56 +01:00
Charles Pick
c6a3ae50de
Add RESTful method support for html forms
...
This commit allows calls to `CHtml::form()`, `CHtml::beginForm`
`CActiveForm::$method` etc to accept verbs other than `post` and `get`,
e.g. `delete`, `put`, `patch` etc
This is implemented by detecting non `post`, `get`, converting to `post`
and adding a hidden `_method` field, similar to how CSRF protection works.
2013-07-26 23:17:03 +01:00
resurtm
d2a1818a3d
Fixes related to #129 and #2446 :
...
1. Fix CS.
2. Add additional PHPDoc declarations.
2013-07-08 10:06:13 +06:00
Paul Klimov
e9e929aa09
"CHtml::activeLabel()" has been fixed to resolve attribute label for tabular input in case custom "for" has been specified.
2013-05-29 12:40:46 +03:00
nsanden
7a22710e17
CHtml ajax doc fix
2013-05-27 11:24:49 -07:00
Alexander Makarov
c5eabde5b3
fixed CHtml::setModelNameConverter
2013-05-21 14:14:54 +04:00
Alexander Makarov
a16c1a218c
fixed code style for #2225
2013-05-20 20:29:20 +04:00
LastDragon-ru
75d46631cc
Using "call_user_func()" instead of "$callback()".
2013-05-05 16:28:40 +04:00
LastDragon-ru
dfbf73fdef
Fixed variable names.
2013-05-05 15:16:08 +04:00
LastDragon-ru
8cb0800fc6
Fixed remarks from #2225
2013-05-05 15:09:24 +04:00
LastDragon-ru
5f0e9873c0
Fix whitespace.
2013-05-05 14:58:30 +04:00
LastDragon-ru
71314d6f2f
Rename CHtml::setNameByModelConverter() to CHtml::setClassToNameConverter()
2013-05-05 14:58:26 +04:00
LastDragon-ru
1bfe6255f0
Fixed generation of the HTML class attribute for the data model * @see https://github.com/yiisoft/yii/issues/129 * @see https://github.com/yiisoft/yii/pull/1808
2013-05-05 14:58:22 +04:00
Paul Klimov
4c4b36ac56
"CHtml::button()" has been updated to not enforce "value" attribute for the image buttons.
2013-04-29 16:15:08 +03:00
Alexander Makarov
7f838f820e
Merge pull request #1961 from adminnu/master
...
#1933 : fixed using "multiple" parameter with a value of false in CHtml::activeDropDownList, CHtml::ListBox and CHtml::DropDownList
2013-04-27 05:22:06 -07:00
Alexander Kochetov
37e30f2115
phpDocFix
2013-04-19 20:24:07 +04:00
Alexander Kochetov
328744ad3c
phpDoc fix
2013-04-18 21:46:46 +04:00
Alexander Kochetov
f4180e1127
phpDoc added
2013-04-18 21:42:57 +04:00
Alexander Kochetov
591a99cb46
CHtml::radioButtonList() and CHtml::checkBoxList() new template placeholders
2013-04-18 21:11:40 +04:00
Maurizio Domba (mdwork)
6db04696b5
Fixes #2239 proper meta refresh syntax
2013-03-25 09:27:24 +01:00
resurtm
64a6aa85f8
Merge branch 'master' of github.com:yiisoft/yii into 1980-better
...
Conflicts:
CHANGELOG
2013-03-20 23:24:00 +06:00
resurtm
de416ba3a3
Enhancements to the #1980 .
2013-03-20 23:21:59 +06:00
resurtm
35bdf64990
Fixes #2217 : CHtml::radioButtonList() now supports $empty option.
2013-03-18 20:55:15 +06:00
resurtm
24d98144d8
Fixes: CHtml::activeTelField() used to display time input, not tel.
2013-03-15 20:25:00 +06:00
resurtm
e67f7c1612
Changes introduced in #2186 reverted.
2013-03-11 18:55:38 +06:00
Alexander Makarov
1e3a178d76
Merge pull request #2186 from resurtm/fixes-1955
...
Fixes #1955 : Some validators used to cause warnings or errors in case non-scalar array typed values being checked.
2013-03-10 05:42:20 -07:00
resurtm
692390f2f5
CHtml::activeInputField() and CHtml::activeTextField() is not intended to display array values.
2013-03-10 16:09:49 +06:00
njasm
c2722a4f55
TABS Ident fix.
2013-03-09 12:32:27 +00:00
Paul Klimov
1210dcbe42
"CHtml::script()" and "CHtml::scriptFile()" have been updated allowing to compose HTML options.
2013-03-06 11:32:13 +02:00
Charles Pick
ba7b7c4dc6
1948 fix tiny whitespace issue
2013-02-12 14:50:55 +00:00
Charles Pick
e29f76747e
Merge branch 'master' of github.com:yiisoft/yii into 1948-fix-html5-input-types
2013-02-12 14:33:55 +00:00
Charles Pick
c3df18844c
1948 minor tweaks
2013-02-12 14:31:29 +00:00
Charles Pick
d55fd536eb
1948 tidy up version info
2013-02-12 10:37:26 +00:00
Charles Pick
bda3ed4bd2
1948 tidy up version info
2013-02-12 10:36:01 +00:00
Charles Pick
afc69d47be
1948 tidy up whitespace
2013-02-12 10:35:32 +00:00
Charles Pick
d912cd0f63
1948 tidy up whitespace
2013-02-12 10:34:37 +00:00