From af697567987abba8c9f37dcfadda20e5d90cad65 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 10 Jul 2008 16:05:08 +0000 Subject: elgg_view_title can now suppress the submenu git-svn-id: https://code.elgg.org/elgg/trunk@1393 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index bde7d9499..a529921ce 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -479,9 +479,9 @@ * @param string $title The page title * @return string The HTML (etc) */ - function elgg_view_title($title) { + function elgg_view_title($title, $submenu = true) { - $title = elgg_view('page_elements/title', array('title' => $title)); + $title = elgg_view('page_elements/title', array('title' => $title, 'submenu' => $submenu)); return $title; -- cgit v1.2.3