2010-09-27 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php: Added confirm popup to delete event button git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a05d88d184
commit
d3f82277fa
|
@ -1,3 +1,8 @@
|
|||
2010-09-27 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events_list.php: Added confirm popup
|
||||
to delete event button
|
||||
|
||||
2010-09-27 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/reporting/graph_builder.php: Fixed typo bug
|
||||
|
|
|
@ -386,7 +386,7 @@ foreach ($result as $event) {
|
|||
// Delete event
|
||||
if (give_acl ($config["id_user"], $event["id_grupo"], "IM") == 1) {
|
||||
if($event['estado'] != 2) {
|
||||
$data[4] .= '<a class="delete_event" href="#" onclick="return false" id="delete-'.$event['id_evento'].'">';
|
||||
$data[4] .= '<a class="delete_event" href="#" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;" id="delete-'.$event['id_evento'].'">';
|
||||
$data[4] .= print_image ("images/cross.png", true,
|
||||
array ("title" => __('Delete event')));
|
||||
$data[4] .= '</a> ';
|
||||
|
|
Loading…
Reference in New Issue