diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-31 15:40:45 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-01-31 15:40:45 +0000 |
| commit | a9f10f7df9568d1e513dbe14dd402994acc34bf3 (patch) | |
| tree | 2674e31566716ef1dabf7c0f6cea2ef0d0d07742 | |
| parent | 2aca0f5e15da4649806341aa06c2885cd4863d93 (diff) | |
| download | forums-a9f10f7df9568d1e513dbe14dd402994acc34bf3.tar forums-a9f10f7df9568d1e513dbe14dd402994acc34bf3.tar.gz forums-a9f10f7df9568d1e513dbe14dd402994acc34bf3.tar.bz2 forums-a9f10f7df9568d1e513dbe14dd402994acc34bf3.tar.xz forums-a9f10f7df9568d1e513dbe14dd402994acc34bf3.zip | |
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
| -rw-r--r-- | phpBB/templates/subSilver/viewforum_body.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/templates/subSilver/viewforum_body.html b/phpBB/templates/subSilver/viewforum_body.html index 85d4f35ef2..6e12fdba94 100644 --- a/phpBB/templates/subSilver/viewforum_body.html +++ b/phpBB/templates/subSilver/viewforum_body.html @@ -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> |
