From 4d9d27e9da5d2b892af6362742f39fc3653f9cd9 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 30 Jul 2019 16:51:33 +0200 Subject: [PATCH] Fix minori --- assets/src/css/style.css | 4 ++ include/top.php | 16 ++++---- modules/utenti/components/photo.php | 6 +++ modules/utenti/info.php | 5 +-- modules/utenti/user.php | 7 +++- src/HTMLBuilder/Handler/DefaultHandler.php | 10 ++++- src/HTMLBuilder/Wrapper/HTMLWrapper.php | 45 +++++++++++++--------- 7 files changed, 62 insertions(+), 31 deletions(-) diff --git a/assets/src/css/style.css b/assets/src/css/style.css index 32d46fc87..2439cc7d0 100644 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -871,3 +871,7 @@ input.small-width { list-style: none; margin-left: 11px; } + +.progress .progress-bar span{ + color:#000; +} \ No newline at end of file diff --git a/include/top.php b/include/top.php index 13102de78..2b9f52438 100644 --- a/include/top.php +++ b/include/top.php @@ -97,15 +97,15 @@ if (Auth::check()) { } echo ' password: { - "wordMinLength": "'.tr('La tua password è troppo corta').'", - "wordMaxLength": "'.tr('La tua password è troppo lunga').'", - "wordInvalidChar": "'.tr('La tua password contiene un carattere non valido').'", + "wordMinLength": "'.tr('La password è troppo corta').'", + "wordMaxLength": "'.tr('La password è troppo lunga').'", + "wordInvalidChar": "'.tr('La password contiene un carattere non valido').'", "wordNotEmail": "'.tr('Non usare la tua e-mail come password').'", - "wordSimilarToUsername": "'.tr('La tua password non può contenere il tuo nome').'", + "wordSimilarToUsername": "'.tr('La password non può contenere il tuo nome').'", "wordTwoCharacterClasses": "'.tr('Usa classi di caratteri diversi').'", - "wordRepetitions": "'.tr('Troppe ripetizioni').'", - "wordSequences": "'.tr('La tua password contiene sequenze').'", - "errorList": "'.tr('Errori').':", + "wordRepetitions": "'.tr('La password contiene ripetizioni').'", + "wordSequences": "'.tr('La password contiene sequenze').'", + "errorList": "'.tr('Attenzione').':", "veryWeak": "'.tr('Molto debole').'", "weak": "'.tr('Debole').'", "normal": "'.tr('Normale').'", @@ -338,7 +338,7 @@ if (Auth::check()) { $user_photo = $user->photo; if ($user_photo) { echo ' - '.$user['username'].''; + '.$user['username'].''; } else { echo ' '; diff --git a/modules/utenti/components/photo.php b/modules/utenti/components/photo.php index a17e789f3..2ecfc2c7f 100644 --- a/modules/utenti/components/photo.php +++ b/modules/utenti/components/photo.php @@ -2,6 +2,12 @@ include_once __DIR__.'/../../core.php'; +$user_photo = $user->photo; +if ($user_photo) { + echo ' +
'.$user['username'].'
'; +} + echo '
diff --git a/modules/utenti/info.php b/modules/utenti/info.php index ec7747415..4aebd58e3 100644 --- a/modules/utenti/info.php +++ b/modules/utenti/info.php @@ -25,7 +25,7 @@ $module = Modules::get('Utenti e permessi'); echo '
-
+

'.$user['username'].'

'.$user['gruppo'].'
@@ -35,7 +35,7 @@ echo ' $user_photo = $user->photo; if ($user_photo) { echo ' - '.$user['username'].''; + '.$user['username'].''; } else { echo ' '; @@ -43,7 +43,6 @@ if ($user_photo) { echo '
-