Changeset 4727
- Timestamp:
- 07/19/2011 09:55:50 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r4709 r4727 602 602 $right_now_text = apply_filters( 'bp_core_time_since_right_now_text', __( 'right now', 'buddypress' ) ); 603 603 $ago_text = apply_filters( 'bp_core_time_since_ago_text', __( '%s ago', 'buddypress' ) ); 604 604 605 605 // array of time period chunks 606 606 $chunks = array( … … 633 633 if ( 0 > $since ) { 634 634 $output = $unknown_text; 635 635 636 636 /** 637 637 * We only want to output two chunks of time here, eg: … … 926 926 $bp->embed = new BP_Embed(); 927 927 } 928 add_action( 'bp_init', 'bp_embed_init' );928 add_action( 'bp_init', 'bp_embed_init', 9 ); 929 929 930 930 /** -
trunk/bp-themes/bp-default/_inc/global.js
r4720 r4727 92 92 var v = jq("ul#activity-stream li.new-update .activity-content .activity-header p a.view").attr('href'); 93 93 94 var ltext = jq("ul#activity-stream li.new-update .activity-content .activity-inner p").text(); 95 96 var u = ''; 97 if ( ltext != '' ) 98 u = l + '· '; 99 100 u += '<a href="' + v + '" rel="nofollow">' + BP_DTheme.view + '</a>'; 101 94 102 jq("div#latest-update").slideUp(300,function(){ 95 jq("div#latest-update").html( '"' + l + '" · <a href="' + v + '" rel="nofollow">View</a>');103 jq("div#latest-update").html( u ); 96 104 jq("div#latest-update").slideDown(300); 97 105 }); -
trunk/bp-themes/bp-default/functions.php
r4705 r4727 145 145 'show_all' => __( 'Show all', 'buddypress' ), 146 146 'comments' => __( 'comments', 'buddypress' ), 147 'close' => __( 'Close', 'buddypress' ) 147 'close' => __( 'Close', 'buddypress' ), 148 'view' => __( 'View', 'buddypress' ) 148 149 ); 149 150 … … 161 162 */ 162 163 function bp_dtheme_enqueue_styles() { 163 164 164 165 // Default CSS 165 166 wp_enqueue_style( 'bp-default-main', get_template_directory_uri() . '/_inc/css/default.css', array(), BP_VERSION ); … … 516 517 function bp_dtheme_show_notice() { 517 518 global $pagenow; 518 519 519 520 // Bail if bp-default theme was not just activated 520 521 if ( empty( $_GET['activated'] ) || ( 'themes.php' != $pagenow ) || !is_admin() ) 521 522 return; 522 523 523 524 ?> 524 525
Note: See TracChangeset
for help on using the changeset viewer.