@@ -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 ?> |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /* @var $metadata [] */ |
16 | 16 | /* @var $comment common\models\MediaComment */ |
17 | 17 | |
18 | -$this->title = Html::encode($media->title . ' - ' . Option::get('sitetitle')); |
|
18 | +$this->title = Html::encode($media->title.' - '.Option::get('sitetitle')); |
|
19 | 19 | |
20 | 20 | if ($media->mediaPost) { |
21 | 21 | $this->params['breadcrumbs'][] = [ |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | <div class="media-caption"> |
62 | 62 | <?= Html::a( |
63 | 63 | $media->getThumbnail('full'), |
64 | - $media->uploadUrl . $metadata['versions']['full']['url'] |
|
64 | + $media->uploadUrl.$metadata['versions']['full']['url'] |
|
65 | 65 | ) ?> |
66 | 66 | |
67 | 67 | <div class="media-caption-text"> |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /* @var $pages yii\data\Pagination */ |
20 | 20 | |
21 | 21 | $this->title = Html::encode(Yii::t('writesdown', 'All Posts By {user}', ['user' => $user->display_name]) |
22 | - . ' - ' . Option::get('sitetitle')); |
|
22 | + . ' - '.Option::get('sitetitle')); |
|
23 | 23 | $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'All Posts by {user}', |
24 | 24 | ['user' => $user->display_name])); |
25 | 25 | ?> |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | <footer class="footer-meta"> |
81 | 81 | <?php $tags = $post->getTerms() |
82 | 82 | ->innerJoinWith([ |
83 | - 'taxonomy' => function ($query) { |
|
83 | + 'taxonomy' => function($query) { |
|
84 | 84 | /** @var $query \yii\db\ActiveQuery */ |
85 | 85 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
86 | 86 | }, |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | <?php if ($tags): ?> |
92 | 92 | <h3> |
93 | 93 | <?php foreach ($tags as $tag): ?> |
94 | - <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?> |
|
94 | + <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?> |
|
95 | 95 | <?php endforeach ?> |
96 | 96 | </h3> |
97 | 97 | <?php endif ?> |