<form class="standard" action="<?php echo $tpl['current_url_pageless']; ?>" method="post">
	<h2><?php echo __('Choix de la langue'); ?></h2>
	<p class="field">
		<label for="lang"><?php echo __('Nouvelle langue :'); ?></label>
		<select required autofocus name="lang" id="lang">
<?php foreach ($tpl['lang_switch'] as $i) : ?>
			<option<?php if ($i['code'] == $tpl['lang']) : ?> selected<?php endif; ?> value="<?php echo $i['code']; ?>"><?php echo $i['code']; ?> - <?php echo $i['name']; ?></option>
<?php endforeach; ?>
		</select>
	</p>
	<p id="submit">
		<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
		<input class="button" name="language" type="submit" value="<?php echo __('Valider'); ?>">
	</p>
</form>