diff --git a/phpBB/search.php b/phpBB/search.php index 5b61879e8d..585bd61f0a 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -623,6 +623,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), 'REPORTED_IMG' => $user->img('icon_topic_reported', 'TOPIC_REPORTED'), 'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'), + 'DELETED_IMG' => $user->img('icon_topic_deleted', 'TOPIC_DELETED'), 'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'), 'U_SEARCH_WORDS' => $u_search, @@ -907,7 +908,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '', 'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '', 'UNAPPROVED_IMG' => ($topic_unapproved || $posts_unapproved) ? $user->img('icon_topic_unapproved', ($topic_unapproved) ? 'TOPIC_UNAPPROVED' : 'POSTS_UNAPPROVED') : '', - 'DELETED_IMG' => ($topic_deleted) ? $user->img('icon_topic_deleted', 'POST_DELETED_RESTORE') : '', 'S_TOPIC_TYPE' => $row['topic_type'], 'S_USER_POSTED' => (!empty($row['topic_posted'])) ? true : false, diff --git a/phpBB/styles/subsilver2/template/confirm_delete_body.html b/phpBB/styles/subsilver2/template/confirm_delete_body.html new file mode 100644 index 0000000000..9e416f5195 --- /dev/null +++ b/phpBB/styles/subsilver2/template/confirm_delete_body.html @@ -0,0 +1,56 @@ + + +
+ +
+ + + + + + + + +
{MESSAGE_TITLE}
+
+

{MESSAGE_TEXT}

+
+ + + + + + + + + + + + + + + +
{L_DELETE_PERMANENTLY}{L_COLON} + + {L_DELETE_TOPIC_PERMANENTLY}{L_DELETE_POST_PERMANENTLY} +
{L_DELETE_REASON}{L_COLON}
{L_DELETE_REASON_EXPLAIN}
+
+ + {S_HIDDEN_FIELDS} +    + +
+ +
+ +
+ +
+ + + +
+ +
+ + diff --git a/phpBB/styles/subsilver2/template/posting_body.html b/phpBB/styles/subsilver2/template/posting_body.html index 39f8f876ba..4f209988d6 100644 --- a/phpBB/styles/subsilver2/template/posting_body.html +++ b/phpBB/styles/subsilver2/template/posting_body.html @@ -114,13 +114,6 @@ - - - {L_DELETE_POST}{L_COLON} - [ {L_DELETE_POST_WARN} ] - - - {L_ICON}{L_COLON} @@ -310,7 +303,7 @@ -   + {L_CHANGE_TOPIC_TO}{L_POST_TOPIC_AS}{L_COLON} {topic_type.L_TOPIC_TYPE}   @@ -319,6 +312,26 @@ + + + {L_DELETE_POST}{L_COLON} + + + + + + + + + + + + +
{L_DELETE_POST_WARN}
{L_DELETE_POST_PERMANENTLY}
+ + + + {L_STICK_TOPIC_FOR}{L_COLON}
{L_STICKY_ANNOUNCE_TIME_LIMIT} diff --git a/phpBB/styles/subsilver2/template/search_results.html b/phpBB/styles/subsilver2/template/search_results.html index 6784e32785..d98079de20 100644 --- a/phpBB/styles/subsilver2/template/search_results.html +++ b/phpBB/styles/subsilver2/template/search_results.html @@ -39,8 +39,8 @@ {searchresults.UNAPPROVED_IMG}  - - {searchresults.DELETED_IMG}  + + {DELETED_IMG}  {REPORTED_IMG}  diff --git a/phpBB/styles/subsilver2/template/viewforum_body.html b/phpBB/styles/subsilver2/template/viewforum_body.html index 611613f17d..d07e9a1372 100644 --- a/phpBB/styles/subsilver2/template/viewforum_body.html +++ b/phpBB/styles/subsilver2/template/viewforum_body.html @@ -43,10 +43,10 @@ {NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TYPE} {topicrow.TOPIC_TITLE} - {UNAPPROVED_IMG}  + {topicrow.UNAPPROVED_IMG}  - {topicrow.DELETED_IMG}  + {DELETED_IMG}  {REPORTED_IMG}  @@ -206,11 +206,11 @@ {NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TYPE} {topicrow.TOPIC_TITLE} - {UNAPPROVED_IMG}  + {topicrow.UNAPPROVED_IMG}  + + + {DELETED_IMG}  - - {DELETED_IMG}  - {REPORTED_IMG}  diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 4b4007949c..c180bd098d 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -741,6 +741,7 @@ if (sizeof($topic_list)) 'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '', 'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '', 'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && $row['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '', + 'UNAPPROVED_IMG' => ($topic_unapproved || $posts_unapproved) ? $user->img('icon_topic_unapproved', ($topic_unapproved) ? 'TOPIC_UNAPPROVED' : 'POSTS_UNAPPROVED') : '', 'S_TOPIC_TYPE' => $row['topic_type'], 'S_USER_POSTED' => (isset($row['topic_posted']) && $row['topic_posted']) ? true : false,