123 Commits

Author SHA1 Message Date
dcda2a2466 BaseHtml::checkboxList minor update 2015-12-21 18:09:44 +02:00
85c6a903dc Enh #10390: Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList 2015-12-21 18:04:49 +02:00
f95a6d9d08 Merge pull request #10292 from Faryshta/patch-5
use ArrayHelper::remove() for the html helper methods
2015-12-19 18:59:44 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
2d05b11f68 remove PHP_EOL 2015-12-02 04:21:45 -06:00
ec43f4c370 add separator around the items in ul() 2015-12-01 08:00:39 -06:00
d0ffb58efb syntax error 2015-12-01 07:34:40 -06:00
7a2bbabbbd add separator special option to ul and listBox 2015-12-01 07:28:09 -06:00
7618e4ee13 changes suggested by review. 2015-12-01 00:18:50 -06:00
5b67bc1822 use ArrayHelper::remove() 2015-11-30 19:32:41 -06:00
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
c3bfa5c77e fixed Html::activeFileInput() to set correct name for hidden input field
fixes #9689
2015-11-15 13:39:07 +01:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
728dc0c584 added docs about form element naming
close #8993
2015-08-03 12:51:17 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
2aba8df2ef Fixes #9228 2015-07-27 18:57:10 +03:00
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
0874ffac38 Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options 2015-05-29 12:31:52 +03:00
d4d972b535 Merge branch '6043-html-arrays'
Conflicts:
	framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
0f04af1af9 Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword() 2015-05-20 12:05:53 +03:00
0a7191dbfe Preserving of the named key classes at yii\helpers\Html::addCssClass() provided 2015-05-18 12:48:51 +03:00
41f6a6e558 Specification for 'class' and 'style' in array format added to yii\helpers\Html 2015-05-18 12:14:57 +03:00
3a39f8ab72 yii\helpers\Html allows correct rendering of conditional comments containing !IE 2015-05-14 16:22:26 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
f6b4601a83 improved doc message 2015-05-09 22:50:15 +02:00
8c81a15ac9 Fixed yii\helpers\Html::dropDownList() overrides label specified at 'groups' option 2015-04-28 15:45:03 +03:00
5dd3a14141 Fixes #7851: removed incorrect phpdoc lines 2015-04-21 00:34:34 +03:00
296e5816d8 typo #8113 2015-04-20 12:25:19 +02:00
95d65b4958 added missing @since tag 2015-04-20 12:56:41 +03:00
427ee8dcbf Automatic encoding at BaseHtml::activeHint() removed 2015-04-20 12:42:41 +03:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
94564cd766 minor fix [skip ci] 2015-02-26 21:45:57 -05:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
7f73d6a525 Use getAttributeName() 2015-02-26 21:25:33 -05:00
cdfd73a9ff Add maxlength option to activeTextInput
Issue [#7440](https://github.com/yiisoft/yii2/issues/7440)
2015-02-26 21:25:33 -05:00
f57a517f6d Fixes #7449: Added encode option to allow not encoding select options for Html::dropDownList() and Html::listBox() 2015-02-26 21:24:46 -05:00
9a52aab0f1 Enh #7449: yii\helpers\Html::dropDownList() and yii\helpers\Html::listBox() now supports Unicode characters in option text (yapi68) 2015-02-26 21:09:33 -05:00
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
7b5cdf041d Fixes #7255: Added support to allow widgets that use text input to specify input types 2015-02-15 22:26:33 -05:00
0afd13f0da Update BaseHtml.php
Some Annotation Typos

close #6029
2014-11-13 14:27:24 +01:00
e923a13ccd Readme on "uncheck" parameter in activeCheckbox
Just a readme update.
"If you do not want any hidden input, you should explicitly set this option as null."

close #5823
2014-10-30 15:54:35 +01:00
f9fba181d6 Fixes #5806: Allow Html::encode() to be used when the application is not started 2014-10-29 10:50:00 -04:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00