Files
gallery3/modules/gallery/views/error_404.html.php
Johan Cwiklinski 6746792bdf Drop short_tags
2018-05-19 17:01:37 +02:00

27 lines
764 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-error">
<h1>
<?= t("Dang... Page not found!") ?>
</h1>
<?php if ($is_guest): ?>
<h2>
<?= t("Hey wait, you're not signed in yet!") ?>
</h2>
<p>
<?= t("Maybe the page exists, but is only visible to authorized users.") ?>
<?= t("Please sign in to find out.") ?>
</p>
<?= $login_form ?>
<script type="text/javascript">
$(document).ready(function() {
$("#g-username").focus();
});
</script>
<?php else: ?>
<p>
<?= t("Maybe the page exists, but is only visible to authorized users.") ?>
<?= t("If you think this is an error, talk to your Gallery administrator!") ?>
</p>
<?php endif; ?>
</div>