11 <link rel=
"stylesheet" type=
"text/css" href=
"<?= $block->escapeUrl($block->getViewFileUrl('prototype/windows/themes/default.css')) ?>"/>
12 <link rel=
"stylesheet" type=
"text/css" href=
"<?= $block->escapeUrl($block->getViewFileUrl('Magento_Theme::prototype/magento.css')) ?>"/>
13 <link rel=
"stylesheet" type=
"text/css" href=
"<?= $block->escapeUrl($block->getViewFileUrl('mage/translate-inline.css')) ?>"/>
15 <script
id=
"translate-inline-icon" type=
"text/x-magento-template">
16 <img src=
"<%- data.img %>" height=
"16" width=
"16" class=
"translate-edit-icon">
18 <script
id=
"translate-form-template" type=
"text/x-magento-template">
19 <
form id=
"<%- data.id %>">
20 <% _.each(data.items,
function(item, i) { %>
21 <div class=
"translate-table-container">
22 <table cellspacing=
"0" class=
"table">
23 <% _.each(item, function(value, index) { %>
25 <th class=
"label" style=
"text-transform: capitalize;"><%- index %>:</th>
26 <td class=
"value"><%- value %></td>
31 <label
for=
"perstore_<%- i %>">Store View Specific:</label>
34 <input
id=
"perstore_<%- i %>" name=
"translate[<%- i %>][perstore]" type=
"checkbox" value=
"1"/>
39 <label
for=
"custom_<%- i %>">Custom:</label>
42 <input
name=
"translate[<%- i %>][original]" type=
"hidden" value=
"<%- item.original %>"/>
43 <input
id=
"custom_<%- i %>" 44 name=
"translate[<%- i %>][custom]" 46 value=
"<%- item.translated %>" />
53 <%
if (data.message) { %>
54 <p
class=
"a-center accent"><%- data.message %></p>
58 <div data-role=
"translate-dialog" 59 data-
mage-init=
'{"translateInline":{"ajaxUrl":"<?= $block->escapeJs($block->escapeUrl($block->getAjaxUrl())) ?>"},"loader":{}}'></div>
60 <script type=
"text/x-magento-init">
64 "img":
"<?= $block->escapeJs($block->escapeUrl($block->getViewFileUrl('Magento_Theme::fam_book_open.png'))) ?>",
69 "class":
"trnslate-inline-area" $block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if( $form)() ?>< script > require(['jquery' mage mage
jquery extjs ext tree mage adminhtml form
if($block->getLink()) line height