removed excess code

This commit is contained in:
Jan-Christoph Borchardt 2011-08-08 19:50:36 +02:00
parent c350301342
commit ded97de891
2 changed files with 14 additions and 21 deletions

View File

@ -7,12 +7,9 @@ if(!isset($_)){//also provide standalone error page
exit; exit;
} }
?> ?>
<div id="login">
<header><img src="<?php echo image_path('', 'weather-clear.png'); ?>" alt="ownCloud" /></header>
<ul> <ul>
<li class='error'> <li class='error'>
<?php echo $l->t( 'Error 404, Cloud not found' ); ?><br/> <?php echo $l->t( 'Cloud not found' ); ?><br/>
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p> <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
</li> </li>
</ul> </ul>
</div>

View File

@ -1,5 +1,3 @@
<div id="login">
<header><img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" /></header>
<ul> <ul>
<?php foreach($_["errors"] as $error):?> <?php foreach($_["errors"] as $error):?>
<li class='error'> <li class='error'>
@ -8,5 +6,3 @@
</li> </li>
<?php endforeach ?> <?php endforeach ?>
</ul> </ul>
</div>