mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
Don't output topic icon column for forum if topic icons aren't enabled for it
git-svn-id: file:///svn/phpbb/trunk@3445 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2aca0f5e15
commit
a9f10f7df9
1 changed files with 14 additions and 0 deletions
|
@ -44,7 +44,11 @@
|
|||
<!-- IF S_IS_POSTABLE -->
|
||||
<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
|
||||
<tr>
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
<th class="thCornerL" colspan="3" height="25" align="center" nowrap="nowrap"> {L_TOPICS} </th>
|
||||
<!-- ELSE -->
|
||||
<th class="thCornerL" colspan="2" height="25" align="center" nowrap="nowrap"> {L_TOPICS} </th>
|
||||
<!-- ENDIF -->
|
||||
<th class="thTop" width="100" align="center" nowrap="nowrap"> {L_AUTHOR} </th>
|
||||
<th class="thTop" width="50" align="center" nowrap="nowrap"> {L_REPLIES} </th>
|
||||
<th class="thTop" width="50" align="center" nowrap="nowrap"> {L_VIEWS} </th>
|
||||
|
@ -54,7 +58,9 @@
|
|||
<!-- BEGIN topicrow -->
|
||||
<tr>
|
||||
<td class="row1" width="20" align="center" valign="middle">{topicrow.TOPIC_FOLDER_IMG}</td>
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
<td class="row1" align="center" valign="middle">{topicrow.TOPIC_ICON}</td>
|
||||
<!-- ENDIF -->
|
||||
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
|
||||
<td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
|
||||
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
|
||||
|
@ -64,11 +70,19 @@
|
|||
</tr>
|
||||
<!-- BEGINELSE -->
|
||||
<tr>
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
<td class="row1" colspan="8" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
|
||||
<!-- ELSE -->
|
||||
<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
|
||||
<!-- ENDIF -->
|
||||
</tr>
|
||||
<!-- END topicrow -->
|
||||
<tr><form method="post" action="{S_FORUM_ACTION}">
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
<td class="catBottom" colspan="8" height="28" align="center" valign="middle"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS} {L_SORT_BY} {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input type="submit" class="liteoption" value="{L_GO}" name="sort" /></span></td>
|
||||
<!-- ELSE -->
|
||||
<td class="catBottom" colspan="7" height="28" align="center" valign="middle"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS} {L_SORT_BY} {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input type="submit" class="liteoption" value="{L_GO}" name="sort" /></span></td>
|
||||
<!-- ENDIF -->
|
||||
</form></tr>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue