freenetis-github/application/views/login/index.php @ c1bdc1c4
8baed187 | Michal Kliment | <!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>
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
<meta name="keywords" content="Freenetis" />
|
|||
<meta name="description" content="Freenetis" />
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|||
<title><?php echo $title ?> | <?php echo $this->settings->get('title') ?></title>
|
|||
<?php echo html::link('media/images/favicon.ico', 'shorcut icon', 'image/x-icon', FALSE); ?>
|
|||
<?php echo html::stylesheet('media/css/installation.css', 'screen') ?>
|
|||
<style type="text/css"><!--
|
|||
table.form th, table.form td {
|
|||
border-bottom-width: 0px;
|
|||
}
|
|||
--></style>
|
|||
</head>
|
|||
<body onload="document.getElementById('username').focus();">
|
|||
c1bdc1c4 | Michal Kliment | <div id="main" style="width: 390px;">
|
|
<h1><span>Free<em>net</em>IS</span><i><?php echo Version::get_version() ?></i></h1>
|
|||
8baed187 | Michal Kliment | <div class="flags">
|
|
<?php echo special::create_language_flags(array('cs' => 'Česky', 'en' => 'English')) ?>
|
|||
</div>
|
|||
<div id="main-padd">
|
|||
<div id="content" style="width: auto;">
|
|||
<div id="login_div">
|
|||
c1bdc1c4 | Michal Kliment | <?php if (Settings::get('self_registration')) echo '<p class="registration_link">'.html::anchor('registration', __('Applicant for membership')).'</p>' ?>
|
|
<h2 style="margin-bottom: 0.8em"><?php echo __('Login to') ?></h2>
|
|||
<?php echo form::open(url_lang::base().'login'.(isset($_GET['cookies_failed']) ? '?cookies_failed=true' : ''), array('class' => 'login_form')) ?>
|
|||
<?php if (!empty($error)): ?><div id="error"><strong><?php echo $error ?></strong></div><?php endif; ?>
|
|||
<?php if (!empty($success)): ?><div id="success"><strong><?php echo $success ?></strong></div><?php endif; ?>
|
|||
<table cellspacing="0" cellpadding="0" class="form">
|
|||
8baed187 | Michal Kliment | <tr>
|
|
<th><?php echo form::label('username', __('Login name').':') ?></th>
|
|||
c1bdc1c4 | Michal Kliment | <td><?php echo form::input('username', html::specialchars(@$_POST['username']), ' maxlength="50"') ?></td>
|
|
8baed187 | Michal Kliment | </tr>
|
|
<tr>
|
|||
<th><?php echo form::label('password', __('Password').':') ?></th>
|
|||
<td><?php echo form::password('password', '', ' maxlength="50"') ?></td>
|
|||
</tr>
|
|||
</table>
|
|||
c1bdc1c4 | Michal Kliment | <?php echo form::submit('submit', __('Login'), ' class="submit" style="float: left; margin: 15px 0px 0px 0px;"') ?>
|
|
<?php if (Settings::get('forgotten_password')) echo '<p class="forgotten_password_link">'.html::anchor('forgotten_password', __('Forgotten password')).'?</p>' ?>
|
|||
8baed187 | Michal Kliment | <?php echo form::close() ?>
|
|
</div>
|
|||
<div class="clear"></div>
|
|||
</div>
|
|||
<div class="clear"></div>
|
|||
</div>
|
|||
</div>
|
|||
</body>
|
|||
</html>
|