Skip to content
Permalink
Browse files

confirm image deletion from cache listing; updates #1028

  • Loading branch information...
following5 committed Aug 22, 2017
1 parent 50366dd commit b069df0c21a5a13b99f3c10570d1c8bf0ad60fa6
@@ -36,7 +36,7 @@
$bad_wpgc_message = '<span class="errormsg">' . t('GC waypoint is invalid, must be GCxxxxx') . '</span>';
$nopictures = '<tr><td colspan="2">' . t('No pictures available') . '</td></tr><tr><td colspan="2">&nbsp;</td></tr>';
$pic_editdel = '<a href="{link}" target="_blank">{title}</a> [<a href="picture.php?action=edit&uuid={uuid}" onclick="testListingModified(this)">' . t('edit') . '</a>] [<a href="picture.php?action=delete&uuid={uuid}" onclick="testListingModified(this)">' . t('delete') . '</a>]';
$pic_editdel = '<a href="{link}" target="_blank">{title}</a> [<a onclick="testListingModified(this)" href="picture.php?action=edit&uuid={uuid}">' . t('edit') . '</a>] [<a onclick="testListingModified(this);" href="javascript:if(confirm(\'' . t('Do you really want to delete the picture \\\'{title}\\\'?') . '\')) location.href=\'picture.php?action=delete&uuid={uuid}\'">' . t('delete') . '</a>]';
$pictureline0 = '<tr><td colspan="2">' . $pic_editdel . '</td></tr>';
$pictureline = '<tr><td colspan="2">' . $pic_editdel . ' [<a href="picture.php?action=up&uuid={uuid}" onclick="testListingModified(this)">' . t('move up') . '</a>]</td></tr>';
// Ocprop: <a href=\"http://.*?\.opencaching\.de/images/uploads/.*?\">(.*?)<\/a>.*?\[<a href=\"picture\.php\?action=[a-z]*?\&uuid=(.*?)\">
@@ -1933,4 +1933,5 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2633', 'This Ca
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2634', 'More information', '2017-05-14 21:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2635', 'Close', '2017-05-14 21:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2636', 'This website uses cookies. If you stay on this site you accept the usage of cookies.', '2017-05-14 21:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2640', 'Do you really want to delete the picture \\\'{title}\\\'?', '2017-08-22 18:45:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2641', 'There is already a report in progress for this cache, see below.', '2017-08-23 13:20:00');
@@ -1930,4 +1930,5 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2634', 'DE', 'Mehr Informationen', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2635', 'DE', 'Schließen', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2636', 'DE', 'Diese Webseite verwendet Cookies. Wenn Sie auf der Seite weitersurfen, stimmen Sie der Cookie-Nutzung zu.', '2017-05-14 21:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2640', 'DE', 'Möchtest du das Bild &bdquo;{title}&ldquo; wirklich löschen?', '2017-08-22 18:45:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2641', 'DE', 'Für diesen Cache ist bereits eine Meldung in Arbeit, siehe unten.', '2017-08-23 13:20:00');

0 comments on commit b069df0

Please sign in to comment.
You can’t perform that action at this time.