summaryrefslogtreecommitdiffstats
path: root/core/templates/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/error.php')
-rw-r--r--core/templates/error.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/templates/error.php b/core/templates/error.php
new file mode 100644
index 00000000000..ae3f029708f
--- /dev/null
+++ b/core/templates/error.php
@@ -0,0 +1,17 @@
+<?php
+/*
+ * Template for error page
+ */
+?>
+<div id="login">
+ <img src="<?php echo image_path("", "owncloud-logo-medium-white.png"); ?>" alt="ownCloud" />
+ <ul>
+ <?php foreach($_["errors"] as $error):?>
+ <li class='error'>
+ <?php echo $error['error'] ?><br/>
+ <p class='hint'><?php if(isset($error['hint']))echo $error['hint'] ?></p>
+ </li>
+ <?php endforeach ?>
+ </ul>
+</div>
+