From ac9217e99072618ec0ecac8ccdf1cc941cddda0d Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 5 Jul 2018 17:23:21 +0200 Subject: [PATCH 1/2] Fix minori --- modules/anagrafiche/buttons.php | 8 ++++---- templates/fatture/body.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/anagrafiche/buttons.php b/modules/anagrafiche/buttons.php index e97940d8e..038e75e9a 100644 --- a/modules/anagrafiche/buttons.php +++ b/modules/anagrafiche/buttons.php @@ -21,13 +21,13 @@ if (in_array($id_cliente, $tipi_anagrafica)) { '.tr('Nuovo contratto').' -
  • - '.tr('Nuovo ddt').' -
  • -
  • '.tr('Nuovo ordine').'
  • + +
  • + '.tr('Nuovo ddt').' +
  • '.tr('Nuova fattura').' diff --git a/templates/fatture/body.php b/templates/fatture/body.php index 2c2001e20..1a375957c 100644 --- a/templates/fatture/body.php +++ b/templates/fatture/body.php @@ -140,7 +140,7 @@ foreach ($righe as $r) { if ($r['sconto'] > 0) { echo " -
    - ".tr('sconto _TOT_ _TYPE_', [ +
    ".tr('sconto _TOT_ _TYPE_', [ '_TOT_' => Translator::numberToLocale($r['sconto_unitario']), '_TYPE_' => ($r['tipo_sconto'] == 'PRC' ? '%' : '€'), ]).''; @@ -163,7 +163,7 @@ foreach ($righe as $r) { if ($r['sconto'] > 0) { echo " -
    ".tr('sconto di _TOT_ _TYPE_', [ +
    ".tr('sconto _TOT_ _TYPE_', [ '_TOT_' => Translator::numberToLocale($r['sconto']), '_TYPE_' => '€', ]).''; From 47d11a237bf601742c85b3177fa6ad04af379956 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Thu, 5 Jul 2018 18:15:48 +0200 Subject: [PATCH 2/2] Standard per l'aggiornamento --- include/init/update.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/init/update.php b/include/init/update.php index f72023190..ba44da306 100644 --- a/include/init/update.php +++ b/include/init/update.php @@ -80,18 +80,13 @@ if (filter('action') == 'do_update') { echo '

    '.tr("E' fortemente consigliato rimuovere i permessi di scrittura dal file _FILE_", [ '_FILE_' => 'config.inc.php', - ]).'.

    + ]).'.

    '; + } + echo '
    '.tr('Continua').' '; - } else { - // Rimostro la finestra di login - echo ' - '; - } } exit();