mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
#11713 fix title buttons
This commit is contained in:
parent
1937c3fa00
commit
135c6835bd
@ -926,7 +926,7 @@ foreach ($simple_alerts as $alert) {
|
|||||||
'padding:0px; width: 22px; height: 22px;',
|
'padding:0px; width: 22px; height: 22px;',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'class' => 'main_menu_icon',
|
'class' => 'invert filter main_menu_icon',
|
||||||
'title' => __('Disable'),
|
'title' => __('Disable'),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
@ -1151,8 +1151,7 @@ if (! $id_agente) {
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$("input[name=disable]").attr ("title", "<?php echo __('Disable'); ?>")
|
$("input[name=disable]").hover (function () {
|
||||||
.hover (function () {
|
|
||||||
$(this).attr ("src",
|
$(this).attr ("src",
|
||||||
<?php
|
<?php
|
||||||
echo '"'.html_print_image(
|
echo '"'.html_print_image(
|
||||||
@ -1178,8 +1177,7 @@ if (! $id_agente) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("input[name=enable]").attr ("title", "<?php echo __('Enable'); ?>")
|
$("input[name=enable]").hover (function () {
|
||||||
.hover (function () {
|
|
||||||
$(this).attr ("src",
|
$(this).attr ("src",
|
||||||
<?php
|
<?php
|
||||||
echo '"'.html_print_image(
|
echo '"'.html_print_image(
|
||||||
@ -1205,8 +1203,7 @@ if (! $id_agente) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("input[name=standby_on]").attr ("title", "<?php echo __('Set off standby'); ?>")
|
$("input[name=standby_on]").hover (function () {
|
||||||
.hover (function () {
|
|
||||||
$(this).attr ("src",
|
$(this).attr ("src",
|
||||||
<?php
|
<?php
|
||||||
echo '"'.html_print_image(
|
echo '"'.html_print_image(
|
||||||
@ -1232,8 +1229,7 @@ if (! $id_agente) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("input[name=standby_off]").attr ("title", "<?php echo __('Set standby'); ?>")
|
$("input[name=standby_off]").hover (function () {
|
||||||
.hover (function () {
|
|
||||||
$(this).attr ("src",
|
$(this).attr ("src",
|
||||||
<?php
|
<?php
|
||||||
echo '"'.html_print_image(
|
echo '"'.html_print_image(
|
||||||
|
@ -3342,12 +3342,10 @@ function html_print_input_image($name, $src, $value, $style='', $return=false, $
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($attrs as $attribute) {
|
foreach ($attrs as $attribute) {
|
||||||
if ($attribute === 'title') {
|
if ($attribute !== 'title') {
|
||||||
continue;
|
if (isset($options[$attribute])) {
|
||||||
}
|
$output .= ' '.$attribute.'="'.io_safe_input_html($options[$attribute]).'"';
|
||||||
|
}
|
||||||
if (isset($options[$attribute])) {
|
|
||||||
$output .= ' '.$attribute.'="'.io_safe_input_html($options[$attribute]).'"';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4749,7 +4749,7 @@ form ul.form_flex li ul li {
|
|||||||
.flex_center > form > input[type="image"] {
|
.flex_center > form > input[type="image"] {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 14px;
|
width: 20px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user