noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/11: Task #0001735: Standardiser icone


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/11: Task #0001735: Standardiser icone
Date: Wed, 31 Mar 2021 13:07:05 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 7653691e536183a472a0dd2f81b9b84495f2a57b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Mar 28 17:51:57 2021 +0200

    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 fa3b57d..471e89c 100644
--- a/html/do.php
+++ b/html/do.php
@@ -185,7 +185,7 @@ if (DBVERSION < dossier::get_version($cn))
 
     echo '<h2 class="error" style="font-size:12px">' .
             _("Attention: la version de base de donnée est supérieure à la 
version du programme, vous devriez mettre à jour") ,
-        '<a hreF="' . $base . '">' . $a . '</a></h2>',
+        '<a class="text-warning line"  hreF="' . $base . '">' . $a . 
'</a></h2>',
             '</h2>';
 }
 if (DBVERSION > dossier::get_version($cn))
@@ -193,7 +193,7 @@ if (DBVERSION > dossier::get_version($cn))
     echo '<h2 class="error" style="font-size:12px">' . _("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 hreF="' . $base . '">' . $a . '</a></h2>';
+    echo '<a class="text-warning line" href="' . $base . '">' . $a . 
'</a></h2>';
 }
 
 /*
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 2057f26..5e154f7 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='&#xe82a;';
+       
div_dom.removeClassName('fullsize');$('size_'+p_div).innerHTML='&#xe80a;';
     } else {
         div_dom.addClassName('fullsize');$('size_'+p_div).innerHTML='&#xe83d;';
     }
diff --git a/include/constant.php b/include/constant.php
index 0202670..08ae2b7 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="<span style=\"font-size:18px;color:red\">&#x2716;</span>";
 $g_succeed="<span style=\"font-size:18px;color:green\">&#x2713;</span>";
-define ('SMALLX','&times;');
+define ('SMALLX','#xe816;');
 define ('BUTTONADD',"&#10010;");
 
 define ('SVNINFO',NOALYSS_VERSION);
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index de53729..f8810fa 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("&times;", "$('$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 8ba3468..d3ee726 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('<A class="icon" style="font-size:150%%" 
onclick="removeDiv(\'%s\')">&times;</A>',
+        $r.=sprintf('<A class="icon text-danger"  
onclick="removeDiv(\'%s\')">&#xe816;</A>',
                 $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="&#xe82a;";
+        $icon="&#xe80a;";
         $r=sprintf('<span id="size_%s" onclick="%s" class="icon 
smallicon">%s</span>',
                 $p_div,$js,$icon);
         return $r;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]