Changeset 671
- Timestamp:
- 12/14/2008 05:02:03 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
-
bp-blogs.php (modified) (2 diffs)
-
bp-blogs/bp-blogs-templatetags.php (modified) (1 diff)
-
bp-core/bp-core-activation.php (modified) (1 diff)
-
bp-core/bp-core-admin.php (modified) (1 diff)
-
bp-core/bp-core-avatars.php (modified) (1 diff)
-
bp-core/bp-core-settings.php (modified) (2 diffs)
-
bp-core/bp-core-signup.php (modified) (3 diffs)
-
bp-forums/bp-forums-admin.php (modified) (1 diff)
-
bp-groups/bp-groups-admin.php (modified) (2 diffs)
-
bp-groups/bp-groups-templatetags.php (modified) (4 diffs)
-
bp-messages.php (modified) (1 diff)
-
bp-xprofile/admin-mods/bp-xprofile-account-tab.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r662 r671 266 266 $post = BP_Blogs_Post::fetch_post_content($post); 267 267 268 if ( $post->post_type != 'post' || $post->post_status != 'publish' || $post->post_password != '' )268 if ( !$post || $post->post_type != 'post' || $post->post_status != 'publish' || $post->post_password != '' ) 269 269 return false; 270 270 … … 289 289 290 290 $comment = BP_Blogs_Comment::fetch_comment_content($comment); 291 292 if ( !$comment ) 293 return false; 294 291 295 $post_link = bp_post_get_permalink( $comment->post, $comment->blog_id ); 292 $content = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink($user_id), '<a href="' . $post_link . '#comment-' . $comment->comment_ID . '">' . $comment->post->post_title . '</a>' ) . ' <span class="time-since">%s</span>'; 296 $content = sprintf( __( '%s commented on the blog post %s', 'buddypress' ), bp_core_get_userlink($user_id), '<a href="' . $post_link . '#comment-' . $comment->comment_ID . '">' . $comment->post->post_title . '</a>' ) . ' <span class="time-since">%s</span>'; 293 297 $content .= '<blockquote>' . bp_create_excerpt($comment->comment_content) . '</blockquote>'; 294 298 -
trunk/bp-blogs/bp-blogs-templatetags.php
r666 r671 686 686 <?php bp_blogs_signup_blog($blogname, $blog_title, $errors); ?> 687 687 <p> 688 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog »', 'buddypress') ?>" />688 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog »', 'buddypress') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 689 689 </p> 690 690 </form> -
trunk/bp-core/bp-core-activation.php
r667 r671 26 26 </p> 27 27 <p class="submit"> 28 <input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Activate »') ?>" />28 <input id="submit" type="submit" name="Submit" class="submit" value="<?php _e('Activate »') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 29 29 </p> 30 30 </form> -
trunk/bp-core/bp-core-admin.php
r666 r671 66 66 67 67 <p class="submit"> 68 <input type="submit" name="bp-admin-submit" id="bp-admin-submit" value="<?php _e( 'Save Settings', 'buddypress' ) ?>" />68 <input type="submit" name="bp-admin-submit" id="bp-admin-submit" value="<?php _e( 'Save Settings', 'buddypress' ) ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 69 69 </p> 70 70 -
trunk/bp-core/bp-core-avatars.php
r667 r671 437 437 <input type="hidden" name="nonce" value="<?php echo wp_create_nonce('slick_avatars'); ?>" /> 438 438 <input type="file" name="file" id="file" /> 439 <input type="submit" name="upload" id="upload" value="Upload Photo" />439 <input type="submit" name="upload" id="upload" value="Upload Photo" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 440 440 <?php if ( !$no_form_tag ) { ?> 441 441 </form> -
trunk/bp-core/bp-core-settings.php
r636 r671 78 78 <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small" /> Repeat New Password 79 79 80 <p><input type="submit" name="submit" value="Save Changes" id="submit" class="auto" /></p>80 <p><input type="submit" name="submit" value="Save Changes" id="submit" class="auto" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /></p> 81 81 <?php wp_nonce_field('bp_settings_general') ?> 82 82 </form> … … 126 126 <?php do_action( 'bp_notification_settings' ) ?> 127 127 128 <p class="submit"><input type="submit" name="submit" value="Save Changes" id="submit" class="auto" /></p>128 <p class="submit"><input type="submit" name="submit" value="Save Changes" id="submit" class="auto" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /></p> 129 129 130 130 <?php wp_nonce_field('bp_settings_notifications') ?> -
trunk/bp-core/bp-core-signup.php
r648 r671 152 152 <?php bp_core_signup_show_blog_form($blogname, $blog_title, $errors); ?> 153 153 <p> 154 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog »') ?>" /></p> 154 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog »') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 155 </p> 155 156 </form> 156 157 <?php … … 239 240 <?php } ?> 240 241 241 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Next »') ?>" />242 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Next »') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 242 243 </form> 243 244 <?php … … 297 298 <?php bp_core_signup_show_blog_form($blogname, $blog_title, $errors); ?> 298 299 <p> 299 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Signup »') ?>" /></p>300 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Signup »') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /></p> 300 301 </form> 301 302 <?php -
trunk/bp-forums/bp-forums-admin.php
r641 r671 95 95 <br /> 96 96 <p class="submit"> 97 <input type="submit" name="submit" value="<?php _e('Save Settings', 'buddypress') ?>" />97 <input type="submit" name="submit" value="<?php _e('Save Settings', 'buddypress') ?>" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 98 98 </p> 99 99 <?php wp_nonce_field('bbpress-settings') ?> -
trunk/bp-groups/bp-groups-admin.php
r663 r671 35 35 <form id="wpmu-search" method="post" action="<?php $_SERVER['PHP_SELF'] ?>"> 36 36 <input type="text" size="17" value="<?php echo $_REQUEST['s'] ?>" name="s" /> 37 <input id="post-query-submit" class="button" type="submit" value="Search Groups" />37 <input id="post-query-submit" class="button" type="submit" value="Search Groups" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 38 38 </form> 39 39 … … 45 45 </div> 46 46 <div class="alignleft"> 47 <input class="button-secondary delete" type="submit" name="groups_admin_delete" value="Delete" onclick="if ( !confirm('<?php _e( 'Are you sure?', 'buddypress' ) ?>') ) return false" />47 <input class="button-secondary delete" type="submit" name="groups_admin_delete" value="Delete" onclick="if ( !confirm('<?php _e( 'Are you sure?', 'buddypress' ) ?>') ) return false" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 48 48 <?php wp_nonce_field('bp-groups-admin') ?> 49 49 <br class="clear"/> -
trunk/bp-groups/bp-groups-templatetags.php
r664 r671 785 785 <textarea name="group-news" id="group-news"><?php echo ( $group_obj ) ? $group_obj->news : $_POST['group-news']; ?></textarea> 786 786 787 <p><input type="submit" value="<?php _e('Create Group and Continue', 'buddypress') ?> »" id="save" name="save" /></p>787 <p><input type="submit" value="<?php _e('Create Group and Continue', 'buddypress') ?> »" id="save" name="save" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /></p> 788 788 <?php break; ?> 789 789 … … 820 820 </div> 821 821 822 <p><input type="submit" value="<?php _e('Save and Continue', 'buddypress') ?> »" id="save" name="save" /></p>822 <p><input type="submit" value="<?php _e('Save and Continue', 'buddypress') ?> »" id="save" name="save" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /></p> 823 823 <?php } else { ?> 824 824 <div id="message" class="info"> … … 850 850 851 851 <div id="skip-continue"> 852 <input type="submit" value="<?php _e('Skip', 'buddypress') ?> »" id="skip" name="skip" />852 <input type="submit" value="<?php _e('Skip', 'buddypress') ?> »" id="skip" name="skip" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 853 853 </div> 854 854 </div> … … 1042 1042 </ul> 1043 1043 1044 <input type="submit" value="<?php _e('Finish', 'buddypress') ?> »" id="save" name="save" />1044 <input type="submit" value="<?php _e('Finish', 'buddypress') ?> »" id="save" name="save" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 1045 1045 1046 1046 </div> -
trunk/bp-messages.php
r662 r671 620 620 </div> 621 621 <p class="submit"> 622 <input type="submit" name="send" value="Send Reply »" id="send_reply_button" />622 <input type="submit" name="send" value="Send Reply »" id="send_reply_button" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 623 623 </p> 624 624 <input type="hidden" id="thread_id" name="thread_id" value="<?php echo $thread->thread_id ?>" /> -
trunk/bp-xprofile/admin-mods/bp-xprofile-account-tab.php
r580 r671 189 189 <input type="hidden" name="action" value="update" /> 190 190 <input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" /> 191 <input type="submit" value="<?php $is_profile_page? _e('Update Profile', 'buddypress') : _e('Update User', 'buddypress') ?>" name="submit" />191 <input type="submit" value="<?php $is_profile_page? _e('Update Profile', 'buddypress') : _e('Update User', 'buddypress') ?>" name="submit" onclick="this.disabled = true; this.value = '<?php _e( 'Loading...', 'buddypress' ) ?>';" /> 192 192 </p> 193 193 </form>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)