mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-11709-funcionamiento-erroneo-de-los-botones-de-accion-de-la-tarea-backup-pandora-database-y-execute' into 'develop'
Ent 11709 funcionamiento erroneo de los botones de accion de la tarea backup pandora database y execute See merge request artica/pandorafms!6232
This commit is contained in:
commit
298afeebe3
@ -923,16 +923,15 @@ function cron_list_table()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($manage_pandora) {
|
if ($manage_pandora) {
|
||||||
$data[7] .= '<a href="javascript:form_add_cron_task('.$task['id'].',1);">';
|
$data[7] .= html_print_menu_button(
|
||||||
$data[7] .= html_print_image(
|
|
||||||
'images/delete.svg',
|
|
||||||
true,
|
|
||||||
[
|
[
|
||||||
'title' => __('Delete'),
|
'href' => $url.'delete_task=1&id_user_task='.$task['id'],
|
||||||
'class' => 'main_menu_icon invert_filter',
|
'image' => 'images/delete.svg',
|
||||||
]
|
'title' => __('Delete'),
|
||||||
|
'onClick' => 'if (!confirm(\''.__('Are you sure?').'\')) return false;',
|
||||||
|
],
|
||||||
|
true
|
||||||
);
|
);
|
||||||
$data[7] .= '</a>';
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($write_perms || $manage_pandora) {
|
if ($write_perms || $manage_pandora) {
|
||||||
@ -949,17 +948,15 @@ function cron_list_table()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($manage_perms || $manage_pandora) {
|
if ($manage_perms || $manage_pandora) {
|
||||||
$data[7] .= '<a href="'.$url;
|
$data[7] .= html_print_menu_button(
|
||||||
$data[7] .= 'delete_task=1&id_user_task='.$task['id'].'">';
|
|
||||||
$data[7] .= html_print_image(
|
|
||||||
'images/delete.svg',
|
|
||||||
true,
|
|
||||||
[
|
[
|
||||||
'title' => __('Delete'),
|
'href' => $url.'delete_task=1&id_user_task='.$task['id'],
|
||||||
'class' => 'main_menu_icon invert_filter',
|
'image' => 'images/delete.svg',
|
||||||
]
|
'title' => __('Delete'),
|
||||||
|
'onClick' => 'if (!confirm(\''.__('Are you sure?').'\')) return false;',
|
||||||
|
],
|
||||||
|
true
|
||||||
);
|
);
|
||||||
$data[7] .= '</a>';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user