Changeset 2354
- Timestamp:
- 01/19/2010 11:57:47 AM (16 years ago)
- Location:
- trunk/bp-themes/bp-default/_inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r2346 r2354 131 131 <?php echo bp_core_get_userlink( $bp->loggedin_user->id ) ?> · <?php echo bp_core_time_since( time() ) ?> · 132 132 <a class="acomment-reply" href="#acomment-<?php echo $comment_id ?>" id="acomment-reply-<?php echo attribute_escape( $_POST['form_id'] ) ?>"><?php _e( 'Reply', 'buddypress' ) ?></a> 133 <?php if ( is_site_admin() || $bp->loggedin_user->id == $comment->user_id ) : ?> 134 · <a href="<?php echo wp_nonce_url( $bp->activity->id . '/delete/?cid=' . $comment_id, 'delete_activity_comment' ) ?>" class="delete acomment-delete"><?php _e( 'Delete', 'buddypress' ) ?></a> 135 <?php endif; ?> 133 · <a href="<?php echo wp_nonce_url( $bp->root_domain . '/' . $bp->activity->slug . '/delete/' . $comment_id, 'bp_activity_delete_link' ) ?>" class="item-button delete-activity confirm"><?php _e( 'Delete', 'buddypress' ) ?></a> 136 134 </div> 137 135 -
trunk/bp-themes/bp-default/_inc/css/default.css
r2353 r2354 51 51 float: left; 52 52 border: 2px solid #eee; 53 }54 55 .ajax-loader {56 background: url( ../images/ajax-loader.gif ) center left no-repeat !important;57 padding: 8px;58 display: none;59 53 } 60 54 … … 610 604 } 611 605 606 /* > AJAX Loaders 607 -------------------------------------------------------------- */ 608 609 .ajax-loader { 610 background: url( ../images/ajax-loader.gif ) center left no-repeat !important; 611 padding: 8px; 612 display: none; 613 } 614 615 a.loading { 616 background-image: url( ../images/ajax-loader.gif ); 617 background-position: 95% 50%; 618 padding-right: 25px; 619 background-repeat: no-repeat; 620 } 621 612 622 /* > Buttons 613 623 -------------------------------------------------------------- */ … … 1172 1182 margin-right: 3px; 1173 1183 } 1174 .activity-list div.activity-meta a.loading {1175 background-image: url( ../images/ajax-loader.gif );1176 background-position: 95% 50%;1177 padding-right: 25px;1178 background-repeat: no-repeat;1179 }1180 1181 1184 .activity-list div.activity-meta a.acomment-reply { 1182 1185 background: #FFF9DB; -
trunk/bp-themes/bp-default/_inc/global.js
r2346 r2354 389 389 comment_id = comment_id[1].split('&'); 390 390 comment_id = comment_id[0]; 391 392 target.addClass('loading'); 391 393 392 394 /* Remove any error messages */
Note: See TracChangeset
for help on using the changeset viewer.