diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-08-21 09:51:26 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-08-21 09:51:26 +0200 |
commit | 06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c (patch) | |
tree | c0b1474ac507e3377d8080eb42444566af645458 /phpBB/includes/mcp/mcp_main.php | |
parent | f054ab972d40d3aba8022fb3f2ddec04d379c517 (diff) | |
parent | b14043b276f9007efcedfd49c17445835f4f8bbb (diff) | |
download | forums-06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c.tar forums-06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c.tar.gz forums-06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c.tar.bz2 forums-06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c.tar.xz forums-06bfae8edbd983a4b1c9e01ed3e05e6c8145b50c.zip |
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index d5ed5522f2..0270166ad0 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -907,11 +907,12 @@ function mcp_delete_topic($topic_ids, $is_soft = false, $soft_delete_reason = '' } $template->assign_vars(array( - 'S_SHADOW_TOPICS' => $only_shadow, - 'S_SOFTDELETED' => $only_softdeleted, - 'S_TOPIC_MODE' => true, - 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), - 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), + 'S_SHADOW_TOPICS' => $only_shadow, + 'S_SOFTDELETED' => $only_softdeleted, + 'S_TOPIC_MODE' => true, + 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), + 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), + 'DELETE_TOPIC_PERMANENTLY_EXPLAIN' => $user->lang('DELETE_TOPIC_PERMANENTLY', sizeof($topic_ids)), )); $l_confirm = (sizeof($topic_ids) == 1) ? 'DELETE_TOPIC' : 'DELETE_TOPICS'; @@ -1162,9 +1163,10 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '', } $template->assign_vars(array( - 'S_SOFTDELETED' => $only_softdeleted, - 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), - 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), + 'S_SOFTDELETED' => $only_softdeleted, + 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), + 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), + 'DELETE_POST_PERMANENTLY_EXPLAIN' => $user->lang('DELETE_POST_PERMANENTLY', sizeof($post_ids)), )); $l_confirm = (sizeof($post_ids) == 1) ? 'DELETE_POST' : 'DELETE_POSTS'; |