mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 00:17:02 +02:00
use the browsers language preferences instead of the settings page
This commit is contained in:
@ -19,17 +19,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $text_language; ?>:</div>
|
||||
<div class="cell2">
|
||||
<select name="lang">
|
||||
<?php foreach(Registry::get('langs') as $t) { ?>
|
||||
<option value="<?php print $t; ?>"<?php if(isset($_SESSION['lang']) && $_SESSION['lang'] == $t) { ?> selected="selected"<?php } ?>><?php print $t; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $text_theme; ?>:</div>
|
||||
<div class="cell2">
|
||||
|
Reference in New Issue
Block a user