mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
8 lines
374 B
PHP
8 lines
374 B
PHP
<select id="language-chooser" onchange="refreshWithLangPrefer()">
|
|
@foreach(config('locales') as $code => $langInfo)
|
|
@if (!isset($langInfo['alias']))
|
|
<option value="{{ $code }}" {!! $code == config('app.locale') ? 'selected="selected"' : '' !!}>{{ $langInfo['short_name'] }} - {{ $langInfo['name'] }}</option>
|
|
@endif
|
|
@endforeach
|
|
</select>
|