HTML5!
This commit is contained in:
@@ -1,60 +1,63 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="<?=substr($this->config->item('language'), 0, 2);?>">
|
||||||
<head>
|
<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/login.css'); ?>
|
||||||
<?= link_tag('assets/css/form.css'); ?>
|
<?= link_tag('assets/css/form.css'); ?>
|
||||||
|
|
||||||
<?= 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_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>
|
</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>
|
<?php
|
||||||
<?php
|
|
||||||
if (isset($error))
|
if (isset($error))
|
||||||
foreach ($error as $e)
|
foreach ($error as $e)
|
||||||
echo "<div class=\"error\">" . $e . "</div>";
|
echo "<p class=\"error\">" . $e . "</p>";
|
||||||
if (isset($notice))
|
if (isset($notice))
|
||||||
foreach ($notice as $n)
|
foreach ($notice as $n)
|
||||||
echo "<div class=\"notice\">" . $n . "</div>";
|
echo "<p class=\"notice\">" . $n . "</p>";
|
||||||
if (isset($success))
|
?>
|
||||||
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>
|
<?=form_label(_('Username'), 'username');?>
|
||||||
<div><input type="text" name="username" class="text medium" /></div>
|
<div>
|
||||||
|
<input type="text" name="username" id="username" class="text max" value="<?=set_value('username');?>" />
|
||||||
|
<?=form_error('username');?>
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label>Passwort</label>
|
<?=form_label(_('Password'), 'password');?>
|
||||||
<div><input type="password" name="password" class="text medium" /></div>
|
<div>
|
||||||
|
<input type="password" name="password" id="password" class="text max" />
|
||||||
|
<?=form_error('password');?>
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div>
|
<div>
|
||||||
<input type="submit" class="button" name="login" value="Einloggen" />
|
<input type="submit" class="button" name="login" value="<?=_('Log in');?>" />
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p><a href="#">Passwort vergessen?</a></p>
|
<p><?=anchor('auth/forgot_password', _('Forgotten password?'));?></p>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
<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>
|
<title>ScattPort</title>
|
||||||
|
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
var SITE_URL = '<?=site_url()?>';
|
var SITE_URL = '<?=site_url()?>';
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
|||||||
Reference in New Issue
Block a user