From ffca510fca9f902930dcbb1893bb6b5c5e1e8e3a Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 6 Jan 2011 01:56:30 +0000 Subject: switched from new to add git-svn-id: http://code.elgg.org/elgg/trunk@7846 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/lib/blog.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mod/blog/lib/blog.php') diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index c0b24f92e..3a8985026 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -91,10 +91,10 @@ function blog_get_page_content_list($container_guid = NULL) { if (elgg_instanceof($container, 'group')) { $return['filter'] = ''; if ($container->isMember(get_loggedin_user())) { - $url = "pg/blog/new/$container->guid"; + $url = "pg/blog/add/$container->guid"; $params = array( 'href' => $url, - 'text' => elgg_echo("blog:new"), + 'text' => elgg_echo("blog:add"), 'class' => 'elgg-action-button', ); $buttons = elgg_view('output/url', $params); @@ -327,10 +327,10 @@ function blog_get_page_content_edit($page, $guid = 0, $revision = NULL) { } elgg_set_page_owner_guid($container->guid); - elgg_push_breadcrumb(elgg_echo('blog:new')); + elgg_push_breadcrumb(elgg_echo('blog:add')); $body_vars = blog_prepare_form_vars($blog); - $title = elgg_echo('blog:new'); + $title = elgg_echo('blog:add'); $content = elgg_view_form('blog/save', $vars, $body_vars); $content .= elgg_view('js/blog/save_draft'); } @@ -472,7 +472,7 @@ function blog_url_forwarder($page) { $url = "{$CONFIG->wwwroot}pg/blog/friends/{$page[0]}"; break; case "new": - $url = "{$CONFIG->wwwroot}pg/blog/new/$user->guid"; + $url = "{$CONFIG->wwwroot}pg/blog/add/$user->guid"; break; case "owner": $url = "{$CONFIG->wwwroot}pg/blog/owner/{$page[0]}"; -- cgit v1.2.3