diff options
Diffstat (limited to 'mod/pages/views/default/object')
-rw-r--r-- | mod/pages/views/default/object/page_top.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php index aca75b625..72d9720ef 100644 --- a/mod/pages/views/default/object/page_top.php +++ b/mod/pages/views/default/object/page_top.php @@ -51,15 +51,11 @@ if ($comments_count != 0 && !$revision) { $comments_link = ''; } -$history_link = elgg_view('output/url', array( - 'href' => "pg/pages/history/$page->guid", - 'text' => elgg_echo('pages:history'), -)); - -$metadata = elgg_view('navigation/menu/metadata', array( - 'entity' => $page, +$metadata = elgg_view_menu('entity', array( + 'entity' => $vars['entity'], 'handler' => 'pages', - 'links' => array($history_link), + 'sort_by' => 'priority', + 'class' => 'elgg-menu-hz', )); $subtitle = "$editor_text $categories $comments_link"; |