Skip to content

Commit d1c410a

Browse files
author
Hwashiang Yu
committed
MC-18153: Correct phtml templates
- Fixed incorrect phtml files
1 parent 8cc2fba commit d1c410a

File tree

3 files changed

+3
-3
lines changed
  • app/code/Magento

3 files changed

+3
-3
lines changed

app/code/Magento/Authorizenet/view/adminhtml/templates/directpost/info.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $ccExpYear = $block->getInfoData('cc_exp_year');
3939
'required':true,
4040
'validate-cc-type-select':'#<?= /* @noEscape */ $code ?>_cc_number'
4141
}">
42-
<option value=""><?= $block->escapeHtmlAttr(__('Please Select')) ?></option>
42+
<option value=""><?= $block->escapeHtml(__('Please Select')) ?></option>
4343
<?php foreach ($block->getCcAvailableTypes() as $typeCode => $typeName) : ?>
4444
<option value="<?= $block->escapeHtmlAttr($typeCode) ?>"
4545
<?php if ($typeCode == $ccType) : ?>selected="selected"<?php endif; ?>>

app/code/Magento/Backend/view/adminhtml/templates/dashboard/store/switcher.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p class="switcher"><label for="store_switcher"><?= $block->escapeHtml(__('View Statistics For:')) ?></label>
88
<?= $block->getHintHtml() ?>
99
<select name="store_switcher" id="store_switcher" class="left-col-block" onchange="return switchStore(this);">
10-
<option value=""><?= $block->escapeHtmlAttr(__('All Websites')) ?></option>
10+
<option value=""><?= $block->escapeHtml(__('All Websites')) ?></option>
1111
<?php foreach ($block->getWebsiteCollection() as $_website) : ?>
1212
<?php $showWebsite = false; ?>
1313
<?php foreach ($block->getGroupCollection($_website) as $_group) : ?>

app/code/Magento/GiftMessage/view/frontend/templates/inline.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
</div>
105105
</div>
106106
<div class="field to">
107-
<label for="gift-message-<?= (int) $_item->getId() ?>-to" class="label"><span><?= $block->escapeHtmlAttr(__('To')) ?></span></label>
107+
<label for="gift-message-<?= (int) $_item->getId() ?>-to" class="label"><span><?= $block->escapeHtml(__('To')) ?></span></label>
108108
<div class="control">
109109
<input type="text" name="giftmessage[quote_item][<?= (int) $_item->getId() ?>][to]" id="gift-message-<?= (int) $_item->getId() ?>-to" title="<?= $block->escapeHtmlAttr(__('To')) ?>" value="<?= /* @noEscape */ $block->getEscaped($block->getMessage($_item)->getRecipient(), $block->getDefaultTo()) ?>" class="input-text">
110110
</div>

0 commit comments

Comments
 (0)