@@ -83,10 +83,10 @@ |
||
| 83 | 83 | <ul class="nav nav-sm navbar-tool pull-right"> |
| 84 | 84 | <?php echo \humhub\widgets\TopMenuRightStack::widget(); ?> |
| 85 | 85 | <?php |
| 86 | - echo \humhub\widgets\NotificationArea::widget(['widgets' => [ |
|
| 87 | - [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], |
|
| 88 | - ]]); |
|
| 89 | - ?> |
|
| 86 | + echo \humhub\widgets\NotificationArea::widget(['widgets' => [ |
|
| 87 | + [\humhub\modules\notification\widgets\Overview::className(), [], ['sortOrder' => 10]], |
|
| 88 | + ]]); |
|
| 89 | + ?> |
|
| 90 | 90 | |
| 91 | 91 | <?php echo \humhub\modules\space\widgets\Chooser::widget(); ?> |
| 92 | 92 | </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 | |