diff options
Diffstat (limited to 'mod/blog')
| -rw-r--r-- | mod/blog/languages/en.php | 4 | ||||
| -rw-r--r-- | mod/blog/lib/blog.php | 4 | 
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/blog/languages/en.php b/mod/blog/languages/en.php index 47dc57dda..8a21c1f8d 100644 --- a/mod/blog/languages/en.php +++ b/mod/blog/languages/en.php @@ -53,10 +53,12 @@ $english = array(  	'blog:error:revision_not_found' => 'Cannot find this revision.',  	// river -	  	'river:create:object:blog' => '%s published a blog post %s',  	'river:comment:object:blog' => '%s commented on the blog %s', +	// notifications +	'blog:newpost' => 'A new blog post', +  	// widget  	'blog:widget:description' => 'Display your latest blog posts',  	'blog:moreblogs' => 'More blog posts', diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index 0f81597eb..b7b1a2baa 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -92,7 +92,7 @@ function blog_get_page_content_list($container_guid = NULL) {  		elgg_push_breadcrumb(elgg_echo('blog:blogs'));  	} -	elgg_register_add_button(); +	elgg_register_title_button();  	// show all posts for admin or users looking at their own blogs  	// show only published posts for other users. @@ -131,7 +131,7 @@ function blog_get_page_content_friends($user_guid) {  	elgg_push_breadcrumb($crumbs_title, "blog/owner/{$user->username}");  	elgg_push_breadcrumb(elgg_echo('friends')); -	elgg_register_add_button(); +	elgg_register_title_button();  	if (!$friends = get_user_friends($user_guid, ELGG_ENTITIES_ANY_VALUE, 0)) {  		$return['content'] .= elgg_echo('friends:none:you');  | 
