aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:56:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:56:30 +0000
commitffca510fca9f902930dcbb1893bb6b5c5e1e8e3a (patch)
tree55bba14274aeba35ced042eb7f3f3f5826fc7b56 /mod/blog/lib
parent15fd80978f5cfd56038fd077f92a6ec860d86847 (diff)
downloadelgg-ffca510fca9f902930dcbb1893bb6b5c5e1e8e3a.tar.gz
elgg-ffca510fca9f902930dcbb1893bb6b5c5e1e8e3a.tar.bz2
switched from new to add
git-svn-id: http://code.elgg.org/elgg/trunk@7846 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/lib')
-rw-r--r--mod/blog/lib/blog.php10
1 files changed, 5 insertions, 5 deletions
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]}";