removed excess code
This commit is contained in:
parent
c350301342
commit
ded97de891
|
@ -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>
|
|
||||||
|
|
|
@ -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>
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue