Completed
Pull Request — dev (#76)
by Sarah
07:34
created
views/user/profile/_layout.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,12 @@
 block discarded – undo
18 18
             <div class="col-md-10 layout-content-container">
19 19
                 <?= $content; ?>
20 20
             </div>
21
-        <?php else: ?>
21
+        <?php else {
22
+    : ?>
22 23
             <div class="col-md-7 layout-content-container">
23
-                <?= $content; ?>
24
+                <?= $content;
25
+}
26
+?>
24 27
             </div>
25 28
             <div class="col-md-3 layout-sidebar-container">
26 29
                 <?php
Please login to merge, or discard this patch.
views/mail/layouts/html.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
         <title><?php echo Html::encode(Yii::$app->name); ?></title>
16 16
         <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700' rel='stylesheet' type='text/css'>
17 17
             <style type="text/css">
18
-                <?php $defaultBackground =  Yii::$app->view->theme->variable('background-color-main', '#fff') ?>
19
-                <?php $colorPrimary =  Yii::$app->view->theme->variable('primary', '#708fa0') ?>
18
+                <?php $defaultBackground = Yii::$app->view->theme->variable('background-color-main', '#fff') ?>
19
+                <?php $colorPrimary = Yii::$app->view->theme->variable('primary', '#708fa0') ?>
20 20
                 
21 21
                 .ReadMsgBody {
22 22
                     width: 100%;
Please login to merge, or discard this patch.
views/layouts/main.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                     <a data-toggle="modal" data-target="#aside" class="navbar-item pull-left visible-xs visible-sm waves"><i class="material-icons">menu</i></a>
86 86
                     <ul class="nav nav-sm navbar-tool pull-right">
87 87
                         <?= \humhub\widgets\TopMenuRightStack::widget(); ?>
88
-                            <?= \humhub\widgets\NotificationArea::widget([ 'widgets'=> [ [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], ]]); ?>
88
+                            <?= \humhub\widgets\NotificationArea::widget(['widgets'=> [[\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], ]]); ?>
89 89
 
90 90
                             <?=\ humhub\modules\space\widgets\Chooser::widget(); ?>
91 91
                     </ul>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,11 @@
 block discarded – undo
98 98
                             <!-- start: show content (and check, if exists a sublayout -->
99 99
                             <?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?>
100 100
                             <?= $this->render($this->context->subLayout, array('content' => $content)); ?>
101
-                                <?php else: ?>
102
-                                <?=$ content; ?>
101
+                                <?php else {
102
+    : ?>
103
+                                <?=$ content;
104
+}
105
+?>
103 106
                                     <?php endif; ?>
104 107
                                     <!-- end: show content -->
105 108
 
Please login to merge, or discard this patch.