Skip to content
Permalink
Browse files

135: ask before delete pictures at logentries, added translation; fixes

  • Loading branch information...
Schrottie authored and bohrsty committed Sep 24, 2013
1 parent c1b5eb5 commit 50e722547f1f39b2e5719126719a700bbf159e31
Showing with 5 additions and 2 deletions.
  1. +4 −1 htdocs/doc/sql/static-data/data.sql
  2. +1 −1 htdocs/templates2/ocstyle/res_logentry_logitem.tpl
@@ -2593,6 +2593,7 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2165', 'The cac
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2166', 'The modifications can be checked via vandalism restore function.', '2010-08-28 11:48:04');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2167', 'OC Admins', '2013-08-24 12:56:09');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2168', 'Newest log entries for caches of %1', '2013-08-24 12:56:14');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2169', 'Do you really want to delete this picture?', '2013-10-01 18:10:14');

-- Table sys_trans_ref
SET NAMES 'utf8';
@@ -4977,6 +4978,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('2165'
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('2166', './editcache.php', '491');
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('2167', './templates2/ocstyle/admins.tpl', '10');
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('2168', './templates2/ocstyle/newlogs.tpl', '14');
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('2169', './templates2/ocstyle/res_logentry_logitem.tpl', '91');

-- Table sys_trans_text
SET NAMES 'utf8';
@@ -6668,6 +6670,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2166', 'DE', 'Was geändert wurde, ist über die Vandalismus-Revertierfunktion einsehbar.', '2010-08-28 11:48:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2167', 'DE', 'OC-Admins', '2013-08-24 11:48:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2168', 'DE', 'Neueste Logeinträge für Caches von %1', '2013-08-24 11:48:06');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2169', 'DE', 'Willst du dieses Bild wirklich löschen?', '2013-10-01 18:10:24');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1', 'EN', 'Reorder IDs', '2010-09-02 00:15:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2', 'EN', 'The database could not be reconnected.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('3', 'EN', 'Testing – please do not login', '2010-08-28 11:48:07');
@@ -13097,4 +13100,4 @@ TRUNCATE TABLE `watches_waitingtypes`;
INSERT INTO `watches_waitingtypes` (`id`, `watchtype`) VALUES ('1', 'ownerlog');
INSERT INTO `watches_waitingtypes` (`id`, `watchtype`) VALUES ('2', 'cache_watches');

INSERT INTO `sysconfig` (`name`, `value`) VALUES ('datasql_checksum', '02ca517cfd7e850d070818d80581b8ca') ON DUPLICATE KEY UPDATE `value`='02ca517cfd7e850d070818d80581b8ca';
INSERT INTO `sysconfig` (`name`, `value`) VALUES ('datasql_checksum', '02ca517cfd7e850d070818d80581b8ca') ON DUPLICATE KEY UPDATE `value`='02ca517cfd7e850d070818d80581b8ca';
@@ -87,7 +87,7 @@
{if $logItem.userid==$login.userid}
 
[<a href="picture.php?action=edit&uuid={$pictureItem.uuid|escape}">{t}Edit{/t}</a>]
[<a href="picture.php?action=delete&uuid={$pictureItem.uuid|escape}">{t}Delete{/t}</a>]
[<a href="javascript:if(confirm('{t escape=js}Do you really want to delete this picture?{/t}'))location.href='picture.php?action=delete&uuid={$pictureItem.uuid|escape}'">{t}Delete{/t}</a>]
{/if}
<br />
{/foreach}

0 comments on commit 50e7225

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