summaryrefslogtreecommitdiff
path: root/modules/gallery/views/error_404.html.php
blob: 42f62b6c5f46ec98135a9d1b45ab85b8c45f9703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-error">
  <h1>
    <?= t("Dang...  Page not found!") ?>
  </h1>
  <? 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>
  <? 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>
 <? endif; ?>
</div>