golden hour
/var/www/html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/assets/_attachments
⬆️ Go Up
Upload
File/Folder
Size
Actions
avatars
-
Del
OK
cover-images
-
Del
OK
uploader.php
1.42 KB
Del
OK
Edit: uploader.php
<?php /** * BuddyPress Uploader templates. * * This template is used to create the BuddyPress Uploader Backbone views. * * @since 2.3.0 * @version 3.1.0 */ ?> <script type="text/html" id="tmpl-upload-window"> <?php if ( ! _device_can_upload() ) : ?> <h3 class="upload-instructions"><?php esc_html_e( 'The web browser on your device cannot be used to upload files.', 'buddypress' ); ?></h3> <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?> <h3 class="upload-instructions"><?php esc_html_e( 'Upload Limit Exceeded', 'buddypress' ); ?></h3> <?php else : ?> <div id="{{data.container}}"> <div id="{{data.drop_element}}"> <div class="drag-drop-inside"> <p class="drag-drop-info"><?php esc_html_e( 'Drop your file here', 'buddypress' ); ?></p> <p class="drag-drop-buttons"> <label for="{{data.browse_button}}" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text'; ?>"> <?php esc_html_e( 'Select your file', 'buddypress' ); ?> </label> <input id="{{data.browse_button}}" type="button" value="<?php echo esc_attr_x( 'Select your file', 'button', 'buddypress' ); ?>" class="button" /> </p> </div> </div> </div> <?php endif; ?> </script> <script type="text/html" id="tmpl-progress-window"> <div id="{{data.id}}"> <div class="bp-progress"> <div class="bp-bar"></div> </div> <div class="filename">{{data.filename}}</div> </div> </script>
Save