Skip to content

Commit 3b55240

Browse files
committed
MAGETWO-66480: [GITHUB] URL key for specified store already exists #6671
- code style fix
1 parent f74f65f commit 3b55240

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

app/code/Magento/UrlRewrite/view/adminhtml/templates/messages/url_duplicate_message.phtml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
$urls = $block->getData('urls');
99
?>
1010
<h4>
11-
<?php
12-
echo $block->escapeHtml(__('The value specified in the URL Key field would generate a URL that already exists.'));
13-
?>
11+
<?=$block->escapeHtml(__('The value specified in the URL Key field would generate a URL that already exists.')); ?>
1412
</h4>
1513
<p>
16-
<?php
17-
echo $block->escapeHtml(
18-
__(
19-
'To resolve this conflict, you can either change the value of the URL Key field '
20-
. '(located in the Search Engine Optimization section) to a unique value, or change the Request Path fields'
21-
. ' in all locations listed below:'
22-
)
14+
<?=$block->escapeHtml(
15+
__(
16+
'To resolve this conflict, you can either change the value of the URL Key field '
17+
. '(located in the Search Engine Optimization section) to a unique value, or change the Request Path fields'
18+
. ' in all locations listed below:'
19+
)
2320
);
24-
21+
?>
22+
<?php
2523
if (!empty($urls)) {
2624
foreach ($urls as $url => $urlTitle) {
27-
echo '<p> - <a href="' . $block->escapeHtml($url) . '">' . $block->escapeHtml($urlTitle) . '</a></p>';
25+
?>
26+
<?='<p> - <a href="' . $block->escapeHtml($url) . '">' . $block->escapeHtml($urlTitle) . '</a></p>'; ?>
27+
<?php
2828
}
2929
}
3030
?>

0 commit comments

Comments
 (0)