CakePHP 5.4 app for live polls: create via email without login, manage via secret admin link, join via code. Includes slide types (choice, wordcloud, open, scale, content), presenter mode, CSV export, captcha, throttling, tests and Gitea CI/deploy workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
280 B
PHP
12 lines
280 B
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var array $params
|
|
* @var string $message
|
|
*/
|
|
if (!isset($params['escape']) || $params['escape'] !== false) {
|
|
$message = h($message);
|
|
}
|
|
?>
|
|
<div class="message warning" onclick="this.classList.add('hidden');"><?= $message ?></div>
|