|
79 | 79 |
|
80 | 80 | $hasClass = ''; |
81 | 81 |
|
82 | | -if ($this->countModules('sidebar-left')) |
| 82 | +if ($this->countModules('sidebar-left', true)) |
83 | 83 | { |
84 | 84 | $hasClass .= ' has-sidebar-left'; |
85 | 85 | } |
86 | 86 |
|
87 | | -if ($this->countModules('sidebar-right')) |
| 87 | +if ($this->countModules('sidebar-right', true)) |
88 | 88 | { |
89 | 89 | $hasClass .= ' has-sidebar-right'; |
90 | 90 | } |
|
125 | 125 | <?php endif; ?> |
126 | 126 | </div> |
127 | 127 | </div> |
128 | | - <?php if ($this->countModules('menu') || $this->countModules('search')) : ?> |
| 128 | + <?php if ($this->countModules('menu', true) || $this->countModules('search', true)) : ?> |
129 | 129 | <div class="grid-child container-nav"> |
130 | | - <?php if ($this->countModules('menu')) : ?> |
| 130 | + <?php if ($this->countModules('menu', true)) : ?> |
131 | 131 | <nav class="navbar navbar-expand-md"> |
132 | 132 | <?php HTMLHelper::_('bootstrap.collapse', '.navbar-toggler'); ?> |
133 | 133 | <button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="<?php echo Text::_('TPL_CASSIOPEIA_TOGGLE'); ?>"> |
|
138 | 138 | </div> |
139 | 139 | </nav> |
140 | 140 | <?php endif; ?> |
141 | | - <?php if ($this->countModules('search')) : ?> |
| 141 | + <?php if ($this->countModules('search', true)) : ?> |
142 | 142 | <div class="container-search"> |
143 | 143 | <jdoc:include type="modules" name="search" style="none" /> |
144 | 144 | </div> |
|
147 | 147 | <?php endif; ?> |
148 | 148 | </header> |
149 | 149 |
|
150 | | - <?php if ($this->countModules('banner')) : ?> |
| 150 | + <?php if ($this->countModules('banner', true)) : ?> |
151 | 151 | <div class="container-banner full-width"> |
152 | 152 | <jdoc:include type="modules" name="banner" style="none" /> |
153 | 153 | </div> |
154 | 154 | <?php endif; ?> |
155 | 155 |
|
156 | | - <?php if ($this->countModules('top-a')) : ?> |
| 156 | + <?php if ($this->countModules('top-a', true)) : ?> |
157 | 157 | <div class="grid-child container-top-a"> |
158 | 158 | <jdoc:include type="modules" name="top-a" style="card" /> |
159 | 159 | </div> |
160 | 160 | <?php endif; ?> |
161 | 161 |
|
162 | | - <?php if ($this->countModules('top-b')) : ?> |
| 162 | + <?php if ($this->countModules('top-b', true)) : ?> |
163 | 163 | <div class="grid-child container-top-b"> |
164 | 164 | <jdoc:include type="modules" name="top-b" style="card" /> |
165 | 165 | </div> |
166 | 166 | <?php endif; ?> |
167 | 167 |
|
168 | | - <?php if ($this->countModules('sidebar-left')) : ?> |
| 168 | + <?php if ($this->countModules('sidebar-left', true)) : ?> |
169 | 169 | <div class="grid-child container-sidebar-left"> |
170 | 170 | <jdoc:include type="modules" name="sidebar-left" style="card" /> |
171 | 171 | </div> |
|
181 | 181 | <jdoc:include type="modules" name="main-bottom" style="card" /> |
182 | 182 | </div> |
183 | 183 |
|
184 | | - <?php if ($this->countModules('sidebar-right')) : ?> |
| 184 | + <?php if ($this->countModules('sidebar-right', true)) : ?> |
185 | 185 | <div class="grid-child container-sidebar-right"> |
186 | 186 | <jdoc:include type="modules" name="sidebar-right" style="card" /> |
187 | 187 | </div> |
188 | 188 | <?php endif; ?> |
189 | 189 |
|
190 | | - <?php if ($this->countModules('bottom-a')) : ?> |
| 190 | + <?php if ($this->countModules('bottom-a', true)) : ?> |
191 | 191 | <div class="grid-child container-bottom-a"> |
192 | 192 | <jdoc:include type="modules" name="bottom-a" style="card" /> |
193 | 193 | </div> |
194 | 194 | <?php endif; ?> |
195 | 195 |
|
196 | | - <?php if ($this->countModules('bottom-b')) : ?> |
| 196 | + <?php if ($this->countModules('bottom-b', true)) : ?> |
197 | 197 | <div class="grid-child container-bottom-b"> |
198 | 198 | <jdoc:include type="modules" name="bottom-b" style="card" /> |
199 | 199 | </div> |
200 | 200 | <?php endif; ?> |
201 | 201 |
|
202 | | - <?php if ($this->countModules('footer')) : ?> |
| 202 | + <?php if ($this->countModules('footer', true)) : ?> |
203 | 203 | <footer class="container-footer footer full-width"> |
204 | 204 | <div class="grid-child"> |
205 | 205 | <jdoc:include type="modules" name="footer" style="none" /> |
|
0 commit comments