diff options
Diffstat (limited to 'resources/views/errors')
| -rw-r--r-- | resources/views/errors/database-connection.phtml | 4 | ||||
| -rw-r--r-- | resources/views/errors/database-error.phtml | 4 | ||||
| -rw-r--r-- | resources/views/errors/image-svg.phtml | 7 | ||||
| -rw-r--r-- | resources/views/errors/unhandled-exception.phtml | 7 |
4 files changed, 22 insertions, 0 deletions
diff --git a/resources/views/errors/database-connection.phtml b/resources/views/errors/database-connection.phtml index 5ed9e3caab..9644a4e26f 100644 --- a/resources/views/errors/database-connection.phtml +++ b/resources/views/errors/database-connection.phtml @@ -2,6 +2,10 @@ use Fisharebest\Webtrees\I18N; +/** + * @var string $error + */ + ?> <div class="content"> diff --git a/resources/views/errors/database-error.phtml b/resources/views/errors/database-error.phtml index 964cfd3f1c..c09bca43ea 100644 --- a/resources/views/errors/database-error.phtml +++ b/resources/views/errors/database-error.phtml @@ -2,6 +2,10 @@ use Fisharebest\Webtrees\I18N; +/** + * @var string $error + */ + ?> <p> diff --git a/resources/views/errors/image-svg.phtml b/resources/views/errors/image-svg.phtml index 0a51d5a45c..9dc3e2f9c5 100644 --- a/resources/views/errors/image-svg.phtml +++ b/resources/views/errors/image-svg.phtml @@ -1,3 +1,10 @@ +<?php + +/** + * @var string $status + */ + +?> <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"> <rect width="100" height="100" fill="#F88" /> <text x="5" y="55" font-family="Verdana" font-size="35"><?= $status ?></text> diff --git a/resources/views/errors/unhandled-exception.phtml b/resources/views/errors/unhandled-exception.phtml index 8928546c63..3a12befb37 100644 --- a/resources/views/errors/unhandled-exception.phtml +++ b/resources/views/errors/unhandled-exception.phtml @@ -1 +1,8 @@ +<?php + +/** + * @var string $error + */ + +?> <pre class="alert alert-danger"><?= $error ?></pre> |
