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>
|
<h3><?php echo $translate('Add new block'); ?></h3>
|
||||||
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
||||||
<?php if ($layout == "html") { continue; } ?>
|
<?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">
|
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
||||||
<?php echo $escape($translate($this->blockLayout()->getLayoutLabel($layout))); ?>
|
<?php echo $escape($translate($this->blockLayout()->getLayoutLabel($layout))); ?>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -25,7 +25,7 @@ if ($img_src) {
|
||||||
</style>
|
</style>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?= $page->id(); ?>
|
<?php /* echo $page->id(); */ ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$nav = $site->publicNav();
|
$nav = $site->publicNav();
|
||||||
|
|
Loading…
Reference in New Issue