From 7653691e536183a472a0dd2f81b9b84495f2a57b Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 28 Mar 2021 17:51:57 +0200 Subject: [PATCH] Task #0001735: Standardiser icone --- html/do.php | 4 ++-- html/js/scripts.js | 2 +- include/constant.php | 2 +- include/lib/html_input.class.php | 2 +- include/lib/icon_action.class.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/html/do.php b/html/do.php index fa3b57dea..471e89c9e 100644 --- a/html/do.php +++ b/html/do.php @@ -185,7 +185,7 @@ if (DBVERSION < dossier::get_version($cn)) echo '

' . _("Attention: la version de base de donnée est supérieure à la version du programme, vous devriez mettre à jour") , - '' . $a . '

', + '' . $a . '', ''; } if (DBVERSION > dossier::get_version($cn)) @@ -193,7 +193,7 @@ if (DBVERSION > dossier::get_version($cn)) echo '

' . _("Votre base de données n'est pas à jour") . ' '; $a = _("cliquez ici pour appliquer le patch"); $base =NOALYSS_URL.'/admin-noalyss.php?action=upgrade&sb=database'; - echo '' . $a . '

'; + echo '' . $a . ''; } /* diff --git a/html/js/scripts.js b/html/js/scripts.js index 2057f2635..5e154f7da 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -4039,7 +4039,7 @@ function full_size(p_div) { div_dom=document.getElementById(p_div); if ( ! div_dom ) return; if ( div_dom.hasClassName('fullsize')) { - div_dom.removeClassName('fullsize');$('size_'+p_div).innerHTML=''; + div_dom.removeClassName('fullsize');$('size_'+p_div).innerHTML=''; } else { div_dom.addClassName('fullsize');$('size_'+p_div).innerHTML=''; } diff --git a/include/constant.php b/include/constant.php index 0202670a6..08ae2b758 100644 --- a/include/constant.php +++ b/include/constant.php @@ -84,7 +84,7 @@ global $g_captcha,$g_failed,$g_succeed; $g_captcha=false; $g_failed=""; $g_succeed=""; -define ('SMALLX','×'); +define ('SMALLX','#xe816;'); define ('BUTTONADD',"✚"); define ('SVNINFO',NOALYSS_VERSION); diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php index de5372919..f8810fa40 100755 --- a/include/lib/html_input.class.php +++ b/include/lib/html_input.class.php @@ -861,7 +861,7 @@ class HtmlInput } elseif ($p_mod=='hide') { - $r.=Icon_Action::hide("×", "$('$p_div').hide();$p_js"); + $r.=Icon_Action::hide("#xe816;", "$('$p_div').hide();$p_js"); } elseif ($p_mod=='custom') { diff --git a/include/lib/icon_action.class.php b/include/lib/icon_action.class.php index 8ba3468db..d3ee72610 100644 --- a/include/lib/icon_action.class.php +++ b/include/lib/icon_action.class.php @@ -156,7 +156,7 @@ class Icon_Action static function close($p_div) { $r=''; - $r.=sprintf('×', + $r.=sprintf('', $p_div); return $r; } @@ -413,7 +413,7 @@ class Icon_Action } static function full_size($p_div) { $js=sprintf("full_size('%s')",$p_div); - $icon=""; + $icon=""; $r=sprintf('%s', $p_div,$js,$icon); return $r;