Ticket #7612: 7612.patch
File 7612.patch, 7.3 KB (added by , 6 years ago) |
---|
-
src/bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/camera.php
18 18 <div class="avatar-crop-management"> 19 19 <div id="avatar-crop-pane" class="avatar" style="width:{{data.w}}px; height:{{data.h}}px"></div> 20 20 <div id="avatar-crop-actions"> 21 < a class="button avatar-webcam-capture" href="#"><?php esc_html_e( 'Capture', 'buddypress' );?></a>22 < a class="button avatar-webcam-save" href="#"><?php esc_html_e( 'Save', 'buddypress' );?></a>21 <button type="button" class="button avatar-webcam-capture"><?php esc_html_e( 'Capture', 'buddypress' );?></button> 22 <button type="button" class="button avatar-webcam-save"><?php esc_html_e( 'Save', 'buddypress' );?></button> 23 23 </div> 24 24 </div> 25 25 <# } #> -
src/bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/crop.php
17 17 <img src="{{data.url}}" id="avatar-crop-preview"/> 18 18 </div> 19 19 <div id="avatar-crop-actions"> 20 < a class="button avatar-crop-submit" href="#"><?php esc_html_e( 'Crop Image', 'buddypress' ); ?></a>20 <button type="button" class="button avatar-crop-submit"><?php esc_html_e( 'Crop Image', 'buddypress' ); ?></button> 21 21 </div> 22 22 </div> 23 23 </script> -
src/bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/index.php
32 32 <script id="tmpl-bp-avatar-delete" type="text/html"> 33 33 <# if ( 'user' === data.object ) { #> 34 34 <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p> 35 < p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>35 <button type="button" class="button edit" id="bp-delete-avatar"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></button> 36 36 <# } else if ( 'group' === data.object ) { #> 37 37 <?php bp_nouveau_user_feedback( 'group-avatar-delete-info' ); ?> 38 < p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></a></p>38 <button type="button" class="button edit" id="bp-delete-avatar"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></button> 39 39 <# } else { #> 40 40 <?php do_action( 'bp_attachments_avatar_delete_template' ); ?> 41 41 <# } #> -
src/bp-templates/bp-nouveau/buddypress/assets/_attachments/cover-images/index.php
21 21 <script id="tmpl-bp-cover-image-delete" type="text/html"> 22 22 <# if ( 'user' === data.object ) { #> 23 23 <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p> 24 < p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p>24 <button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></button> 25 25 <# } else if ( 'group' === data.object ) { #> 26 26 <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p> 27 < p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p>27 <button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></button> 28 28 <# } else { #> 29 29 <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?> 30 30 <# } #> -
src/bp-templates/bp-nouveau/buddypress/common/js-templates/activity/form.php
22 22 </script> 23 23 24 24 <script type="text/html" id="tmpl-activity-post-form-buttons"> 25 < a href="#" class="button dashicons {{data.icon}}" data-button="{{data.id}}"><span class="bp-screen-reader-text">{{data.caption}}</span></a>25 <button type="button" class="button dashicons {{data.icon}}" data-button="{{data.id}}"><span class="bp-screen-reader-text">{{data.caption}}</span></button> 26 26 </script> 27 27 28 28 <script type="text/html" id="tmpl-activity-target-item"> … … 37 37 <span class="bp-item-name">{{data.name}}</span> 38 38 39 39 <# if ( data.selected ) { #> 40 < a href="#" class="bp-remove-item dashicons dashicons-no" data-item_id="{{data.id}}">40 <button type="button" class="bp-remove-item dashicons dashicons-no" data-item_id="{{data.id}}"> 41 41 <span class="bp-screen-reader-text"><?php esc_html_e( 'Remove item', 'buddypress' ); ?></span> 42 </ a>42 </button> 43 43 <# } #> 44 44 </script> -
src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php
24 24 25 25 <script type="text/html" id="tmpl-bp-invites-users"> 26 26 <div class="item-avatar"> 27 <img src="{{data.avatar}}" class="avatar" alt=" ">27 <img src="{{data.avatar}}" class="avatar" alt="{{data.name}}"> 28 28 </div> 29 29 30 30 <div class="item"> … … 75 75 </script> 76 76 77 77 <script type="text/html" id="tmpl-bp-invites-selection"> 78 <a href=" #" title="{{data.name}}">78 <a href="<?php bp_member_permalink(); ?>"> 79 79 <img src="{{data.avatar}}" class="avatar" alt="{{data.name}}" /> 80 80 </a> 81 81 </script> … … 109 109 110 110 <script type="text/html" id="tmpl-bp-invites-paginate"> 111 111 <# if ( 1 !== data.page ) { #> 112 < a href="#" id="bp-invites-prev-page" class="button invite-button">112 <button type="button" id="bp-invites-prev-page" class="button invite-button"> 113 113 <span class="bp-screen-reader-text"><?php esc_html_e( 'Previous', 'buddypress' );?></span> 114 </ a>114 </button> 115 115 <# } #> 116 116 117 117 <# if ( data.total_page !== data.page ) { #> 118 < a href="#" id="bp-invites-next-page" class="button invite-button">118 <button type="button" id="bp-invites-next-page" class="button invite-button"> 119 119 <span class="bp-screen-reader-text"><?php esc_html_e( 'Next', 'buddypress' );?></span> 120 </ a>120 </button> 121 121 <# } #> 122 122 </script>