@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | // ], |
76 | 76 | [ |
77 | 77 | 'attribute' => 'registration_ip', |
78 | - 'value' => function ($model) { |
|
78 | + 'value' => function($model) { |
|
79 | 79 | return $model->registration_ip == null |
80 | 80 | ? '<span class="not-set">' . Yii::t('app', '(not set)') . '</span>' |
81 | 81 | : $model->registration_ip; |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | ], |
98 | 98 | [ |
99 | 99 | 'header' => Yii::t('yuncms', 'Confirmation'), |
100 | - 'value' => function ($model) { |
|
100 | + 'value' => function($model) { |
|
101 | 101 | if ($model->isEmailConfirmed) { |
102 | 102 | return '<div class="text-center"><span class="text-success">' . Yii::t('yuncms', 'Confirmed') . '</span></div>'; |
103 | 103 | } else { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | ], |
114 | 114 | [ |
115 | 115 | 'header' => Yii::t('yuncms', 'Block status'), |
116 | - 'value' => function ($model) { |
|
116 | + 'value' => function($model) { |
|
117 | 117 | if ($model->isBlocked) { |
118 | 118 | return Html::a(Yii::t('yuncms', 'Unblock'), ['block', 'id' => $model->id], [ |
119 | 119 | 'class' => 'btn btn-xs btn-success btn-block', |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | [ |
134 | 134 | 'class' => 'yuncms\grid\ActionColumn', |
135 | 135 | 'template' => '{assignment} {view} {update} {delete}', |
136 | - 'buttons' => ['assignment' => function ($url, $model, $key) { |
|
136 | + 'buttons' => ['assignment' => function($url, $model, $key) { |
|
137 | 137 | return Html::a('<span class="glyphicon glyphicon-dashboard"></span>', |
138 | 138 | Url::toRoute(['user-assignment/view', 'id' => $model->id]), [ |
139 | 139 | 'title' => Yii::t('yuncms', 'Assignment'), |