Task #0001735: Standardiser icone

This commit is contained in:
sparkyx 2021-03-28 17:51:57 +02:00
parent b00558ee26
commit 7653691e53
5 changed files with 7 additions and 7 deletions

View file

@ -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>';
}
/*

View file

@ -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;';
}

View file

@ -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);

View file

@ -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')
{

View file

@ -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;