#11683 fixed buttons in calendar

This commit is contained in:
Daniel Cebrian 2023-07-06 17:22:49 +02:00
parent 141c34618e
commit aac6e147dc
2 changed files with 5 additions and 5 deletions

View File

@ -701,7 +701,7 @@ class CalendarManager
true, true,
[ [
'title' => __('Edit'), 'title' => __('Edit'),
'class' => 'invert_filter', 'class' => 'invert_filter main_menu_icon',
] ]
); );
$tmp->options .= '</a>'; $tmp->options .= '</a>';
@ -735,7 +735,7 @@ class CalendarManager
true, true,
[ [
'title' => __('Delete'), 'title' => __('Delete'),
'class' => 'invert_filter', 'class' => 'invert_filter main_menu_icon',
] ]
); );
$tmp->options .= '</a>'; $tmp->options .= '</a>';

View File

@ -446,7 +446,7 @@ for ($month = 1; $month <= 12; $month++) {
$cal_table->data[$cal_line][$week] .= html_print_image( $cal_table->data[$cal_line][$week] .= html_print_image(
'images/zoom.png', 'images/zoom.png',
true, true,
['class' => 'invert_filter'] ['class' => 'invert_filter special_days']
).'</a>'; ).'</a>';
if ($is_management_allowed === true) { if ($is_management_allowed === true) {
@ -455,7 +455,7 @@ for ($month = 1; $month <= 12; $month++) {
$cal_table->data[$cal_line][$week] .= '>'.html_print_image( $cal_table->data[$cal_line][$week] .= '>'.html_print_image(
'images/edit.svg', 'images/edit.svg',
true, true,
['class' => 'invert_filter'] ['class' => 'invert_filter main_menu_icon']
).'</a> &nbsp;'; ).'</a> &nbsp;';
$url_delete = $url.'&op=delete&id='.$special_day['id']; $url_delete = $url.'&op=delete&id='.$special_day['id'];
$script_delete = 'if (!confirm(\''.__('Are you sure?').'\')) return false;'; $script_delete = 'if (!confirm(\''.__('Are you sure?').'\')) return false;';
@ -467,7 +467,7 @@ for ($month = 1; $month <= 12; $month++) {
$cal_table->data[$cal_line][$week] .= html_print_image( $cal_table->data[$cal_line][$week] .= html_print_image(
'images/delete.svg', 'images/delete.svg',
true, true,
['class' => 'invert_filter'] ['class' => 'invert_filter main_menu_icon']
).'</a>'; ).'</a>';
} }
} }