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"> <ul>
<header><img src="<?php echo image_path('', 'weather-clear.png'); ?>" alt="ownCloud" /></header> <li class='error'>
<ul> <?php echo $l->t( 'Cloud not found' ); ?><br/>
<li class='error'> <p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p>
<?php echo $l->t( 'Error 404, Cloud not found' ); ?><br/> </li>
<p class='hint'><?php if(isset($_['file'])) echo $_['file']?></p> </ul>
</li>
</ul>
</div>

View File

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