]> source.dussan.org Git - nextcloud-server.git/commitdiff
removed excess code
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Mon, 8 Aug 2011 17:50:36 +0000 (19:50 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Mon, 8 Aug 2011 17:50:42 +0000 (19:50 +0200)
core/templates/404.php
core/templates/error.php

index 67ce8c8026c726ab23fc4ad7861f981fdcfbe36a..13a81010343449ec60658b55083529e582b35eb5 100644 (file)
@@ -7,12 +7,9 @@ if(!isset($_)){//also provide standalone error page
        exit;
 }
 ?>
-<div id="login">
-       <header><img src="<?php echo image_path('', 'weather-clear.png'); ?>" alt="ownCloud" /></header>
-       <ul>
-               <li class='error'>
-                       <?php echo $l->t( 'Error 404, Cloud not found' ); ?><br/>
-                       <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
-               </li>
-       </ul>
-</div>
+<ul>
+       <li class='error'>
+               <?php echo $l->t( 'Cloud not found' ); ?><br/>
+               <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
+       </li>
+</ul>
index aa8a8d473b46c4029299683e7aef262a41214913..4f05e008f99b0857536adb37af798ab86945ffa6 100644 (file)
@@ -1,12 +1,8 @@
-<div id="login">
-       <header><img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" /></header>
-       <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>
-
+<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>