mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-24 09:12:56 +02:00
[feature/attach-dl] Downloading all attachments fully implemented
Added a function to list all available archiving methods and integrated it with the prosilver style. Heavy modifications to download/file.php to support archiving and downloading of multiple files at once. PHPBB3-11042
This commit is contained in:
@@ -46,7 +46,14 @@
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_HAS_ATTACHMENTS -->
|
||||
<span>[ <a href="{U_DL_ALL_LINK}">{L_DOWNLOAD_ALL_ATTACH}</a> ]</span>
|
||||
<div class="dl_links">
|
||||
<strong>{L_DOWNLOAD_ALL_ATTACH}:</strong>
|
||||
<ul>
|
||||
<!-- BEGIN dl_method -->
|
||||
<li>[ <a href="{dl_method.LINK}">{dl_method.TYPE}</a> ]</li>
|
||||
<!-- END dl_method -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .pagination or TOTAL_POSTS -->
|
||||
@@ -161,7 +168,19 @@
|
||||
|
||||
<!-- IF postrow.S_HAS_ATTACHMENTS -->
|
||||
<dl class="attachbox">
|
||||
<dt>{L_ATTACHMENTS}<!-- IF postrow.S_MULTIPLE_ATTACH --> [ <a href="{postrow.U_DL_ALL_LINK}">{L_DOWNLOAD_ALL}</a> ]<!-- ENDIF --></dt>
|
||||
<dt>
|
||||
{L_ATTACHMENTS}
|
||||
<!-- IF postrow.S_MULTIPLE_ATTACH -->
|
||||
<div class="dl_links">
|
||||
<strong>{L_DOWNLOAD_ALL}:</strong>
|
||||
<ul>
|
||||
<!-- BEGIN dl_method -->
|
||||
<li>[ <a href="{postrow.dl_method.LINK}">{postrow.dl_method.TYPE}</a> ]</li>
|
||||
<!-- END dl_method -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
</dt>
|
||||
<!-- BEGIN attachment -->
|
||||
<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
|
||||
<!-- END attachment -->
|
||||
|
Reference in New Issue
Block a user