HTML5!
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<!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">
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?=substr($this->config->item('language'), 0, 2);?>">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>ScattPort | Login</title>
|
||||
<title>ScattPort | <?=_('Login');?></title>
|
||||
|
||||
<?= link_tag('assets/css/login.css'); ?>
|
||||
<?= link_tag('assets/css/form.css'); ?>
|
||||
@@ -12,49 +12,52 @@
|
||||
<?= script_tag('assets/js/minmax.js'); ?>
|
||||
<?= script_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'); ?>
|
||||
<?= script_tag('assets/js/scattport.js'); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var SITE_URL = '<?=site_url()?>';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
<div id="box">
|
||||
<h2>Scattport <span class="light">Login</span></h2>
|
||||
<h2>Scattport <span class="light"><?=_('Login');?></span></h2>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
if (isset($error))
|
||||
foreach ($error as $e)
|
||||
echo "<div class=\"error\">" . $e . "</div>";
|
||||
echo "<p class=\"error\">" . $e . "</p>";
|
||||
if (isset($notice))
|
||||
foreach ($notice as $n)
|
||||
echo "<div class=\"notice\">" . $n . "</div>";
|
||||
if (isset($success))
|
||||
foreach ($success as $s)
|
||||
echo "<div class=\"success\">" . $s . "</div>";
|
||||
echo "<p class=\"notice\">" . $n . "</p>";
|
||||
?>
|
||||
</p>
|
||||
|
||||
<form action="<?= site_url('auth/login') ?>" method="post" name="loginform">
|
||||
<ul>
|
||||
<li>
|
||||
<label>Benutzername</label>
|
||||
<div><input type="text" name="username" class="text medium" /></div>
|
||||
<?=form_label(_('Username'), 'username');?>
|
||||
<div>
|
||||
<input type="text" name="username" id="username" class="text max" value="<?=set_value('username');?>" />
|
||||
<?=form_error('username');?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Passwort</label>
|
||||
<div><input type="password" name="password" class="text medium" /></div>
|
||||
<?=form_label(_('Password'), 'password');?>
|
||||
<div>
|
||||
<input type="password" name="password" id="password" class="text max" />
|
||||
<?=form_error('password');?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div>
|
||||
<input type="submit" class="button" name="login" value="Einloggen" />
|
||||
<input type="submit" class="button" name="login" value="<?=_('Log in');?>" />
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
<p><a href="#">Passwort vergessen?</a></p>
|
||||
<p><?=anchor('auth/forgot_password', _('Forgotten password?'));?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<!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>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?=substr($this->config->item('language'), 0, 2);?>">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>ScattPort</title>
|
||||
|
||||
@@ -17,6 +18,7 @@
|
||||
var SITE_URL = '<?=site_url()?>';
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
|
||||
Reference in New Issue
Block a user