19 <div data-
mage-init=
'{"floatingHeader": {}}' class=
"page-actions"><?=
$block->getSaveButtonHtml() ?></div>
20 <
form action=
"<?= /* @escapeNotVerified */ $block->getSaveUrl() ?>" method=
"post" id=
"config-edit-form" enctype=
"multipart/form-data">
21 <?=
$block->getBlockHtml(
'formkey') ?>
24 window.setCacheAction =
function(id, button) {
25 document.getElementById(
id).value = button.id;
31 <input type=
"hidden" id=
"catalog_action" name=
"catalog_action" value=
"" />
32 <input type=
"hidden" id=
"jscss_action" name=
"jscss_action" value=
"" />
34 <?=
$block->getChildHtml(
'form') ?>
35 <div
class=
"entry-edit">
36 <div
class=
"entry-edit-head">
37 <h4
class=
"icon-head head-edit-form fieldset-legend"><?=
__(
'Catalog') ?></h4>
39 <fieldset
id=
"catalog">
40 <table
class=
"form-list">
44 <?php
if (
$_item[
'buttons'][0][
'name'] !=
'clear_images_cache') {
48 <td
class=
"label"><label><?=
$_item[
'label'] ?></label></td>
50 <?php
foreach (
$_item[
'buttons'] as $_button): ?>
51 <?php $clickAction =
"setCacheAction('catalog_action',this)"; ?>
52 <?php
if (isset($_button[
'warning']) && $_button[
'warning']): ?>
53 <?php $clickAction =
"if (confirm('" . addslashes($_button[
'warning']) .
"')) {{$clickAction}}"; ?>
55 <button <?php
if (!isset($_button[
'disabled']) || !$_button[
'disabled']):?>onclick=
"<?= /* @escapeNotVerified */ $clickAction ?>"<?php
endif; ?>
id=
"<?= /* @escapeNotVerified */ $_button['name'] ?>" type=
"button" class=
"scalable <?php if (isset($_button['disabled']) && $_button['disabled']):?>disabled<?php endif; ?>" style=
""><span><span><span><?= $_button[
'action'] ?></span></span></span></button>
56 <?php
if (isset($_button[
'comment'])): ?> <br /> <small><?= $_button[
'comment'] ?></small> <?php
endif; ?>
59 <td><small>&
nbsp;</small></td>
67 <div
class=
"entry-edit">
68 <div
class=
"entry-edit-head">
69 <h4
class=
"icon-head head-edit-form fieldset-legend"><?=
__(
'JavaScript/CSS') ?></h4>
73 <table
class=
"form-list">
76 <td
class=
"label"><label><?=
__(
'JavaScript/CSS Cache') ?></label></td>
78 <button onclick=
"setCacheAction('jscss_action', this)" id=
'jscss_action' type=
"button" class=
"scalable"><span><span><span><?=
__(
'Clear') ?></span></span></span></button>
87 require([
"jquery",
"mage/mage"],
function($){
88 $(
'#config-edit-form').
mage(
'form').mage(
'validation');
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if(!isset($_button['disabled'])||! $_button['disabled']) if(isset($_button['disabled']) && $_button['disabled']) if(isset($_button['comment'])) endforeach
if( $form)() ?>< script > require(['jquery' mage mage
jquery extjs ext tree mage adminhtml form
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp