aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subSilver/template
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-04-11 21:32:22 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-04-11 21:32:22 +0000
commitd92380657d555a3f8267652183d02e2aae87511a (patch)
treed5e94c57f53ea2ff8fdbda08bf0d9b6692021eba /phpBB/styles/subSilver/template
parent557d09bb72f7e9848b6fc50ed4e2ba651b89e743 (diff)
downloadforums-d92380657d555a3f8267652183d02e2aae87511a.tar
forums-d92380657d555a3f8267652183d02e2aae87511a.tar.gz
forums-d92380657d555a3f8267652183d02e2aae87511a.tar.bz2
forums-d92380657d555a3f8267652183d02e2aae87511a.tar.xz
forums-d92380657d555a3f8267652183d02e2aae87511a.zip
- made path information available to template (T_)
- eased topic/post icon in templates (removing hardcoded img) - added S_FIRST_ROW and S_LAST_ROW to template engine git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/subSilver/template')
-rw-r--r--phpBB/styles/subSilver/template/mcp_topic.html2
-rw-r--r--phpBB/styles/subSilver/template/search_results.html6
-rw-r--r--phpBB/styles/subSilver/template/viewforum_body.html4
-rw-r--r--phpBB/styles/subSilver/template/viewtopic_body.html2
4 files changed, 9 insertions, 5 deletions
diff --git a/phpBB/styles/subSilver/template/mcp_topic.html b/phpBB/styles/subSilver/template/mcp_topic.html
index ef772ae36b..c6642b720f 100644
--- a/phpBB/styles/subSilver/template/mcp_topic.html
+++ b/phpBB/styles/subSilver/template/mcp_topic.html
@@ -104,7 +104,7 @@
<td class="gensmall" nowrap="nowrap">&nbsp;<b><a style="color:red" href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></b>&nbsp;</td>
<!-- ENDIF -->
<td width="100%">&nbsp;</td>
- <td width="10" nowrap="nowrap">{postrow.POST_ICON_IMG}</td>
+ <td width="10" nowrap="nowrap">{postrow.MINI_POST_IMG}</td>
<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {postrow.POST_DATE}</td>
</tr>
</table>
diff --git a/phpBB/styles/subSilver/template/search_results.html b/phpBB/styles/subSilver/template/search_results.html
index 451b9a2406..6701cc12ff 100644
--- a/phpBB/styles/subSilver/template/search_results.html
+++ b/phpBB/styles/subSilver/template/search_results.html
@@ -30,7 +30,11 @@
<!-- BEGIN searchresults -->
<tr valign="middle">
<td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td>
- <td class="row1" width="25" align="center">{searchresults.TOPIC_ICON_IMG}</td>
+ <td class="row1" width="25" align="center">
+ <!-- IF {searchresults.TOPIC_ICON_IMG} -->
+ <img src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" width="{searchresults.TOPIC_ICON_IMG_WIDTH}" height="{searchresults.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" />
+ <!-- ENDIF -->
+ </td>
<td class="row1">
<!-- IF searchresults.S_TOPIC_UNAPPROVED -->
<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
diff --git a/phpBB/styles/subSilver/template/viewforum_body.html b/phpBB/styles/subSilver/template/viewforum_body.html
index 76d408f506..0f9f4b1829 100644
--- a/phpBB/styles/subSilver/template/viewforum_body.html
+++ b/phpBB/styles/subSilver/template/viewforum_body.html
@@ -39,7 +39,7 @@
<tr>
<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
<!-- IF S_TOPIC_ICONS -->
- <td class="row1" width="25" align="center">{topicrow.TOPIC_ICON_IMG}</td>
+ <td class="row1" width="25" align="center"><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /></td>
<!-- ENDIF -->
<td class="row1">
<!-- IF topicrow.S_TOPIC_UNAPPROVED -->
@@ -158,7 +158,7 @@
<tr>
<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
<!-- IF S_TOPIC_ICONS -->
- <td class="row1" width="25" align="center">{topicrow.TOPIC_ICON_IMG}</td>
+ <td class="row1" width="25" align="center"><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /></td>
<!-- ENDIF -->
<td class="row1">
<!-- IF topicrow.S_TOPIC_UNAPPROVED -->
diff --git a/phpBB/styles/subSilver/template/viewtopic_body.html b/phpBB/styles/subSilver/template/viewtopic_body.html
index e3fa0313a2..502687fb10 100644
--- a/phpBB/styles/subSilver/template/viewtopic_body.html
+++ b/phpBB/styles/subSilver/template/viewtopic_body.html
@@ -129,7 +129,7 @@
<td width="100%" height="25"><table width="100%" cellspacing="0">
<tr>
<!-- IF postrow.POST_ICON_IMG -->
- <td>{postrow.POST_ICON_IMG}</td>
+ <td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
<!-- ENDIF -->
<td class="gensmall" width="100%"><div style="float:left">&nbsp;<b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float:right"><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>
</tr>