diff options
| author | Cesar G <prototech91@gmail.com> | 2013-11-10 16:38:22 -0800 |
|---|---|---|
| committer | Cesar G <prototech91@gmail.com> | 2014-01-17 19:20:35 -0800 |
| commit | 4361c1c9ac783a0004edebab83ca26a8899361df (patch) | |
| tree | a68b8ea675a46c81694e9efd125b1f7ea4223544 /phpBB/styles/prosilver/template/posting_attach_body.html | |
| parent | aeb215a5c269ba7b6be540d06730b0ffce265c14 (diff) | |
| download | forums-4361c1c9ac783a0004edebab83ca26a8899361df.tar forums-4361c1c9ac783a0004edebab83ca26a8899361df.tar.gz forums-4361c1c9ac783a0004edebab83ca26a8899361df.tar.bz2 forums-4361c1c9ac783a0004edebab83ca26a8899361df.tar.xz forums-4361c1c9ac783a0004edebab83ca26a8899361df.zip | |
[ticket/11915] Move the uploaded attachment list under the attachments tab.
PHPBB3-11915
Diffstat (limited to 'phpBB/styles/prosilver/template/posting_attach_body.html')
| -rw-r--r-- | phpBB/styles/prosilver/template/posting_attach_body.html | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/posting_attach_body.html b/phpBB/styles/prosilver/template/posting_attach_body.html index fa9dd19c09..8262645a09 100644 --- a/phpBB/styles/prosilver/template/posting_attach_body.html +++ b/phpBB/styles/prosilver/template/posting_attach_body.html @@ -1,9 +1,9 @@ -<div class="panel bg3" id="attach-panel"> +<div class="panel bg3 panel-container" id="attach-panel"> <div class="inner"> <p>{L_ADD_ATTACHMENT_EXPLAIN}</p> - <fieldset class="fields2"> + <fieldset class="fields2" id="attach-panel-basic"> <dl> <dt><label for="fileupload">{L_FILENAME}{L_COLON}</label></dt> <dd> @@ -17,5 +17,44 @@ </dl> </fieldset> + <div id="attach-panel-multi"> + <input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" /> + </div> + + <div class="panel<!-- IF not .attach_row --> hidden<!-- ENDIF -->" id="file-list-container"> + <div class="inner"> + <table class="table1 zebra-list"> + <thead> + <tr> + <th class="attach-name">{LA_PLUPLOAD_FILENAME}</th> + <th class="attach-comment">{L_FILE_COMMENT}</th> + <th class="attach-filesize">{L_PLUPLOAD_SIZE}</th> + <th class="attach-status">{L_PLUPLOAD_STATUS}</th> + </tr> + </thead> + <tbody id="file-list"> + <!-- BEGIN attach_row --> + <tr class="attach-row" data-attach-id="{attach_row.ATTACH_ID}"> + <td class="attach-name"> + <a class="file-name" href="{attach_row.U_VIEW_ATTACHMENT}">{attach_row.FILENAME}</a> + <span class="attach-controls"> + <!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" onclick="attach_inline({attach_row.ASSOC_INDEX}, '{attach_row.A_FILENAME}');" class="button2 file-inline-bbcode" /> <!-- ENDIF --> + <input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2 file-delete" /> + </span> + </td> + <td class="attach-comment"> + <textarea name="comment_list[{attach_row.ASSOC_INDEX}]" rows="1" cols="30" class="inputbox">{attach_row.FILE_COMMENT}</textarea> + {attach_row.S_HIDDEN} + </td> + <td class="attach-filesize file-size">{attach_row.FILESIZE}</td> + <td class="attach-status"> + <span class="file-status file-uploaded"></span> + </td> + </tr> + <!-- END attach_row --> + </tbody> + </table> + </div> + </div> </div> </div> |
