mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* remember installation language on first step (welcome)
This commit is contained in:
parent
5f22ab0361
commit
0d5b9c2f98
@ -18,10 +18,11 @@ else {
|
||||
$locales[] = array('id' => $tmp_locale, 'name' => $locale['name']);
|
||||
}
|
||||
}
|
||||
|
||||
$twig->display('install.welcome.html.twig', array(
|
||||
'locales' => $locales,
|
||||
'locale' => $locale,
|
||||
'cookie_locale' => @$_COOKIE['locale'],
|
||||
'buttons' => next_buttons(false, true)
|
||||
));
|
||||
}
|
||||
?>
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
<div class="input"><p>{{ locale.step_welcome_desc }}</p>
|
||||
<select name="lang">
|
||||
{% for locale_ in locales %}
|
||||
<option value="{{ locale_.id }}">{{ locale_.name }}</option>
|
||||
<option value="{{ locale_.id }}"{% if cookie_locale == locale_.id %} selected{% endif %}>{{ locale_.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user