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:
mark_story 2015-08-20 22:36:09 -04:00
parent d05727b6df
commit 0df0f1a559
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>