<?php echo $this->doctype('XHTML11')?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/forms.css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="css/ie7.css" /><![endif]-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow">
<title><?=$this->t('ztracene-heslo-f')?></title>
</head>

<body>

<h1 class="login"><?=$this->t('ztracene-heslo-nadpis-f')?></h1>

<?php if (isset($this->msg) && $this->msg != '') : ?>
	<div class="login_error_box"><?=$this->t($this->msg)?> <a href="<?=$this->baseUrl()?>/lost-password"><?=$this->t('vygenerovat-novy-f')?>!</a></div>
<?php else : ?>
	<div class="login_info_box"><?=$this->t('vlozte-nove-heslo-f')?>.</div>
	<?php if (isset($this->match) && $this->match == false) : ?>
		<div class="login_error_box"><?=$this->t('passwordsNotMatch')?></div>
	<?php endif; ?>
	<div id="login_form">
  	<form action="<?=$this->baseUrl()?>/lost-password/change/id/<?=$this->id?>/code/<?=$this->code?>" method="post">
  		<br />
	    <label><?=$this->t('heslo-f')?>:</label>
	    <input type="password" name="password" />
		
		<label><?=$this->t('heslo-znovu-f')?>:</label>
	    <input type="password" name="password-check" />
		<br />
    	<p>&nbsp;</p>

    	<button type="submit"><?=$this->t('nastavit-heslo-AF')?></button>
  	</form>
</div>
<?php endif; ?>

<div class="login_flags">
    <a href="<?=$this->baseUrl()?>/language/switch/lang/en"><img src="<?=$this->baseUrl()?>/images/flags/en.png" alt="switch to english" title="switch to english" /></a>
    <a href="<?=$this->baseUrl()?>/language/switch/lang/cs"><img src="<?=$this->baseUrl()?>/images/flags/cz.png" alt="přepnout na češtinu" title="přepnout na češtinu" /></a>
</div>
</body>
</html>