aboutsummaryrefslogtreecommitdiff
path: root/views/default/errors
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-12-19 17:55:21 -0800
committerCash Costello <cash.costello@gmail.com>2011-12-19 17:55:21 -0800
commit742f7630b8f2628b977e59756ac2844d1bd4683b (patch)
tree8c1fde819ce841d0b4d57ce23d31bc34ca386916 /views/default/errors
parent5ee43086ec79b38e3f2cdb288f80bd5f24d413b1 (diff)
parentf003120fba687d14630b690c50e2316f717eca7d (diff)
downloadelgg-742f7630b8f2628b977e59756ac2844d1bd4683b.tar.gz
elgg-742f7630b8f2628b977e59756ac2844d1bd4683b.tar.bz2
Merge pull request #118 from cash/404
Fixes #4103 adds 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>";