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>
25 lines
525 B
PHP
25 lines
525 B
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var string $message
|
|
* @var string $url
|
|
*/
|
|
use Cake\Core\Configure;
|
|
|
|
$this->setLayout('error');
|
|
|
|
if (Configure::read('debug')) :
|
|
$this->setLayout('dev_error');
|
|
|
|
$this->assign('title', $message);
|
|
$this->assign('templateName', 'error400.php');
|
|
|
|
$this->start('file');
|
|
echo $this->element('auto_table_warning');
|
|
$this->end();
|
|
endif;
|
|
$this->assign('title', __('Nicht gefunden'));
|
|
?>
|
|
<h1><?= __('Nicht gefunden') ?></h1>
|
|
<p class="lead"><?= h($message) ?></p>
|