@@ -27,7 +27,7 @@ |
||
27 | 27 | 'template' => '{link}', |
28 | 28 | 'header' => Yii::t('app', 'Link'), |
29 | 29 | 'buttons' => [ |
30 | - 'link' => function ($url, $_model, $key) use ($model) { |
|
30 | + 'link' => function($url, $_model, $key) use ($model) { |
|
31 | 31 | return Html::a('<span class="glyphicon glyphicon-plus"></span>', Url::to(['link', 'id' => $model->id, 'screenId' => $_model->id])); |
32 | 32 | }, |
33 | 33 | ], |
@@ -54,7 +54,7 @@ |
||
54 | 54 | 'controller' => 'screen', |
55 | 55 | 'template' => '{view} {update} {unlink}', |
56 | 56 | 'buttons' => [ |
57 | - 'unlink' => function ($url, $_model, $key) use ($model) { |
|
57 | + 'unlink' => function($url, $_model, $key) use ($model) { |
|
58 | 58 | return Html::a('<span class="glyphicon glyphicon-remove"></span>', Url::to(['unlink', 'id' => $model->id, 'screenId' => $_model->id])); |
59 | 59 | }, |
60 | 60 | ], |
@@ -65,7 +65,7 @@ |
||
65 | 65 | 'controller' => 'content', |
66 | 66 | 'template' => '{view} {update} {delete} {toggle}', |
67 | 67 | 'buttons' => [ |
68 | - 'toggle' => function ($url, $model, $key) { |
|
68 | + 'toggle' => function($url, $model, $key) { |
|
69 | 69 | return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url); |
70 | 70 | }, |
71 | 71 | ], |
@@ -65,7 +65,7 @@ |
||
65 | 65 | 'controller' => 'content', |
66 | 66 | 'template' => '{view} {update} {delete} {toggle}', |
67 | 67 | 'buttons' => [ |
68 | - 'toggle' => function ($url, $model, $key) { |
|
68 | + 'toggle' => function($url, $model, $key) { |
|
69 | 69 | return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url); |
70 | 70 | }, |
71 | 71 | ], |
@@ -65,7 +65,7 @@ |
||
65 | 65 | 'controller' => 'content', |
66 | 66 | 'template' => '{view} {update} {delete} {toggle}', |
67 | 67 | 'buttons' => [ |
68 | - 'toggle' => function ($url, $model, $key) { |
|
68 | + 'toggle' => function($url, $model, $key) { |
|
69 | 69 | return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url); |
70 | 70 | }, |
71 | 71 | ], |
@@ -27,7 +27,7 @@ |
||
27 | 27 | 'template' => '{link}', |
28 | 28 | 'header' => Yii::t('app', 'Link'), |
29 | 29 | 'buttons' => [ |
30 | - 'link' => function ($url, $_model, $key) use ($model) { |
|
30 | + 'link' => function($url, $_model, $key) use ($model) { |
|
31 | 31 | return Html::a('<span class="glyphicon glyphicon-plus"></span>', Url::to(['link', 'id' => $model->id, 'screenId' => $_model->id])); |
32 | 32 | }, |
33 | 33 | ], |
@@ -54,7 +54,7 @@ |
||
54 | 54 | 'controller' => 'screen', |
55 | 55 | 'template' => '{view} {update} {unlink}', |
56 | 56 | 'buttons' => [ |
57 | - 'unlink' => function ($url, $_model, $key) use ($model) { |
|
57 | + 'unlink' => function($url, $_model, $key) use ($model) { |
|
58 | 58 | return Html::a('<span class="glyphicon glyphicon-remove"></span>', Url::to(['unlink', 'id' => $model->id, 'screenId' => $_model->id])); |
59 | 59 | }, |
60 | 60 | ], |
@@ -36,7 +36,7 @@ |
||
36 | 36 | 'displayTeachers' => false, |
37 | 37 | ], |
38 | 38 | // Weather widget |
39 | - 'weather' => [ // Get an API key at https://darksky.net/dev |
|
39 | + 'weather' => [// Get an API key at https://darksky.net/dev |
|
40 | 40 | 'language' => 'en', |
41 | 41 | 'units' => 'us', |
42 | 42 | 'apikey' => '', |
@@ -111,7 +111,7 @@ |
||
111 | 111 | /** |
112 | 112 | * Disconnects current user. |
113 | 113 | * |
114 | - * @return \yii\web\Reponse |
|
114 | + * @return \yii\web\Response |
|
115 | 115 | */ |
116 | 116 | public function actionLogout() |
117 | 117 | { |