Skip to content

Commit bc3151e

Browse files
AC-11698:Remove Notice section form Magento Open source files copyright:Remove Notice
1 parent 0ecefb9 commit bc3151e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/code/Magento/OrderCancellationUi/view/frontend/templates/cancel-order-modal.phtml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@
44
* All Rights Reserved.
55
*/
66
?>
7+
<?php
8+
/** @var $escaper Magento\Framework\Escaper */
9+
?>
710
<div id="cancel-order-modal-<?=/* @noEscape */ $block->getOrder()->getId() ?>">
811
<div class="modal-body-content">
9-
<h3><?= $block->escapeHtml(__('Cancel order')) ?>
12+
<h3><?= $escaper->escapeHtml(__('Cancel order')) ?>
1013
<span class="cancel-order-id"><?=/* @noEscape */ $block->getOrder()->getRealOrderId() ?></span>
1114
</h3>
12-
<p><?= $block->escapeHtml(__('Provide a cancellation reason:')) ?></p>
15+
<p><?= $escaper->escapeHtml(__('Provide a cancellation reason:')) ?></p>
1316
<form>
1417
<select id="cancel-order-reason-<?=/* @noEscape */ $block->getOrder()->getId() ?>"
1518
class="cancel-order-reason" name="reason">
1619
<?php foreach ($block->getReasons() as $key => $description): ?>
17-
<option value="<?= $block->escapeHtml(__($description)) ?>">
18-
<?= $block->escapeHtml(__($description)) ?>
20+
<option value="<?= $escaper->escapeHtml(__($description)) ?>">
21+
<?= $escaper->escapeHtml(__($description)) ?>
1922
</option>
2023
<?php endforeach; ?>
2124
</select>

0 commit comments

Comments
 (0)