tao-test/app/tao/views/templates/error/error400.tpl

58 lines
1.7 KiB
Smarty

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 400 - Bad Request</title>
<link rel="stylesheet" href="<?= ROOT_URL ?>tao/views/css/tao-main-style.css">
<link rel="stylesheet" href="<?= ROOT_URL ?>tao/views/css/error-pages.css">
</head>
<body>
<div class="content-wrap">
<header aria-label="<?=__('Main Menu')?>" class="dark-bar clearfix">
<a href="<?= ROOT_URL ?>" class="lft" target="_blank">
<img src="<?= ROOT_URL ?>tao/views/img/tao-logo.png" alt="TAO Logo" id="tao-main-logo">
</a>
<h1>Error 400 - Bad Request</h1>
</header>
<div class="section-container">
<div class="error-code">400</div>
<div class="error-text">
<?php if (!empty($message)): ?>
<p><?= $message ?></p>
<?php endif; ?>
</div>
<ul class="plain links">
<?php if (!empty($returnUrl)) : ?>
<li><a href="<?= $returnUrl ?>"><?=__('Go Back')?></a></li>
<?php endif; ?>
<li><a href="<?= ROOT_URL ?>"><?=__('TAO Home')?></a></li>
</ul>
<?php if (defined('DEBUG_MODE') && DEBUG_MODE == true): ?>
<?php if (!empty($message)): ?>
<h2>Debug Message</h2>
<pre><?= $message ?></pre>
<?php endif; ?>
<?php if (!empty($trace)): ?>
<h2>Stack Trace</h2>
<pre><?= $trace ?></pre>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<footer aria-label="<?=__('About')?>" class="dark-bar">
© 2013 - <?= date('Y') ?> · <a href="http://taotesting.com" target="_blank">Open Assessment Technologies S.A.</a>
· All rights reserved.
</footer>
</body>
</html>