Fix bug di configurazione

This commit is contained in:
Thomas Zilio 2019-07-08 12:36:51 +02:00
parent a13e399c93
commit 6214bd6092
2 changed files with 3 additions and 6 deletions

View File

@ -132,6 +132,8 @@ if (Auth::check()) {
echo '
<script>
globals = {
rootdir: \''.$rootdir.'\',
locale: \''.$lang.'\',
full_locale: \''.$lang.'_'.strtoupper($lang).'\',
};

View File

@ -83,7 +83,7 @@ echo '
<div class="row">
<div class="col-md-4">
{[ "type": "select", "label": "'.tr('Nazione').'", "name": "id_nazione", "ajax-source": "nazioni" ]}
{[ "type": "select", "label": "'.tr('Nazione').'", "name": "id_nazione", "values": "query=SELECT id AS id, CONCAT_WS(\' - \', iso2, nome) AS descrizione FROM an_nazioni ORDER BY CASE WHEN iso2=\'IT\' THEN -1 ELSE iso2 END" ]}
</div>
<div class="col-md-4">
@ -93,11 +93,6 @@ echo '
{[ "type": "text", "label": "'.tr('Cellulare').'", "name": "cellulare", "class": "text-center", "icon-before": "<i class=\"fa fa-mobile\"></i>" ]}
</div>
</div>
<div class="row">