From ded97de8915975d169025fd8d3a8ebab8cbfa513 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Date: Mon, 8 Aug 2011 19:50:36 +0200
Subject: [PATCH] removed excess code

---
 core/templates/404.php   | 15 ++++++---------
 core/templates/error.php | 20 ++++++++------------
 2 files changed, 14 insertions(+), 21 deletions(-)

diff --git a/core/templates/404.php b/core/templates/404.php
index 67ce8c8026..13a8101034 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -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>
diff --git a/core/templates/error.php b/core/templates/error.php
index aa8a8d473b..4f05e008f9 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -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>
-- 
GitLab