| 1 |
<fieldset class="bbp-form"> |
| 2 |
<legend><?php esc_html_e( 'Upload Attachments', 'forumax' ); ?></legend> |
| 3 |
<div class="bbp-template-notice"> |
| 4 |
<p> |
| 5 |
<?php |
| 6 |
$size = $file_size < 1024 ? $file_size . ' KB' : floor( $file_size / 1024 ) . ' MB'; |
| 7 |
printf( /* translators: %s: Allowed file upload size */ |
| 8 |
esc_html__( 'Maximum file size allowed is %s.', 'forumax' ), |
| 9 |
esc_html( $size ) |
| 10 |
); |
| 11 |
?> |
| 12 |
</p> |
| 13 |
</div> |
| 14 |
<p class="bbp-attachments-form"> |
| 15 |
<label for="bbp_topic_tags"> |
| 16 |
<?php esc_html_e( 'Attachments', 'forumax' ); ?>: |
| 17 |
</label><br/> |
| 18 |
<div class="bbpc_attachments"> |
| 19 |
<input type="file" size="40" name="bbpc_attachment[]"> |
| 20 |
<a class="bbpc-attachment-addfile" href="#"> |
| 21 |
<?php esc_html_e( '+ Add another file', 'forumax' ); ?> |
| 22 |
</a> |
| 23 |
</div> |
| 24 |
</p> |
| 25 |
</fieldset> |
| 26 |
|
| 27 |
|