diff options
| author | Cash Costello <cash.costello@gmail.com> | 2011-07-06 06:51:53 -0400 | 
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2011-07-06 06:51:53 -0400 | 
| commit | d15c4bdf3388b7eca709bd81c522ac1ebf087f0a (patch) | |
| tree | f8d7ce9e0e8a36be07041fef133d964628ff2d01 /mod/blog | |
| parent | 9b042da78566d284d71ca5299d9f9402c49d36ba (diff) | |
| download | elgg-d15c4bdf3388b7eca709bd81c522ac1ebf087f0a.tar.gz elgg-d15c4bdf3388b7eca709bd81c522ac1ebf087f0a.tar.bz2  | |
changed new convenience function from elgg_register_add_button() to elgg_register_title_button()
Diffstat (limited to 'mod/blog')
| -rw-r--r-- | mod/blog/lib/blog.php | 4 | 
1 files changed, 2 insertions, 2 deletions
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');  | 
