summaryrefslogtreecommitdiff
path: root/modules/gallery/views/error_404.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-13 13:00:41 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-13 13:00:41 -0800
commitdcd7a8fbb8924665a07582aa53f07a86ef922287 (patch)
treed8c979b9dc72b3de943ec25dc883f25bde1750c6 /modules/gallery/views/error_404.html.php
parent650845eddaad250374330a14c47cda62bf41f20a (diff)
parent36702b1397dcac9ba5a607f62e2a1caeb307ac7a (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views/error_404.html.php')
-rw-r--r--modules/gallery/views/error_404.html.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/gallery/views/error_404.html.php b/modules/gallery/views/error_404.html.php
new file mode 100644
index 00000000..4b037a79
--- /dev/null
+++ b/modules/gallery/views/error_404.html.php
@@ -0,0 +1,21 @@
+<?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 ?>
+ <? 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> \ No newline at end of file