Changeset 391 for trunk/bp-wire/bp-wire-templatetags.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire/bp-wire-templatetags.php
r367 r391 122 122 123 123 if ( !$message ) 124 $empty_message = __("There are currently no wire posts." );124 $empty_message = __("There are currently no wire posts.", 'buddypress'); 125 125 126 126 if ( !$title ) 127 $title = __('Wire' );127 $title = __('Wire', 'buddypress'); 128 128 129 129 /* Pass them as globals, using the same name doesn't work. */ … … 228 228 global $bp; 229 229 230 echo '<a href="' . $bp['loggedin_domain'] . $bp['profile']['slug'] . '">' . __('You' ) . '</a>';230 echo '<a href="' . $bp['loggedin_domain'] . $bp['profile']['slug'] . '">' . __('You', 'buddypress') . '</a>'; 231 231 } 232 232 … … 248 248 if ( ( $wire_posts_template->wire_post->user_id == $bp['loggedin_userid'] ) || $bp['is_item_admin'] ) { 249 249 if ( $bp['current_component'] == 'wire' || $bp['current_component'] == 'profile' ) { 250 echo '<a href="' . $bp['current_domain'] . $bp['wire']['slug'] . '/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete' ) . ']</a>';250 echo '<a href="' . $bp['current_domain'] . $bp['wire']['slug'] . '/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete', 'buddypress') . ']</a>'; 251 251 } else { 252 echo '<a href="' . $bp['current_domain'] . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete' ) . ']</a>';252 echo '<a href="' . $bp['current_domain'] . $bp[$bp['current_component']]['slug'] . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id . '">[' . __('Delete', 'buddypress') . ']</a>'; 253 253 } 254 254 }
Note: See TracChangeset
for help on using the changeset viewer.