File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
app/code/Magento/Theme/view
adminhtml/templates/browser/content Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11
11
<span class="fileinput-button form-buttons">
12
12
<span><?= $ block ->escapeHtml (__ ('Browse Files ' )) ?> </span>
13
13
<input id="fileupload" type="file" name="<?= $ block ->escapeHtmlAttr ($ block ->getConfig ()->getFileField ()) ?> "
14
- data-url="<?= $ block ->escapeHtmlAttr ( $ block -> escapeUrl ($ block ->getConfig ()->getUrl () )) ?> " multiple>
14
+ data-url="<?= $ block ->escapeUrl ($ block ->getConfig ()->getUrl ()) ?> " multiple>
15
15
</span>
16
16
<div class="clear"></div>
17
17
<script id="<?= $ block ->getHtmlId () ?> -template" type="text/x-magento-template">
Original file line number Diff line number Diff line change 105
105
<?php if (!$ block ->isLastPage ()): ?>
106
106
<li class="item pages-item-next">
107
107
<?php $ text = $ block ->getAnchorTextForNext () ? $ block ->getAnchorTextForNext () : '' ;?>
108
- <a class="<?= $ block -> escapeHtmlAttr ( $ text ? 'link ' : 'action ' ) ?> next"
108
+ <a class="<?= /* @noEscape */ $ text ? 'link ' : 'action ' ?> next"
109
109
href="<?= $ block ->escapeUrl ($ block ->getNextPageUrl ()) ?> "
110
110
title="<?= $ block ->escapeHtmlAttr ($ text ? $ text : __ ('Next ' )) ?> ">
111
111
<span class="label"><?= $ block ->escapeHtml (__ ('Page ' )) ?> </span>
Original file line number Diff line number Diff line change 16
16
"*": {
17
17
"mage/cookies": {
18
18
"expires": null,
19
- "path": "<?= /* @noEscape */ $ block ->getPath () ?> ",
20
- "domain": "<?= /* @noEscape */ $ block ->getDomain () ?> ",
19
+ "path": "<?= $ block ->escapeJs ( $ block -> getPath () ) ?> ",
20
+ "domain": "<?= $ block ->escapeJs ( $ block -> getDomain () ) ?> ",
21
21
"secure": false,
22
- "lifetime": "<?= /* @noEscape */ $ block ->getLifetime () ?> "
22
+ "lifetime": "<?= $ block ->escapeJs ( $ block -> getLifetime () ) ?> "
23
23
}
24
24
}
25
25
}
Original file line number Diff line number Diff line change 12
12
?>
13
13
<?php if (!$ block ->getIsDisabled ()) : ?>
14
14
<li>
15
- <a href="<?= $ block ->escapeHtml ($ block ->getHref ()) ?> "
16
- <?php if ($ title = $ block ->getTitle ()) : ?> title="<?= $ block ->escapeHtml (__ ($ title )) ?> "<?php endif ;?> >
15
+ <a href="<?= $ block ->escapeUrl ($ block ->getHref ()) ?> "
16
+ <?php if ($ title = $ block ->getTitle ()) : ?> title="<?= $ block ->escapeHtmlAttr (__ ($ title )) ?> "<?php endif ;?> >
17
17
<?= $ block ->escapeHtml (__ ($ block ->getLabel ())) ?>
18
18
</a>
19
19
</li>
Original file line number Diff line number Diff line change 5
5
*/
6
6
?>
7
7
<script>
8
- var BASE_URL = '<?= $ block ->escapeJs ( $ block -> escapeUrl ($ block ->getBaseUrl () )) ?> ';
8
+ var BASE_URL = '<?= $ block ->escapeUrl ($ block ->getBaseUrl ()) ?> ';
9
9
var require = {
10
- "baseUrl": "<?= $ block ->escapeJs ( $ block -> escapeUrl ($ block ->getViewFileUrl ('/ ' ) )) ?> "
10
+ "baseUrl": "<?= $ block ->escapeUrl ($ block ->getViewFileUrl ('/ ' )) ?> "
11
11
};
12
12
</script>
You can’t perform that action at this time.
0 commit comments