| @@ -105,10 +105,10 @@ discard block | ||
| 105 | 105 | <ul class="nav nav-sm navbar-tool pull-right"> | 
| 106 | 106 | <?php echo \humhub\widgets\TopMenuRightStack::widget(); ?> | 
| 107 | 107 | <?php | 
| 108 | - echo \humhub\widgets\NotificationArea::widget(['widgets' => [ | |
| 109 | - [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], | |
| 110 | - ]]); | |
| 111 | - ?> | |
| 108 | + echo \humhub\widgets\NotificationArea::widget(['widgets' => [ | |
| 109 | + [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], | |
| 110 | + ]]); | |
| 111 | + ?> | |
| 112 | 112 | |
| 113 | 113 | <?php echo \humhub\modules\space\widgets\Chooser::widget(); ?> | 
| 114 | 114 | </ul> | 
| @@ -144,10 +144,10 @@ discard block | ||
| 144 | 144 | <ul class="nav nav-sm navbar-tool pull-right"> | 
| 145 | 145 | <?php echo \humhub\widgets\TopMenuRightStack::widget(); ?> | 
| 146 | 146 | <?php | 
| 147 | - echo \humhub\widgets\NotificationArea::widget(['widgets' => [ | |
| 148 | - [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], | |
| 149 | - ]]); | |
| 150 | - ?> | |
| 147 | + echo \humhub\widgets\NotificationArea::widget(['widgets' => [ | |
| 148 | + [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], | |
| 149 | + ]]); | |
| 150 | + ?> | |
| 151 | 151 | |
| 152 | 152 | <?php echo \humhub\modules\space\widgets\Chooser::widget(); ?> | 
| 153 | 153 | </ul> | 
| @@ -119,8 +119,11 @@ discard block | ||
| 119 | 119 | <!-- start: show content (and check, if exists a sublayout --> | 
| 120 | 120 | <?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?> | 
| 121 | 121 |  			<?php echo $this->render($this->context->subLayout, array('content' => $content)); ?> | 
| 122 | - <?php else: ?> | |
| 123 | - <?php echo $content; ?> | |
| 122 | +		<?php else { | |
| 123 | + : ?> | |
| 124 | + <?php echo $content; | |
| 125 | +} | |
| 126 | +?> | |
| 124 | 127 | <?php endif; ?> | 
| 125 | 128 | <!-- end: show content --> | 
| 126 | 129 | |
| @@ -158,8 +161,11 @@ discard block | ||
| 158 | 161 | <!-- start: show content (and check, if exists a sublayout --> | 
| 159 | 162 | <?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?> | 
| 160 | 163 |  			<?php echo $this->render($this->context->subLayout, array('content' => $content)); ?> | 
| 161 | - <?php else: ?> | |
| 162 | - <?php echo $content; ?> | |
| 164 | +		<?php else { | |
| 165 | + : ?> | |
| 166 | + <?php echo $content; | |
| 167 | +} | |
| 168 | +?> | |
| 163 | 169 | <?php endif; ?> | 
| 164 | 170 | <!-- end: show content --> | 
| 165 | 171 | |