@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace mdm\admin\models\searchs; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use yii\base\Model; |
7 | 6 | use yii\data\ActiveDataProvider; |
8 | 7 | use mdm\admin\models\Menu as MenuModel; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Search BizRule |
43 | 43 | * @param array $params |
44 | - * @return \yii\data\ActiveDataProvider|\yii\data\ArrayDataProvider |
|
44 | + * @return ArrayDataProvider |
|
45 | 45 | */ |
46 | 46 | public function search($params) |
47 | 47 | { |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Message translations for \mdmsoft\yii2-admin. |
|
4 | - * |
|
5 | - * It contains the localizable messages extracted from source code. |
|
6 | - * You may modify this file by translating the extracted messages. |
|
7 | - * |
|
8 | - * Each array element represents the translation (value) of a message (key). |
|
9 | - * If the value is empty, the message is considered as not translated. |
|
10 | - * Messages that no longer need translation will have their translations |
|
11 | - * enclosed between a pair of '@@' marks. |
|
12 | - * |
|
13 | - * Message string can be used with plural forms format. Check i18n section |
|
14 | - * of the guide for details. |
|
15 | - * |
|
16 | - * NOTE: this file must be saved in UTF-8 encoding. |
|
17 | - */ |
|
3 | + * Message translations for \mdmsoft\yii2-admin. |
|
4 | + * |
|
5 | + * It contains the localizable messages extracted from source code. |
|
6 | + * You may modify this file by translating the extracted messages. |
|
7 | + * |
|
8 | + * Each array element represents the translation (value) of a message (key). |
|
9 | + * If the value is empty, the message is considered as not translated. |
|
10 | + * Messages that no longer need translation will have their translations |
|
11 | + * enclosed between a pair of '@@' marks. |
|
12 | + * |
|
13 | + * Message string can be used with plural forms format. Check i18n section |
|
14 | + * of the guide for details. |
|
15 | + * |
|
16 | + * NOTE: this file must be saved in UTF-8 encoding. |
|
17 | + */ |
|
18 | 18 | return [ |
19 | 19 | 'Assignments' => 'การกำหนด', |
20 | 20 | 'Users' => 'ผู้ใช้งาน', |
@@ -41,7 +41,7 @@ |
||
41 | 41 | 'attribute' => 'description', |
42 | 42 | 'label' => Yii::t('rbac-admin', 'Description'), |
43 | 43 | ], |
44 | - ['class' => 'yii\grid\ActionColumn',], |
|
44 | + ['class' => 'yii\grid\ActionColumn', ], |
|
45 | 45 | ], |
46 | 46 | ]) |
47 | 47 | ?> |
@@ -4,7 +4,7 @@ |
||
4 | 4 | /* @var $this yii\web\View */ |
5 | 5 | /* @var $user mdm\admin\models\User */ |
6 | 6 | |
7 | -$resetLink = Url::to(['user/reset-password','token'=>$user->password_reset_token], true); |
|
7 | +$resetLink = Url::to(['user/reset-password', 'token'=>$user->password_reset_token], true); |
|
8 | 8 | ?> |
9 | 9 | Hello <?= $user->username ?>, |
10 | 10 |