@@ -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 | |