Passed
Pull Request — master (#14)
by Sarah
02:08
created
views/layouts/main.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
             <div class="notifications pull-right">
69 69
                 <?=
70
-	\humhub\widgets\NotificationArea::widget(['widgets' => [
70
+    \humhub\widgets\NotificationArea::widget(['widgets' => [
71 71
                     [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]],
72 72
                 ]]);
73 73
                 ?>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
     <body>
43 43
 	
44
-	<script src="<?= $this->theme->getBaseUrl() . '/js/lightbox-plus-jquery.min.js'; ?>"></script>
44
+	<script src="<?= $this->theme->getBaseUrl().'/js/lightbox-plus-jquery.min.js'; ?>"></script>
45 45
 	
46 46
     <?php $this->beginBody() ?>
47 47
 	
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,11 @@
 block discarded – undo
97 97
     <!-- start: show content (and check, if exists a sublayout -->
98 98
     <?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?>
99 99
         <?= $this->render($this->context->subLayout, array('content' => $content)); ?>
100
-    <?php else: ?>
101
-        <?= $content; ?>
100
+    <?php else {
101
+    : ?>
102
+        <?= $content;
103
+}
104
+?>
102 105
     <?php endif; ?>
103 106
     <!-- end: show content -->
104 107
 
Please login to merge, or discard this patch.
views/widgets/topNavigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
         echo $item['id'];
9 9
     }
10 10
     ?>">
11
-            <?= Html::a($item['icon'] . "<br />" . $item['label'], $item['url'], $item['htmlOptions']); ?>
11
+            <?= Html::a($item['icon']."<br />".$item['label'], $item['url'], $item['htmlOptions']); ?>
12 12
     </li>
13 13
 <?php endforeach; ?>
14 14
 
Please login to merge, or discard this patch.
views/widgets/logo.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,10 @@
 block discarded – undo
23 23
                  id="img-logo"/>
24 24
         </a>
25 25
         <br>
26
-    <?php else: ?>
27
-        <h1 id="app-title" class="animated fadeIn"><?= Html::encode(Yii::$app->name); ?></h1>
26
+    <?php else {
27
+    : ?>
28
+        <h1 id="app-title" class="animated fadeIn"><?= Html::encode(Yii::$app->name);
29
+}
30
+?></h1>
28 31
     <?php endif; ?>
29 32
 <?php endif; ?>
Please login to merge, or discard this patch.