Completed
Push — master ( fb7a26...d5e2d7 )
by Agiel Kurniawan
04:29
created
themes/writesdown/post/view.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
themes/writesdown/post/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
themes/writesdown/site/search.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
themes/writesdown/site/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.
themes/writesdown/site/error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
themes/writesdown/classes/meta/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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
         ]);
Please login to merge, or discard this patch.
themes/writesdown/layouts/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
themes/writesdown/layouts/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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) ?>
Please login to merge, or discard this patch.
themes/writesdown/term/view-tag.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ?>
Please login to merge, or discard this patch.