From d8b990820cc009712b81c70d236dbd759653e639 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 5 Nov 2003 14:53:45 +0000 Subject: [PATCH] re-arranged the attachment display, this solves the template problems we are having since the beginning. git-svn-id: file:///svn/phpbb/trunk@4640 89ea8834-ac86-4346-8a33-228a782c2dd0 --- .../styles/subSilver/template/attachment.html | 74 +++++++++++++++++++ .../subSilver/template/posting_preview.html | 7 +- .../template/viewtopic_attach_body.html | 70 ------------------ .../subSilver/template/viewtopic_body.html | 12 ++- 4 files changed, 88 insertions(+), 75 deletions(-) create mode 100644 phpBB/styles/subSilver/template/attachment.html delete mode 100644 phpBB/styles/subSilver/template/viewtopic_attach_body.html diff --git a/phpBB/styles/subSilver/template/attachment.html b/phpBB/styles/subSilver/template/attachment.html new file mode 100644 index 0000000000..357a44bd62 --- /dev/null +++ b/phpBB/styles/subSilver/template/attachment.html @@ -0,0 +1,74 @@ + + [{L_DENIED}]

+ + + + {COMMENT}
+ + + + + + + + + + + + +
{DOWNLOAD_NAME} - {L_DOWNLOADED_VIEWED} {L_DOWNLOAD_COUNT}

+ + + + {COMMENT}
+ + + + + + + + +
+ + + + + + + +
{DOWNLOAD_NAME} - {L_DOWNLOADED_VIEWED} {L_DOWNLOAD_COUNT}

+ + + + {COMMENT}
+ {DOWNLOAD_NAME}
+
{DOWNLOAD_NAME} - {L_DOWNLOADED_VIEWED} {L_DOWNLOAD_COUNT}

+ + + + {COMMENT}
+ {DOWNLOAD_NAME}
+
{DOWNLOAD_NAME} - {L_DOWNLOADED_VIEWED} {L_DOWNLOAD_COUNT}

+ + + + {COMMENT}
+ {UPLOAD_IMG} + {DOWNLOAD_NAME} - {FILESIZE} {SIZE_VAR}
+ {L_DOWNLOADED_VIEWED} {L_DOWNLOAD_COUNT}

+ + diff --git a/phpBB/styles/subSilver/template/posting_preview.html b/phpBB/styles/subSilver/template/posting_preview.html index ef2206449c..da05169026 100644 --- a/phpBB/styles/subSilver/template/posting_preview.html +++ b/phpBB/styles/subSilver/template/posting_preview.html @@ -31,8 +31,11 @@
{PREVIEW_MESSAGE} - - + + +


{attachment.DISPLAY_ATTACHMENT} + +
_________________
{PREVIEW_SIGNATURE}
diff --git a/phpBB/styles/subSilver/template/viewtopic_attach_body.html b/phpBB/styles/subSilver/template/viewtopic_attach_body.html deleted file mode 100644 index 505c0f393f..0000000000 --- a/phpBB/styles/subSilver/template/viewtopic_attach_body.html +++ /dev/null @@ -1,70 +0,0 @@ -

- -
- - [{postrow.attachment.L_DENIED}]

- - - {postrow.attachment.COMMENT}
- - - - - - - - - - - - -
{postrow.attachment.DOWNLOAD_NAME} - {postrow.attachment.L_DOWNLOADED_VIEWED} {postrow.attachment.L_DOWNLOAD_COUNT}

- - {postrow.attachment.COMMENT}
- - - - - - - - - -
- - - - - - - -
{postrow.attachment.DOWNLOAD_NAME} - {postrow.attachment.L_DOWNLOADED_VIEWED} {postrow.attachment.L_DOWNLOAD_COUNT}

- - {postrow.attachment.COMMENT}
- {postrow.attachment.DOWNLOAD_NAME}
-
{postrow.attachment.DOWNLOAD_NAME} - {postrow.attachment.L_DOWNLOADED_VIEWED} {postrow.attachment.L_DOWNLOAD_COUNT}

- - {postrow.attachment.COMMENT}
- {postrow.attachment.DOWNLOAD_NAME}
-
{postrow.attachment.DOWNLOAD_NAME} - {postrow.attachment.L_DOWNLOADED_VIEWED} {postrow.attachment.L_DOWNLOAD_COUNT}

- - {postrow.attachment.COMMENT}
- {postrow.attachment.UPLOAD_IMG} - {postrow.attachment.DOWNLOAD_NAME} - {postrow.attachment.FILESIZE} {postrow.attachment.SIZE_VAR}
- {postrow.attachment.L_DOWNLOADED_VIEWED} {postrow.attachment.L_DOWNLOAD_COUNT}

- - diff --git a/phpBB/styles/subSilver/template/viewtopic_body.html b/phpBB/styles/subSilver/template/viewtopic_body.html index 3711a88d66..973b4c6944 100644 --- a/phpBB/styles/subSilver/template/viewtopic_body.html +++ b/phpBB/styles/subSilver/template/viewtopic_body.html @@ -1,3 +1,4 @@ + @@ -158,11 +159,16 @@
{postrow.MESSAGE} - + + +


{postrow.attachment.DISPLAY_ATTACHMENT} + + +

{L_DOWNLOAD_NOTICE}

_________________
{postrow.SIGNATURE}
- {postrow.EDITED_MESSAGE} - {postrow.BUMPED_MESSAGE} + {postrow.EDITED_MESSAGE} + {postrow.BUMPED_MESSAGE}