aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/title.php
blob: 19f47f4e696787a4bbe74982292e72092f4a18b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Elgg title element
 *
 * @uses $vars['title'] The page title
 * @uses $vars['class'] Optional class for heading
 */

$class= '';
if (isset($vars['class'])) {
	$class = " class=\"{$vars['class']}\"";
}

echo "<h2{$class}>{$vars['title']}</h2>";