<div id="connection_fields">
	<p class="field">
		<label for="login"><?php echo __('Nom d\'utilisateur :'); ?></label>
		<input autofocus required value="<?php echo $tpl['login']; ?>" id="login" name="login" type="text" maxlength="<?php echo $tpl['profile_params']['login']['maxlength']; ?>">
	</p>
	<p class="field">
		<label for="password"><?php echo __('Mot de passe :'); ?></label>
		<input data-password-view="1" required id="password" name="password" type="password" maxlength="<?php echo $tpl['profile_params']['password']['maxlength']; ?>">
	</p>
	<p class="field">
		<input id="remember" name="remember" type="checkbox">
		<label for="remember"><?php echo __('Rester connecté'); ?></label>
	</p>
	<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
	<input type="submit" value="<?php echo __('Se connecter'); ?>">
</div>
<p class="field">
	<a href="<?php echo $tpl['link']('forgot-password'); ?>"><?php echo __('Mot de passe oublié'); ?></a>
</p>
<p id="connection_link">
	<a href="<?php echo $tpl['gallery']['path']; ?>/"><?php echo __('Galerie'); ?></a>
</p>