Changeset 5394
- Timestamp:
- 11/27/2011 05:27:37 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/feeds/bp-activity-favorites-feed.php
r5301 r5394 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'Favorite Activity', 'buddypress' ) ?></title> 27 <?php /* translators: Favorited activity RSS title - "[Site Name] | [Displayed User Name] | Favorite Activity" */ ?> 28 <title><?php printf( '%1$s | %2$s | %3$s', bp_get_site_name(), bp_get_displayed_user_fullname(), __( 'Favorite Activity', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo home_url( bp_get_activity_root_slug() . '/#my-favorites/' ) ?></link> 30 <description><?php echo $bp->displayed_user->fullname; ?> - <?php _e( 'Favorite Activity', 'buddypress') ?></description>31 <description><?php printf( __( '%s - Favorite Activity', 'buddypress' ), bp_get_displayed_user_fullname() ) ?></description> 31 32 <pubDate><?php echo mysql2date('D, d M Y H:i:s O', bp_activity_get_last_updated(), false); ?></pubDate> 32 33 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> -
trunk/bp-activity/feeds/bp-activity-friends-feed.php
r5109 r5394 25 25 26 26 <channel> 27 <?php /* translators: Member friends activity RSS title - "[Site Name] | Friends Activity" */ ?> 27 28 <title><?php bp_site_name() ?> | <?php bp_displayed_user_fullname(); ?> | <?php _e( 'Friends Activity', 'buddypress' ); ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> -
trunk/bp-activity/feeds/bp-activity-group-feed.php
r5109 r5394 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php echo $bp->groups->current_group->name ?> | <?php _e( 'Group Activity', 'buddypress' ) ?></title> 27 <?php /* translators: Single group activity RSS title - "[Site Name] | [Group Name] | Group Activity" */ ?> 28 <title><?php printf( '%1$s | %2$s | %3$s', bp_get_site_name(), bp_get_current_group_name(), __( 'Group Activity', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo bp_get_group_permalink( $bp->groups->current_group ) . bp_get_activity_slug() . '/feed' ?></link> -
trunk/bp-activity/feeds/bp-activity-mentions-feed.php
r5301 r5394 2 2 3 3 /** 4 * RSS2 Feed Template for displaying a member's group's activity4 * RSS2 Feed Template for displaying a member's activity mentions 5 5 * 6 6 * @package BuddyPress … … 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'Mentions', 'buddypress' ) ?></title> 27 <?php /* translators: Mentions RSS title - "[Site Name] | [Displayed User Name] | Mentions" */ ?> 28 <title><?php printf( '%1$s | %2$s | %3$s', bp_get_site_name(), bp_get_displayed_user_fullname(), __( 'Mentions', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo home_url( bp_get_activity_root_slug() . '/#mentions/' ) ?></link> 30 <description><?php echo $bp->displayed_user->fullname; ?> - <?php _e( 'Mentions', 'buddypress' ) ?></description> 31 <?php /* translators: Mentions RSS title - "[Site Name] | [Displayed User Name] | Mentions" */ ?> 32 <description><?php printf( __( '%s - Mentions', 'buddypress' ), bp_get_displayed_user_fullname() ) ?></description> 31 33 <pubDate><?php echo mysql2date('D, d M Y H:i:s O', bp_activity_get_last_updated(), false); ?></pubDate> 32 34 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> -
trunk/bp-activity/feeds/bp-activity-mygroups-feed.php
r5302 r5394 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'My Groups - Public Activity', 'buddypress' ) ?></title> 27 <?php /* translators: Member groups activity RSS title - "[Site Name] | [Displayed User Name] | My Groups - Public Activity" */ ?> 28 <title><?php printf( '%1$s | %2$s | %3$s', bp_get_site_name(), bp_get_displayed_user_fullname(), __( 'My Groups - Public Activity', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo home_url( bp_get_activity_root_slug() . '/#my-groups/' ) ?></link> 30 <description><?php echo $bp->displayed_user->fullname; ?> - <?php _e( 'My Groups - Public Activity', 'buddypress' ) ?></description> 31 <?php /* translators: Member groups activity RSS description - "[Displayed user name] - My Groups - Public Activity" */ ?> 32 <description><?php printf( __( '%1$s - My Groups - Public Activity', 'buddypress' ), bp_get_displayed_user_fullname() ) ?></description> 31 33 <pubDate><?php echo mysql2date('D, d M Y H:i:s O', bp_activity_get_last_updated(), false); ?></pubDate> 32 34 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> -
trunk/bp-activity/feeds/bp-activity-personal-feed.php
r5301 r5394 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'Activity', 'buddypress' ) ?></title> 27 <?php /* translators: Personal activity RSS title - "[Site Name] | [Displayed User Name] | Activity" */ ?> 28 <title><?php printf( '%1$s | %2$s | %3$s', bp_get_site_name(), bp_get_displayed_user_fullname(), __( 'Activity', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo bp_displayed_user_domain() . bp_get_activity_slug() . '/feed' ?></link> -
trunk/bp-activity/feeds/bp-activity-sitewide-feed.php
r5109 r5394 25 25 26 26 <channel> 27 <title><?php bp_site_name() ?> | <?php _e( 'Site Wide Activity', 'buddypress' ) ?></title> 27 <?php /* translators: Sitewide activity RSS title - "[Site Name] | Site Wide Activity" */ ?> 28 <title><?php printf( '%1$s | %2$s', bp_get_site_name(), __( 'Site Wide Activity', 'buddypress' ) ) ?></title> 28 29 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 29 30 <link><?php echo bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/feed' ?></link> -
trunk/bp-core/bp-core-template.php
r5329 r5394 152 152 } 153 153 154 /** 155 * Echoes bp_get_site_name() 156 */ 154 157 function bp_site_name() { 155 echo apply_filters( 'bp_site_name', get_bloginfo( 'name', 'display' ) ); 156 } 158 echo bp_get_site_name(); 159 } 160 /** 161 * Returns the name of the BP site. Used in RSS headers 162 * 163 * @since 1.6 164 */ 165 function bp_get_site_name() { 166 return apply_filters( 'bp_site_name', get_bloginfo( 'name', 'display' ) ); 167 } 157 168 158 169 function bp_get_profile_header() {
Note: See TracChangeset
for help on using the changeset viewer.