@@ -51,14 +51,14 @@ discard block |
||
51 | 51 | // SEO |
52 | 52 | $route = Url::toRoute(Yii::$app->controller->action->uniqueId); |
53 | 53 | if ($keywords = \Yii::$app->settings->get($route, 'app.seo.keywords', null)) { |
54 | - $this->registerMetaTag(['name' => 'keywords', 'content' => $keywords]); |
|
54 | + $this->registerMetaTag([ 'name' => 'keywords', 'content' => $keywords ]); |
|
55 | 55 | } |
56 | 56 | if ($description = \Yii::$app->settings->get($route, 'app.seo.descriptions', null)) { |
57 | - $this->registerMetaTag(['name' => 'description', 'content' => $description]); |
|
57 | + $this->registerMetaTag([ 'name' => 'description', 'content' => $description ]); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | if ($favicon = \Yii::$app->settings->get('faviconPng', 'app.assets', null)) { |
61 | - $this->registerLinkTag(['rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon]); |
|
61 | + $this->registerLinkTag([ 'rel' => 'shortcut icon', 'type'=>'image/png', 'href' => $favicon ]); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | ?> |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | <!-- Navbar --> |
83 | 83 | <?php |
84 | 84 | if (Yii::$app->settings->get('enableTwigNavbar', 'app.layout', false)) { |
85 | - echo \dmstr\modules\prototype\widgets\TwigWidget::widget(['key' => '_navbar']); |
|
85 | + echo \dmstr\modules\prototype\widgets\TwigWidget::widget([ 'key' => '_navbar' ]); |
|
86 | 86 | } else { |
87 | 87 | echo $this->render('_navbar'); |
88 | 88 | } |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | |
107 | 107 | <!-- Footer --> |
108 | 108 | <footer class="footer"> |
109 | - <?= Cell::widget(['id' => '_footer', 'requestParam' => '_global']) ?> |
|
109 | + <?= Cell::widget([ 'id' => '_footer', 'requestParam' => '_global' ]) ?> |
|
110 | 110 | </footer> |
111 | 111 | |
112 | 112 | <!-- Info Modal --> |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | <?= Html::a( |
116 | 116 | '<i class="fa fa-heartbeat"></i>', |
117 | 117 | '#', |
118 | - ['class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal'] |
|
118 | + [ 'class' => 'text-muted', 'data-toggle' => 'modal', 'data-target' => '#infoModal' ] |
|
119 | 119 | ) ?> |
120 | 120 | </p> |
121 | 121 | </div> |
@@ -5,7 +5,7 @@ |
||
5 | 5 | <?= |
6 | 6 | \yii\widgets\Breadcrumbs::widget( |
7 | 7 | [ |
8 | - 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
|
8 | + 'links' => isset($this->params[ 'breadcrumbs' ]) ? $this->params[ 'breadcrumbs' ] : [ ], |
|
9 | 9 | ] |
10 | 10 | ) ?> |
11 | 11 | </div> |