示例#1
0
        ?>
", '<?php 
        echo $type;
        ?>
');
	<?php 
    }
}
?>
</script>

<?php 
$hih = Core::make("help/block_type");
$message = $hih->getMessage($blockType->getBlockTypeHandle());
if (!$message && $blockTypeController->getBlockTypeHelp()) {
    $message = new \Concrete\Core\Application\Service\UserInterface\Help\Message();
    $message->setIdentifier($blockType->getBlockTypeHandle());
    $message->setMessageContent($blockTypeController->getBlockTypeHelp());
}
if (isset($message) && is_object($message) && !$blockType->supportsInlineAdd()) {
    ?>
	<div class="dialog-help" id="ccm-menu-help-content"><?php 
    print $message->getContent();
    ?>
</div>
<?php 
}
if ($blockType->supportsInlineAdd()) {
    $pt = $c->getCollectionThemeObject();
    if ($pt->supportsGridFramework() && $area->isGridContainerEnabled() && !$blockType->ignorePageThemeGridFrameworkContainer()) {
        $gf = $pt->getThemeGridFrameworkObject();
}
?>
	});
});
</script>

<?php 
$cont = $bt->getController();
if ($b->getBlockTypeHandle() == BLOCK_HANDLE_SCRAPBOOK_PROXY) {
    $bx = Block::getByID($b->getController()->getOriginalBlockID());
    $cont = $bx->getController();
}
$hih = Core::make("help/block_type");
$message = $hih->getMessage($bt->getBlockTypeHandle());
if (!$message && $cont->getBlockTypeHelp()) {
    $message = new \Concrete\Core\Application\Service\UserInterface\Help\Message();
    $message->setIdentifier($bt->getBlockTypeHandle());
    $message->setMessageContent($cont->getBlockTypeHelp());
}
if (isset($message) && is_object($message) && !$bt->supportsInlineEdit()) {
    ?>
	<div class="dialog-help" id="ccm-menu-help-content"><?php 
    echo $message->getContent();
    ?>
</div>
<?php 
}
?>

<div <?php 
if (!$bt->supportsInlineEdit()) {