mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Don't use short tags.
They are not broadly supported before PHP 5.4 and we should escape all the content the core templates output.
This commit is contained in:
parent
d05727b6df
commit
0df0f1a559
3 changed files with 3 additions and 3 deletions
|
@ -4,4 +4,4 @@ if (!empty($params['class'])) {
|
|||
$class .= ' ' . $params['class'];
|
||||
}
|
||||
?>
|
||||
<div id="<?= $key ?>Message" class="<?= h($class) ?>"><?= h($message) ?></div>
|
||||
<div id="<?php echo h($key) ?>Message" class="<?php echo h($class) ?>"><?php echo h($message) ?></div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div id="<?= $key ?>Message" class="message error"><?= h($message) ?></div>
|
||||
<div id="<?php echo h($key) ?>Message" class="message error"><?php echo h($message) ?></div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div id="<?= $key ?>Message" class="message success"><?= h($message) ?></div>
|
||||
<div id="<?php echo h($key) ?>Message" class="message success"><?php echo h($message) ?></div>
|
||||
|
|
Loading…
Reference in a new issue