aboutsummaryrefslogtreecommitdiff
path: root/views/default/errors
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-05 21:54:09 -0500
committercash <cash.costello@gmail.com>2011-12-05 21:54:09 -0500
commitc2cddede38dbb29d53167e296981a678759e0648 (patch)
tree7d48ff3779f502d93ab09e7ba074a179c6ec85a0 /views/default/errors
parent77c79deec262938410fe02e6cba7cb0568de703b (diff)
downloadelgg-c2cddede38dbb29d53167e296981a678759e0648.tar.gz
elgg-c2cddede38dbb29d53167e296981a678759e0648.tar.bz2
first version of a 404 page
Diffstat (limited to 'views/default/errors')
-rw-r--r--views/default/errors/404.php8
-rw-r--r--views/default/errors/default.php8
2 files changed, 16 insertions, 0 deletions
diff --git a/views/default/errors/404.php b/views/default/errors/404.php
new file mode 100644
index 000000000..8bc35acdd
--- /dev/null
+++ b/views/default/errors/404.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * Page not found error
+ */
+
+$message = elgg_echo('error:404');
+
+echo "<h2>$message</h2>";
diff --git a/views/default/errors/default.php b/views/default/errors/default.php
new file mode 100644
index 000000000..a0582eba2
--- /dev/null
+++ b/views/default/errors/default.php
@@ -0,0 +1,8 @@
+<?php
+/**
+ * General error
+ */
+
+$message = elgg_echo('error:default');
+
+echo "<h2>$message</h2>";