diff options
Diffstat (limited to 'mod/pages/new.php')
-rw-r--r-- | mod/pages/new.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mod/pages/new.php b/mod/pages/new.php index b47d91164..7cf46d1c3 100644 --- a/mod/pages/new.php +++ b/mod/pages/new.php @@ -25,15 +25,15 @@ //if it is a sub page, provide a link back to parent if(get_input('parent_guid')){ - $parent = get_entity(get_input('parent_guid')); - - // Breadcrumbs - $area2 .= elgg_view('pages/breadcrumbs', array('page_owner' => $page_owner, 'parent' => $parent, 'add' => true)); - } - - global $CONFIG; + t$parent = get_entity(get_input('parent_guid')); + t + t// Breadcrumbs + t$area2 .= elgg_view('pages/breadcrumbs', array('page_owner' => $page_owner, 'parent' => $parent, 'add' => true)); +t} +t +tglobal $CONFIG; add_submenu_item(sprintf(elgg_echo("pages:user"), page_owner_entity()->name), $CONFIG->url . "pg/pages/owned/" . page_owner_entity()->username, 'pageslinksgeneral'); - +t $title = elgg_echo("pages:new"); $area2 .= elgg_view_title($title); $area2 .= elgg_view("forms/pages/edit"); |