summaryrefslogtreecommitdiffstats
path: root/core/templates/error.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-06-20 20:29:30 +0200
committerJakob Sack <kde@jakobsack.de>2011-06-20 20:29:30 +0200
commit91c37bbb7642b996e4c386b3033cca02831371ef (patch)
tree96984269f6851e9208e26c9533c5ce4e045396c5 /core/templates/error.php
parent272fc252fb71422db2101a76fc541f20924808cd (diff)
downloadnextcloud-server-91c37bbb7642b996e4c386b3033cca02831371ef.tar.gz
nextcloud-server-91c37bbb7642b996e4c386b3033cca02831371ef.zip
moved core stuff to /core
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>
+