mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9657] Finish subsilver2 viewforum and viewtopic
PHPBB3-9657
This commit is contained in:
parent
1970ee9854
commit
5da250148b
8 changed files with 51 additions and 14 deletions
|
@ -143,9 +143,9 @@
|
|||
<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<dl class="icon {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
|
||||
<!-- IF topicrow.DELETED_IMG --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.DELETED_IMG}</a><!-- ENDIF --><br />
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a> <!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_DELETED --><a href="{topicrow.U_MCP_QUEUE}">{DELETED_IMG}</a><!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
|
||||
<!-- IF .topicrow.pagination -->
|
||||
<div class="pagination">
|
||||
<ul>
|
||||
|
|
|
@ -200,7 +200,7 @@
|
|||
<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
|
||||
<!-- IF postrow.DELETED_MESSAGE or postrow.DELETE_REASON -->
|
||||
<div class="notice post_deleted_msg">{postrow.DELETED_MESSAGE}
|
||||
<!-- IF postrow.DELETE_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.DELETE_REASON}</em><!-- ENDIF -->
|
||||
<!-- IF postrow.DELETE_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{postrow.DELETE_REASON}</em><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ELSEIF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
|
||||
<div class="notice">{postrow.EDITED_MESSAGE}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{UNAPPROVED_IMG}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.DELETED_IMG -->
|
||||
<!-- IF topicrow.S_TOPIC_DELETED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{topicrow.DELETED_IMG}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
|
@ -206,8 +206,11 @@
|
|||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="imageset">{NEWEST_POST_IMG}</a><!-- ENDIF -->
|
||||
{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}{L_COLON} {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{topicrow.UNAPPROVED_IMG}</a>
|
||||
<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{UNAPPROVED_IMG}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_DELETED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{DELETED_IMG}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
<a href="{topicrow.U_MCP_REPORT}" class="imageset">{REPORTED_IMG}</a>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -136,8 +136,19 @@
|
|||
<!-- ENDIF -->
|
||||
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||
|
||||
<!-- IF postrow.S_IGNORE_POST -->
|
||||
<td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
|
||||
<!-- IF postrow.S_POST_HIDDEN -->
|
||||
<td class="gensmall" colspan="2" height="25" align="center">
|
||||
<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF -->
|
||||
<a name="p{postrow.POST_ID}"></a>
|
||||
<!-- IF postrow.S_POST_HIDDEN -->
|
||||
<!-- IF postrow.S_POST_DELETED -->
|
||||
{postrow.L_POST_DELETED_MESSAGE}
|
||||
<!-- ELSEIF postrow.S_IGNORE_POST -->
|
||||
{postrow.L_IGNORE_POST}
|
||||
<!-- ENDIF -->
|
||||
<br />{postrow.L_POST_DISPLAY}
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<!-- ELSE -->
|
||||
|
||||
<td align="center" valign="middle">
|
||||
|
@ -207,10 +218,14 @@
|
|||
<table width="100%" cellspacing="5">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
|
||||
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_DELETED or postrow.S_POST_REPORTED -->
|
||||
<table width="100%" cellspacing="0">
|
||||
<tr>
|
||||
<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
|
||||
<td class="gensmall">
|
||||
<!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /> <!-- ENDIF -->
|
||||
<!-- IF postrow.S_POST_DELETED --><span class="postapprove">{DELETED_IMG} <a href="{postrow.U_MCP_RESTORE}">{L_POST_DELETED}</a></span><br /> <!-- ENDIF -->
|
||||
<!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -241,7 +256,22 @@
|
|||
<div class="postbody"><br />_________________<br />{postrow.SIGNATURE}</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
|
||||
<!-- IF postrow.DELETED_MESSAGE or postrow.DELETE_REASON -->
|
||||
<!-- IF postrow.DELETE_REASON -->
|
||||
<br /><br />
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<td class="row3"><span class="gensmall">{postrow.DELETED_MESSAGE}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="genmed">{postrow.DELETE_REASON}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ELSE -->
|
||||
<br /><br />
|
||||
<span class="gensmall">{postrow.DELETED_MESSAGE}</span>
|
||||
<!-- ENDIF -->
|
||||
<!-- ELSIF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
|
||||
<!-- IF postrow.EDIT_REASON -->
|
||||
<br /><br />
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
|
|
BIN
phpBB/styles/subsilver2/theme/images/icon_topic_deleted.png
Normal file
BIN
phpBB/styles/subsilver2/theme/images/icon_topic_deleted.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -985,6 +985,11 @@ a.imageset {
|
|||
padding-left: 19px;
|
||||
padding-top: 18px;
|
||||
}
|
||||
.imageset.icon_topic_deleted {
|
||||
background-image: url("./images/icon_topic_deleted.png");
|
||||
padding-left: 14px;
|
||||
padding-top: 14px;
|
||||
}
|
||||
|
||||
|
||||
/* English images for fallback */
|
||||
|
|
|
@ -324,6 +324,7 @@ $template->assign_vars(array(
|
|||
'FOLDER_MOVED_IMG' => $user->img('topic_moved', 'TOPIC_MOVED'),
|
||||
'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'),
|
||||
'GOTO_PAGE_IMG' => $user->img('icon_post_target', 'GOTO_PAGE'),
|
||||
|
||||
'L_NO_TOPICS' => ($forum_data['forum_status'] == ITEM_LOCKED) ? $user->lang['POST_FORUM_LOCKED'] : $user->lang['NO_TOPICS'],
|
||||
|
@ -740,8 +741,6 @@ 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') : '',
|
||||
'DELETED_IMG' => ($topic_deleted) ? $user->img('icon_topic_deleted', 'POSTS_DELETED') : '',
|
||||
|
||||
'S_TOPIC_TYPE' => $row['topic_type'],
|
||||
'S_USER_POSTED' => (isset($row['topic_posted']) && $row['topic_posted']) ? true : false,
|
||||
|
|
|
@ -1665,7 +1665,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
|||
'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? append_sid("{$phpbb_root_path}report.$phpEx", 'f=' . $forum_id . '&p=' . $row['post_id']) : '',
|
||||
'U_MCP_REPORT' => ($auth->acl_get('m_report', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',
|
||||
'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',
|
||||
'U_MCP_RESTORE' => ($auth->acl_get('m_restore', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=deleted_posts&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',
|
||||
'U_MCP_RESTORE' => ($auth->acl_get('m_approve', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=' . (($topic_data['topic_visibility'] != ITEM_DELETED) ? 'deleted_posts' : 'deleted_topics') . '&f=' . $forum_id . '&p=' . $row['post_id'], true, $user->session_id) : '',
|
||||
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . '#p' . $row['post_id'],
|
||||
'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$post_list[$i + 1]])) ? $rowset[$post_list[$i + 1]]['post_id'] : '',
|
||||
'U_PREV_POST_ID' => $prev_post_id,
|
||||
|
|
Loading…
Add table
Reference in a new issue