@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | } |
40 | 40 | |
41 | -$this->title = Html::encode($post->title . ' - ' . Option::get('sitetitle')); |
|
41 | +$this->title = Html::encode($post->title.' - '.Option::get('sitetitle')); |
|
42 | 42 | $this->params['breadcrumbs'][] = [ |
43 | 43 | 'label' => Html::encode($post->postType->singular_name), |
44 | 44 | 'url' => ['/post/index', 'id' => $post->postType->id], |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | $category = $post->getTerms() |
48 | 48 | ->innerJoinWith([ |
49 | - 'taxonomy' => function ($query) { |
|
49 | + 'taxonomy' => function($query) { |
|
50 | 50 | /* @var $query \yii\db\ActiveQuery */ |
51 | 51 | $query->from(['taxonomy' => Taxonomy::tableName()]); |
52 | 52 | }, |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | <footer class="footer-meta"> |
102 | 102 | <?php $tags = $post->getTerms() |
103 | 103 | ->innerJoinWith([ |
104 | - 'taxonomy' => function ($query) { |
|
104 | + 'taxonomy' => function($query) { |
|
105 | 105 | /** @var $query \yii\db\ActiveQuery */ |
106 | 106 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
107 | 107 | }, |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | <?php if ($tags): ?> |
113 | 113 | <h3> |
114 | 114 | <?php foreach ($tags as $tag): ?> |
115 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
115 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
116 | 116 | <?php endforeach ?> |
117 | 117 | </h3> |
118 | 118 | <?php endif ?> |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /* @var $tags common\models\Term[] */ |
19 | 19 | /* @var $pages yii\data\Pagination */ |
20 | 20 | |
21 | -$this->title = Html::encode($postType->plural_name . ' - ' . Option::get('sitetitle')); |
|
21 | +$this->title = Html::encode($postType->plural_name.' - '.Option::get('sitetitle')); |
|
22 | 22 | $this->params['breadcrumbs'][] = Html::encode($postType->plural_name); |
23 | 23 | |
24 | 24 | ?> |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | <footer class="footer-meta"> |
82 | 82 | <?php $tags = $post->getTerms() |
83 | 83 | ->innerJoinWith([ |
84 | - 'taxonomy' => function ($query) { |
|
84 | + 'taxonomy' => function($query) { |
|
85 | 85 | /** @var $query \yii\db\ActiveQuery */ |
86 | 86 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
87 | 87 | }, |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | <?php if ($tags): ?> |
93 | 93 | <h3> |
94 | 94 | <?php foreach ($tags as $tag): ?> |
95 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
95 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
96 | 96 | <?php endforeach ?> |
97 | 97 | </h3> |
98 | 98 | <?php endif ?> |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /* @var $image common\models\Media */ |
19 | 19 | /* @var $pages yii\data\Pagination */ |
20 | 20 | |
21 | -$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]) . ' - ' . Option::get('sitetitle')); |
|
21 | +$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]).' - '.Option::get('sitetitle')); |
|
22 | 22 | $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s])); |
23 | 23 | $this->registerMetaTag([ |
24 | 24 | 'name' => 'robots', |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | <footer class="footer-meta"> |
84 | 84 | <?php $tags = $post->getTerms() |
85 | 85 | ->innerJoinWith([ |
86 | - 'taxonomy' => function ($query) { |
|
86 | + 'taxonomy' => function($query) { |
|
87 | 87 | /** @var $query \yii\db\ActiveQuery */ |
88 | 88 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
89 | 89 | }, |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | <?php if ($tags): ?> |
95 | 95 | <h3> |
96 | 96 | <?php foreach ($tags as $tag): ?> |
97 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
97 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
98 | 98 | <?php endforeach ?> |
99 | 99 | </h3> |
100 | 100 | <?php endif ?> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | /* @var $image common\models\Media */ |
18 | 18 | /* @var $pages yii\data\Pagination */ |
19 | 19 | |
20 | -$this->title = Html::encode(Option::get('sitetitle') . ' - ' . Option::get('tagline')); |
|
20 | +$this->title = Html::encode(Option::get('sitetitle').' - '.Option::get('tagline')); |
|
21 | 21 | $this->params['breadcrumbs'][] = Html::encode(Option::get('sitetitle')); |
22 | 22 | ?> |
23 | 23 | <div class="archive site-index"> |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | <footer class="footer-meta"> |
73 | 73 | <?php $tags = $post->getTerms() |
74 | 74 | ->innerJoinWith([ |
75 | - 'taxonomy' => function ($query) { |
|
75 | + 'taxonomy' => function($query) { |
|
76 | 76 | /** @var $query \yii\db\ActiveQuery */ |
77 | 77 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
78 | 78 | }, |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | <?php if ($tags): ?> |
84 | 84 | <h3> |
85 | 85 | <?php foreach ($tags as $tag): ?> |
86 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
86 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
87 | 87 | <?php endforeach ?> |
88 | 88 | </h3> |
89 | 89 | <?php endif ?> |
@@ -16,7 +16,7 @@ |
||
16 | 16 | /* @var $message string */ |
17 | 17 | /* @var $exception Exception */ |
18 | 18 | |
19 | -$this->title = $name . ' - ' . Option::get('sitetitle'); |
|
19 | +$this->title = $name.' - '.Option::get('sitetitle'); |
|
20 | 20 | $this->params['breadcrumbs'][] = $name; |
21 | 21 | $this->registerMetaTag([ |
22 | 22 | 'name' => 'robots', |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | public function renderBox() |
40 | 40 | { |
41 | - echo Yii::$app->view->renderFile(__DIR__ . '/views/_form.php', [ |
|
41 | + echo Yii::$app->view->renderFile(__DIR__.'/views/_form.php', [ |
|
42 | 42 | 'model' => $this->model, |
43 | 43 | 'form' => $this->form |
44 | 44 | ]); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | // Favicon |
22 | 22 | $this->registerLinkTag([ |
23 | 23 | 'rel' => 'icon', |
24 | - 'href' => $assetBundle->baseUrl . '/img/favicon.ico', |
|
24 | + 'href' => $assetBundle->baseUrl.'/img/favicon.ico', |
|
25 | 25 | 'type' => 'image/x-icon', |
26 | 26 | ]); |
27 | 27 |
@@ -54,7 +54,7 @@ |
||
54 | 54 | <?= Html::beginTag($brandTag, ['class' => 'navbar-brand']) ?> |
55 | 55 | |
56 | 56 | <a href="<?= Url::base(true) ?>"> |
57 | - <img src="<?= $assetBundle->baseUrl . '/img/logo.png' ?>" alt="Website Logo"> |
|
57 | + <img src="<?= $assetBundle->baseUrl.'/img/logo.png' ?>" alt="Website Logo"> |
|
58 | 58 | <span><?= Html::encode($siteTitle) ?></span> |
59 | 59 | </a> |
60 | 60 | <?= Html::endTag($brandTag) ?> |
@@ -18,13 +18,13 @@ discard block |
||
18 | 18 | /* @var $image common\models\Media */ |
19 | 19 | /* @var $pages yii\data\Pagination */ |
20 | 20 | |
21 | -$this->title = Html::encode($term->taxonomy->singular_name . ': ' . $term->name . ' - ' . Option::get('sitetitle')); |
|
21 | +$this->title = Html::encode($term->taxonomy->singular_name.': '.$term->name.' - '.Option::get('sitetitle')); |
|
22 | 22 | $this->params['breadcrumbs'][] = Html::encode($term->name); |
23 | 23 | ?> |
24 | 24 | |
25 | 25 | <div class="archive term-view"> |
26 | 26 | <header id="archive-header" class="archive-header"> |
27 | - <h1><?= Html::encode($term->taxonomy->singular_name . ': ' . $term->name) ?></h1> |
|
27 | + <h1><?= Html::encode($term->taxonomy->singular_name.': '.$term->name) ?></h1> |
|
28 | 28 | |
29 | 29 | <?php if ($term->description): ?> |
30 | 30 | <div class="description term-description"><?= $term->description ?></div> |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | <footer class="footer-meta"> |
83 | 83 | <?php $tags = $post->getTerms() |
84 | 84 | ->innerJoinWith([ |
85 | - 'taxonomy' => function ($query) { |
|
85 | + 'taxonomy' => function($query) { |
|
86 | 86 | /** @var $query \yii\db\ActiveQuery */ |
87 | 87 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
88 | 88 | }, |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | <?php if ($tags): ?> |
94 | 94 | <h3> |
95 | 95 | <?php foreach ($tags as $tag): ?> |
96 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
96 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
97 | 97 | <?php endforeach ?> |
98 | 98 | </h3> |
99 | 99 | <?php endif ?> |