blob: 77260212e5da0d616dc6f5214d59ba704c30755d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
/**
* Elgg title element
*
* @uses $vars['title'] The page title
* @uses $vars['class'] Optional class for heading
*/
if (isset($vars['header'])) {
echo $vars['header'];
return true;
}
$class = '';
if (isset($vars['class'])) {
$class = " class=\"{$vars['class']}\"";
}
echo elgg_view_menu('title', array('sort_by' => 'priority'));
echo "<h1{$class}>{$vars['title']}</h1>";
echo elgg_view('navigation/breadcrumbs');
|