@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | /* @var $tags common\models\Term[] */ |
18 | 18 | /* @var $pages yii\data\Pagination */ |
19 | 19 | |
20 | -$this->title = Html::encode($postType->plural_name . ' - ' . Option::get('sitetitle')); |
|
20 | +$this->title = Html::encode($postType->plural_name.' - '.Option::get('sitetitle')); |
|
21 | 21 | $this->params['breadcrumbs'][] = Html::encode($postType->plural_name); |
22 | 22 | ?> |
23 | 23 | <div class="archive post-index"> |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | <footer class="footer-meta"> |
70 | 70 | <?php $tags = $post->getTerms() |
71 | 71 | ->innerJoinWith([ |
72 | - 'taxonomy' => function ($query) { |
|
72 | + 'taxonomy' => function($query) { |
|
73 | 73 | /** @var $query \yii\db\ActiveQuery */ |
74 | 74 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
75 | 75 | }, |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | <?php if ($tags): ?> |
81 | 81 | <h3> |
82 | 82 | <?php foreach ($tags as $tag): ?> |
83 | - <?= Html::a($tag->name, $tag->url, ['class' => 'btn btn-xs btn-success']) . "\n" ?> |
|
83 | + <?= Html::a($tag->name, $tag->url, ['class' => 'btn btn-xs btn-success'])."\n" ?> |
|
84 | 84 | <?php endforeach ?> |
85 | 85 | </h3> |
86 | 86 | <?php endif; ?> |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /* @var $form yii\bootstrap\ActiveForm */ |
16 | 16 | /* @var $model \frontend\models\ContactForm */ |
17 | 17 | |
18 | -$this->title = Yii::t('writesdown', 'Contact') . ' - ' . Option::get('sitetitle'); |
|
18 | +$this->title = Yii::t('writesdown', 'Contact').' - '.Option::get('sitetitle'); |
|
19 | 19 | $this->params['breadcrumbs'][] = Yii::t('writesdown', 'Contact'); |
20 | 20 | ?> |
21 | 21 | <div class="single site-contact"> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | /* @var $tags common\models\Term[] */ |
18 | 18 | /* @var $pages yii\data\Pagination */ |
19 | 19 | |
20 | -$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]) . ' - ' . Option::get('sitetitle')); |
|
20 | +$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]).' - '.Option::get('sitetitle')); |
|
21 | 21 | $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s])); |
22 | 22 | $this->registerMetaTag([ |
23 | 23 | 'name' => 'robots', |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | <footer class="footer-meta"> |
72 | 72 | <?php $tags = $post->getTerms() |
73 | 73 | ->innerJoinWith([ |
74 | - 'taxonomy' => function ($query) { |
|
74 | + 'taxonomy' => function($query) { |
|
75 | 75 | /** @var $query \yii\db\ActiveQuery */ |
76 | 76 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
77 | 77 | }, |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | <?php foreach ($tags as $tag): ?> |
85 | 85 | <?= Html::a($tag->name, $tag->url, [ |
86 | 86 | 'class' => 'btn btn-xs btn-success', |
87 | - ]) . "\n" ?> |
|
87 | + ])."\n" ?> |
|
88 | 88 | <?php endforeach ?> |
89 | 89 | </h3> |
90 | 90 | <?php endif; ?> |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /* @var $tags common\models\Term[] */ |
17 | 17 | /* @var $pages yii\data\Pagination */ |
18 | 18 | |
19 | -$this->title = Html::encode(Option::get('sitetitle') . ' - ' . Option::get('tagline')); |
|
19 | +$this->title = Html::encode(Option::get('sitetitle').' - '.Option::get('tagline')); |
|
20 | 20 | $this->params['breadcrumbs'][] = Html::encode(Option::get('sitetitle')); |
21 | 21 | ?> |
22 | 22 | <div class="archive site-index"> |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | <footer class="footer-meta"> |
65 | 65 | <?php $tags = $post->getTerms() |
66 | 66 | ->innerJoinWith([ |
67 | - 'taxonomy' => function ($query) { |
|
67 | + 'taxonomy' => function($query) { |
|
68 | 68 | /** @var $query \yii\db\ActiveQuery */ |
69 | 69 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
70 | 70 | }, |
@@ -21,13 +21,13 @@ discard block |
||
21 | 21 | <?php if (!Yii::$app->user->isGuest): ?> |
22 | 22 | <p> |
23 | 23 | <?= Yii::t('writesdown', 'Login as {username}, {logout}{cancelReply}', [ |
24 | - 'username' => '<strong>' . Yii::$app->user->identity->username . '</strong>', |
|
24 | + 'username' => '<strong>'.Yii::$app->user->identity->username.'</strong>', |
|
25 | 25 | 'logout' => Html::a( |
26 | 26 | Yii::t('writesdown', '<strong>Sign Out</strong>'), |
27 | 27 | ['/site/logout'], |
28 | 28 | ['data-method' => 'post'] |
29 | 29 | ), |
30 | - 'cancelReply' => Html::a('<strong>' . Yii::t('writesdown', ', Cancel Reply') . '</strong>', '#', [ |
|
30 | + 'cancelReply' => Html::a('<strong>'.Yii::t('writesdown', ', Cancel Reply').'</strong>', '#', [ |
|
31 | 31 | 'id' => 'cancel-reply', |
32 | 32 | 'class' => 'cancel-reply', |
33 | 33 | 'style' => 'display:none;', |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | </p> |
38 | 38 | <?php else: ?> |
39 | 39 | <p> |
40 | - <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [ |
|
40 | + <?= Html::a('<strong>'.Yii::t('writesdown', 'Cancel Reply').'</strong>', '#', [ |
|
41 | 41 | 'id' => 'cancel-reply', |
42 | 42 | 'class' => 'cancel-reply', |
43 | 43 | 'style' => 'display:none;', |
@@ -17,12 +17,12 @@ discard block |
||
17 | 17 | /* @var $tags common\models\Term[] */ |
18 | 18 | /* @var $pages yii\data\Pagination */ |
19 | 19 | |
20 | -$this->title = Html::encode($term->taxonomy->singular_name . ': ' . $term->name . ' - ' . Option::get('sitetitle')); |
|
20 | +$this->title = Html::encode($term->taxonomy->singular_name.': '.$term->name.' - '.Option::get('sitetitle')); |
|
21 | 21 | $this->params['breadcrumbs'][] = Html::encode($term->name); |
22 | 22 | ?> |
23 | 23 | <div class="archive term-view"> |
24 | 24 | <header id="archive-header" class="archive-header page-header"> |
25 | - <h1><?= Html::encode($term->taxonomy->singular_name . ': ' . $term->name) ?></h1> |
|
25 | + <h1><?= Html::encode($term->taxonomy->singular_name.': '.$term->name) ?></h1> |
|
26 | 26 | |
27 | 27 | <?php if ($term->description): ?> |
28 | 28 | <div class="description term-description"><?= $term->description ?></div> |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | <footer class="footer-meta"> |
69 | 69 | <?php $tags = $post->getTerms() |
70 | 70 | ->innerJoinWith([ |
71 | - 'taxonomy' => function ($query) { |
|
71 | + 'taxonomy' => function($query) { |
|
72 | 72 | /** @var $query \yii\db\ActiveQuery */ |
73 | 73 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
74 | 74 | }, |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | <?php foreach ($tags as $tag): ?> |
82 | 82 | <?= Html::a($tag->name, $tag->url, [ |
83 | 83 | 'class' => 'btn btn-xs btn-success', |
84 | - ]) . "\n" ?> |
|
84 | + ])."\n" ?> |
|
85 | 85 | <?php endforeach ?> |
86 | 86 | </h3> |
87 | 87 | <?php endif; ?> |
@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | /* @var $media common\models\Media */ |
14 | 14 | |
15 | -$this->title = Html::encode($media->title . ' - ' . Option::get('sitetitle')); |
|
15 | +$this->title = Html::encode($media->title.' - '.Option::get('sitetitle')); |
|
16 | 16 | |
17 | 17 | if ($media->mediaPost) { |
18 | 18 | $this->params['breadcrumbs'][] = [ |
@@ -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'][] = [ |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | <div class="entry-content"> |
64 | 64 | <?= $media->content ?> |
65 | 65 | |
66 | - <?= Html::a($media->title, $media->uploadUrl . $metadata['versions']['full']['url']) ?> |
|
66 | + <?= Html::a($media->title, $media->uploadUrl.$metadata['versions']['full']['url']) ?> |
|
67 | 67 | |
68 | 68 | <?= $media->mediaPost |
69 | 69 | ? Html::tag('h3', Html::a('<span aria-hidden="true" class="glyphicon glyphicon-menu-left"></span>' |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /* @var $pages yii\data\Pagination */ |
19 | 19 | |
20 | 20 | $this->title = Html::encode(Yii::t('writesdown', 'All Posts By {user}', |
21 | - ['user' => $user->display_name]) . ' - ' . Option::get('sitetitle')); |
|
21 | + ['user' => $user->display_name]).' - '.Option::get('sitetitle')); |
|
22 | 22 | $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'All Posts by {user}', |
23 | 23 | ['user' => $user->display_name])); |
24 | 24 | ?> |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | <footer class="footer-meta"> |
69 | 69 | <?php $tags = $post->getTerms() |
70 | 70 | ->innerJoinWith([ |
71 | - 'taxonomy' => function ($query) { |
|
71 | + 'taxonomy' => function($query) { |
|
72 | 72 | /** @var $query \yii\db\ActiveQuery */ |
73 | 73 | return $query->from(['taxonomy' => Taxonomy::tableName()]); |
74 | 74 | }, |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | <?php foreach ($tags as $tag): ?> |
82 | 82 | <?= Html::a($tag->name, $tag->url, [ |
83 | 83 | 'class' => 'btn btn-xs btn-success', |
84 | - ]) . "\n" ?> |
|
84 | + ])."\n" ?> |
|
85 | 85 | <?php endforeach ?> |
86 | 86 | </h3> |
87 | 87 | <?php endif; ?> |