blob: a340e7a090d56089c0b0dec85c0479a1cc729980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* Elgg title element
* @uses $vars['title'] The page title
*/
$page_owner = page_owner();
$page_owner_entity = get_entity($page_owner);
$display = "<h2>" . $vars['title'] . "</h2>";
$submenu = get_submenu();
if (!empty($submenu)) {
$submenu = "<ul class='submenu extended'>" . $submenu . "</ul>";
}
if (!empty($submenu) && $vars['submenu'] == true) {
// plugins can extend this to add menu options
$display .= $submenu;
}
echo $display;
|