comments HTML block exclusion

This commit is contained in:
buttle 2021-10-13 12:04:53 +02:00
parent ac591b0476
commit 931e674e11
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ $form->prepare();
<div id="new-block" class="active sidebar" data-url="<?php echo $this->url('admin/site/slug/page/default', ['action' => 'block'], true); ?>">
<h3><?php echo $translate('Add new block'); ?></h3>
<?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">