1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/11915] Add the new uploader.

PHPBB3-11915
This commit is contained in:
Cesar G
2013-11-10 18:54:07 -08:00
parent 2719a18f7f
commit 688ca7fade
3 changed files with 576 additions and 263 deletions

View File

@@ -56,16 +56,16 @@ phpbb.plupload = {
multipart_params: {'add_file': '{LA_ADD_FILE}'},
img_path: '{T_ASSETS_PATH}/plupload/jquery.plupload.queue/img',
element_hook: '#attach-panel .inner',
form_hook: '#postform'
}
};
form_hook: '#postform',
browse_button: 'add_files',
drop_element : 'message',
},
lang: {
ERROR: '{LA_ERROR}',
TOO_MANY_ATTACHMENTS: '{LA_TOO_MANY_ATTACHMENTS}',
},
order: '{ATTACH_ORDER}',
max_files: {MAX_ATTACHMENTS},
maxFiles: {MAX_ATTACHMENTS},
}
//]]>
</script>

View File

@@ -170,7 +170,15 @@
<div id="tabs" class="sub-panels" data-show-panel="options-panel">
<ul>
<li id="options-panel-tab" class="activetab"><a href="#tabs" data-subpanel="options-panel"><span>{L_OPTIONS}</span></a></li>
<!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab"><a href="#tabs" data-subpanel="attach-panel"><span>{L_ATTACHMENTS}</span></a></li><!-- ENDIF -->
<!-- IF S_SHOW_ATTACH_BOX -->
<li id="attach-panel-tab">
<a href="#tabs" data-subpanel="attach-panel">
<span>
{L_ATTACHMENTS} <strong id="file-total-progress"><strong id="file-total-progress-bar"></strong></strong>
</span>
</a>
</li>
<!-- ENDIF -->
<!-- IF S_SHOW_POLL_BOX || S_POLL_DELETE --><li id="poll-panel-tab"><a href="#tabs" data-subpanel="poll-panel"><span>{L_ADD_POLL}</span></a></li><!-- ENDIF -->
</ul>
</div>