@@ -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) ?> |
@@ -19,13 +19,13 @@ discard block |
||
19 | 19 | <?php if (!Yii::$app->user->isGuest): ?> |
20 | 20 | <p> |
21 | 21 | <?= Yii::t('writesdown', 'Login as {username}, {logout}{cancelReply}', [ |
22 | - 'username' => '<strong>' . Yii::$app->user->identity->username . '</strong>', |
|
22 | + 'username' => '<strong>'.Yii::$app->user->identity->username.'</strong>', |
|
23 | 23 | 'logout' => Html::a(Yii::t( |
24 | 24 | 'writesdown', '<strong>Sign Out</strong>'), |
25 | 25 | ['/site/logout'], |
26 | 26 | ['data-method' => 'post'] |
27 | 27 | ), |
28 | - 'cancelReply' => Html::a('<strong>' . Yii::t('writesdown', ', Cancel Reply') . '</strong>', '#', [ |
|
28 | + 'cancelReply' => Html::a('<strong>'.Yii::t('writesdown', ', Cancel Reply').'</strong>', '#', [ |
|
29 | 29 | 'id' => 'cancel-reply', |
30 | 30 | 'class' => 'cancel-reply', |
31 | 31 | 'style' => 'display:none;', |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | </p> |
35 | 35 | <?php else: ?> |
36 | 36 | <p> |
37 | - <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [ |
|
37 | + <?= Html::a('<strong>'.Yii::t('writesdown', 'Cancel Reply').'</strong>', '#', [ |
|
38 | 38 | 'id' => 'cancel-reply', |
39 | 39 | 'class' => 'cancel-reply', |
40 | 40 | 'style' => 'display:none;', |
@@ -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 ?> |
@@ -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 ?> |
@@ -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 ?> |
@@ -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'][] = [ |
@@ -50,10 +50,10 @@ |
||
50 | 50 | </span> |
51 | 51 | <span class="comments-link"> |
52 | 52 | <a title="<?= Yii::t( |
53 | - 'writesdown', |
|
54 | - 'Comment on {mediaTitle}', |
|
55 | - ['mediaTitle' => $media->title] |
|
56 | - ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a> |
|
53 | + 'writesdown', |
|
54 | + 'Comment on {mediaTitle}', |
|
55 | + ['mediaTitle' => $media->title] |
|
56 | + ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a> |
|
57 | 57 | </span> |
58 | 58 | </div> |
59 | 59 | </header> |
@@ -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"> |
@@ -50,9 +50,9 @@ |
||
50 | 50 | </span> |
51 | 51 | <span class="comments-link"> |
52 | 52 | <a title="<?= Yii::t( |
53 | - 'writesdown', 'Comment on {mediaTitle}', |
|
54 | - ['mediaTitle' => $media->title] |
|
55 | - ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a> |
|
53 | + 'writesdown', 'Comment on {mediaTitle}', |
|
54 | + ['mediaTitle' => $media->title] |
|
55 | + ) ?>" href="<?= $media->url ?>#respond"><?= Yii::t('writesdown', 'Leave a comment') ?></a> |
|
56 | 56 | </span> |
57 | 57 | </div> |
58 | 58 | </header> |
@@ -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'][] = [ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | <div class="entry-content"> |
60 | 60 | <?= $media->content ?> |
61 | 61 | |
62 | - <?= Html::a($media->title, $media->uploadUrl . $metadata['versions']['full']['url']) ?> |
|
62 | + <?= Html::a($media->title, $media->uploadUrl.$metadata['versions']['full']['url']) ?> |
|
63 | 63 | |
64 | 64 | <?= $media->mediaPost |
65 | 65 | ? Html::tag('h3', Html::a(Yii::t('writesdown', 'Back to ') |
@@ -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 ?> |