236 Commits

Author SHA1 Message Date
b548c8f710 Fixed determine active menu item with url-alias in route
close #8900
2015-06-25 23:53:48 +02:00
e9494d15c3 Remove unused variable 2015-06-08 04:53:32 +03:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
563deea02c yii\widgets\ActiveField now uses corresponding methods for default parts rendering 2015-05-20 12:35:42 +03:00
968d59cd48 Add property $linkOptions into LinkSorter widget
close #8444
2015-05-17 00:39:24 +02:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
6d14f6e74d phpdoc typo 2015-05-06 15:47:26 +02:00
048c89f15d Fix FragmentCache when enabled is false.
Fixes #8273
close #8274
2015-05-05 23:12:10 +02:00
94d6843f8b added FragmentCache test for issue #8273 2015-05-05 23:12:10 +02:00
4496e2c405 preserve configuration of gridview even when called multiple times
fixes #8231
2015-04-30 10:54:45 +02:00
2c94bb0899 Fixes #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options 2015-04-27 22:10:16 -04:00
91a6e4bc8e Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one 2015-04-22 17:43:15 +03:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
59a9f47f8e Fixed last page label 2015-04-17 11:52:32 +03:00
a733ecd40c yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label 2015-04-17 11:51:48 +03:00
cafd135022 Fixes #8064: Added ability to remove containing menu tag by setting yii\widgets\Menu::$options['tag'] to false 2015-04-15 13:21:14 +03:00
36a0e8384a Fixes #7918: yii\widgets\Pjax got ability to avoid registering link/form handler via setting false to $linkSelector/$formSelector 2015-04-09 23:16:38 +03:00
92b1ba77db improved phpdoc of ActiveForm 2015-03-27 00:36:05 +01:00
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00
f2523cb5d7 Update ActiveField.php
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425.
2015-02-24 21:35:19 -05:00
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
02f8f7ef9d Fixes #7332: Added ability to remove yii\widgets\Menu container tag by setting options['tag'] to false 2015-02-24 02:06:42 +03:00
e385f323eb Update Menu.php
The feature:
http://getbootstrap.com/components/#list-group-linked

Currently, Menu isnt capable of creating a bootstraps list-group-linked because:
- Menu forces a item container around the link

Menu does allow:
- defining the tag of the menu container
- defining the tag of the item container
- defining the template of the link

This means, that it is a small step to enable a menu like the list-group-linked in which:
- menu container is a DIV
- there are no item containers
- there are only links which should get the correct status by the (link)template

I provided a patch in which you can set the item-tag on false. When this is done,
the item tag is ignored and no LI is created, which is necessary for the list-group-linked.
2015-02-24 01:52:00 +03:00
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
e7f9b30456 fixed version information in Breadcrumb widget 2015-01-11 17:09:06 +01:00
e4cf948c0b Better code for #6106 2015-01-11 15:16:05 +08:00
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
389d9e2fd2 add hint about custom element id and selectors property
to Active Field

fixes #6734
2015-01-04 19:03:46 +01:00
945961092d Added phpdoc description for BaseListView and ListView classes 2014-12-28 15:56:43 +03:00
03a9ed70b2 Fixes #6557: Link URLs generated by yii\widgets\Menu are not encoded 2014-12-17 22:08:20 -05:00
b16ac9a05a Fixes #6391 2014-12-08 22:36:32 -05:00
544981a41c Fixes #6318: Made widgets more error-tolerant and user-friendly when certain option values are null 2014-11-29 21:29:53 -05:00
9ae538e602 Fixed doc [skip ci] 2014-11-27 22:03:31 -05:00
f509ed2448 Fixes #6236: No JS scripts should be registered when yii\widgets\ActiveForm::enableClientScript is false 2014-11-26 10:52:10 -05:00
e92482f554 Typo in word 2014-11-22 02:58:56 +03:00
2782adcca4 Fixes #4643: Extra options specified in yii\widgets\Breadcrumbs::links will be treated as HTML attributes for the generated hyperlinks 2014-11-16 12:49:47 -05:00
9869e67df8 fixed phpdoc
thanks to @pana1990

close #6060
2014-11-14 23:26:49 +01:00
866214e75a Fixes #6018: When setting the encode option via yii\widgets\ActiveRecord::errorOptions, it works the other way around [skip ci] 2014-11-11 21:24:07 -05:00
1be82dc0f5 Added phpdoc for Block 2014-10-31 16:52:26 +03:00
497e1fedc5 Added phpdoc for ContentDecorator 2014-10-31 16:40:15 +03:00
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00
cb90f31cbe Fixes #5702: Parenthesis should be automatically added to Validator::whenClient to avoid js error 2014-10-23 09:18:53 -04:00