Fix indentation in in login view

This commit is contained in:
Karsten Heiken
2011-08-08 15:56:57 +02:00
parent 54bef3520f
commit cbae873a02

View File

@@ -1,37 +1,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head> <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ScattPort | Login</title> <title>ScattPort | Login</title>
<?=link_tag('assets/css/login.css');?> <?= link_tag('assets/css/login.css'); ?>
<?=link_tag('assets/css/form.css');?> <?= link_tag('assets/css/form.css'); ?>
<?=script_tag('assets/js/minmax.js');?> <?= script_tag('assets/js/minmax.js'); ?>
<?=script_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js');?> <?= script_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'); ?>
<?=script_tag('assets/js/scattport.js');?> <?= script_tag('assets/js/scattport.js'); ?>
</head> </head>
<body> <body>
<div id="wrapper"> <div id="wrapper">
<div id="box"> <div id="box">
<h2>Scattport <span class="light">Login</span></h2> <h2>Scattport <span class="light">Login</span></h2>
<p> <p>
<?php <?php
if (isset($error)) if (isset($error))
foreach($error as $e) echo "<div class=\"error\">".$e."</div>"; foreach ($error as $e)
if (isset($notice)) echo "<div class=\"error\">" . $e . "</div>";
foreach($notice as $n) echo "<div class=\"notice\">".$n."</div>"; if (isset($notice))
if (isset($success)) foreach ($notice as $n)
foreach($success as $s) echo "<div class=\"success\">".$s."</div>"; echo "<div class=\"notice\">" . $n . "</div>";
?> if (isset($success))
</p> foreach ($success as $s)
echo "<div class=\"success\">" . $s . "</div>";
?>
</p>
<form action="<?=site_url('auth/login')?>" method="post" name="loginform"> <form action="<?= site_url('auth/login') ?>" method="post" name="loginform">
<ul> <ul>
<li> <li>
<label>Benutzername</label> <label>Benutzername</label>
@@ -50,7 +54,7 @@ if (isset($success))
</form> </form>
<p><a href="#">Passwort vergessen?</a></p> <p><a href="#">Passwort vergessen?</a></p>
</div> </div>
</body> </body>