removes more unwanted blocks
This commit is contained in:
parent
0d865d84f2
commit
27be85cf29
|
@ -41,6 +41,8 @@ $form->prepare();
|
|||
<h3><?php echo $translate('Add new block'); ?></h3>
|
||||
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
||||
<?php if ($layout == "html") { continue; } ?>
|
||||
<?php if ($layout == "tableOfContents") { continue; } ?>
|
||||
<?php if ($layout == "searchingForm") { continue; } ?>
|
||||
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
||||
<?php echo $escape($translate($this->blockLayout()->getLayoutLabel($layout))); ?>
|
||||
</button>
|
||||
|
|
|
@ -25,7 +25,7 @@ if ($img_src) {
|
|||
</style>
|
||||
<?php } ?>
|
||||
|
||||
<?= $page->id(); ?>
|
||||
<?php /* echo $page->id(); */ ?>
|
||||
|
||||
<?php
|
||||
$nav = $site->publicNav();
|
||||
|
|
Loading…
Reference in New Issue