1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00
appwrite/app/views/general/error.phtml
2020-04-08 16:15:04 +03:00

22 lines
707 B
PHTML

<?php
$code = $this->getParam('code', 500);
$errorID = $this->getParam('errorID', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
$message = $this->getParam('message', '');
$projectName = $this->getParam('projectName', '');
$projectURL = $this->getParam('projectURL', '');
?>
<section class="zone large margin-top padding">
<h1 class="margin-bottom">Error <?php echo $code; ?></h1>
<p><?php echo $message; ?></p>
<small>Error ID: <?php echo $errorID; ?></small>
<?php if (!empty($projectURL)): ?>
<hr class="margin-top margin-bottom" />
<p><a href="<?php echo $this->escape($projectURL); ?>" rel="noopener">Back to <?php echo $projectName; ?></a></p>
<?php endif; ?>
</section>