mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-24 07:47:20 +00:00
0df0f1a559
They are not broadly supported before PHP 5.4 and we should escape all the content the core templates output.
7 lines
204 B
PHP
7 lines
204 B
PHP
<?php
|
|
$class = 'message';
|
|
if (!empty($params['class'])) {
|
|
$class .= ' ' . $params['class'];
|
|
}
|
|
?>
|
|
<div id="<?php echo h($key) ?>Message" class="<?php echo h($class) ?>"><?php echo h($message) ?></div>
|