aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates/subSilver
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-06-17 19:34:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-06-17 19:34:17 +0000
commit8107f1485264dd9d63a079e2367aa41c1f02235b (patch)
tree4427e9cbf4b1adb34a47be1f137c68cc3a5fc6db /phpBB/templates/subSilver
parent86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24 (diff)
downloadforums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar
forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.gz
forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.bz2
forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.xz
forums-8107f1485264dd9d63a079e2367aa41c1f02235b.zip
added: download notice for people unable to see files attached to posts
changed: put attachment display into a function now called by posting preview and viewtopic (functions_display.php) fixed: small fix in posting routines, cleanups... git-svn-id: file:///svn/phpbb/trunk@4139 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates/subSilver')
-rw-r--r--phpBB/templates/subSilver/posting_preview.html3
-rw-r--r--phpBB/templates/subSilver/viewtopic_attach_body.html4
-rw-r--r--phpBB/templates/subSilver/viewtopic_body.html1
3 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/templates/subSilver/posting_preview.html b/phpBB/templates/subSilver/posting_preview.html
index f7cbe85505..092ced63f6 100644
--- a/phpBB/templates/subSilver/posting_preview.html
+++ b/phpBB/templates/subSilver/posting_preview.html
@@ -32,6 +32,9 @@
<tr>
<td>
<span class="postbody">{PREVIEW_MESSAGE}</span>
+ <!-- BEGIN postrow -->
+ <!-- IF postrow.S_HAS_ATTACHMENTS --><!-- INCLUDE viewtopic_attach_body.html --><!-- ENDIF -->
+ <!-- END postrow -->
</td>
</tr>
</table></td>
diff --git a/phpBB/templates/subSilver/viewtopic_attach_body.html b/phpBB/templates/subSilver/viewtopic_attach_body.html
index c2c8ec0298..505c0f393f 100644
--- a/phpBB/templates/subSilver/viewtopic_attach_body.html
+++ b/phpBB/templates/subSilver/viewtopic_attach_body.html
@@ -23,12 +23,12 @@
<span class="postbody">{postrow.attachment.COMMENT}</span><br />
<object id=rmstream_{postrow.attachment.ATTACH_ID} classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="0">
- <param name="src" value="{postrow.attachment.FORUM_URL}/{postrow.attachment.U_DOWNLOAD_LINK}">
+ <param name="src" value="{postrow.attachment.U_FORUM}/{postrow.attachment.U_DOWNLOAD_LINK}">
<param name="autostart" value="false">
<param name="controls" value="ImageWindow">
<param name="console" value="{postrow.attachment.U_DOWNLOAD_LINK}">
<param name="prefetch" value="true">
- <embed name=rmstream_{postrow.attachment.ATTACH_ID} type="audio/x-pn-realaudio-plugin" src="{postrow.attachment.FORUM_URL}/{postrow.attachment.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="video" prefetch="true"></embed>
+ <embed name=rmstream_{postrow.attachment.ATTACH_ID} type="audio/x-pn-realaudio-plugin" src="{postrow.attachment.U_FORUM}/{postrow.attachment.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="video" prefetch="true"></embed>
</object>
<br />
<object id=ctrls_{postrow.attachment.ATTACH_ID} classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="36">
diff --git a/phpBB/templates/subSilver/viewtopic_body.html b/phpBB/templates/subSilver/viewtopic_body.html
index 5632c4c658..457226481d 100644
--- a/phpBB/templates/subSilver/viewtopic_body.html
+++ b/phpBB/templates/subSilver/viewtopic_body.html
@@ -149,6 +149,7 @@
<tr>
<td><span class="postbody">{postrow.MESSAGE}</span>
<!-- IF postrow.S_HAS_ATTACHMENTS --><!-- INCLUDE viewtopic_attach_body.html --><!-- ENDIF -->
+ <!-- IF postrow.S_DISPLAY_NOTICE --><span class="gensmall" style="color:red;"><br /><br />{L_DOWNLOAD_NOTICE}</span><!-- ENDIF -->
<!-- IF postrow.SIGNATURE --><span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span><!-- ENDIF -->
<span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>