aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/layout/shells/content/header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/layout/shells/content/header.php b/views/default/layout/shells/content/header.php
index 6eae17251..4eee09b5e 100644
--- a/views/default/layout/shells/content/header.php
+++ b/views/default/layout/shells/content/header.php
@@ -27,10 +27,10 @@ if ($context) {
} else {
if (isloggedin() && $context) {
$guid = get_loggedin_userid();
- $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/new/$guid/");
+ $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/add/$guid/");
$params = array(
'href' => $new_link = elgg_normalize_url($new_link),
- 'text' => elgg_echo("$context:new"),
+ 'text' => elgg_echo("$context:add"),
'class' => 'elgg-action-button',
);
$buttons = elgg_view('output/url', $params);