12345678910111213141516171819 |
- <?php
- /**
- * Elgg title element
- *
- * @uses $vars['title'] The page title
- * @uses $vars['class'] Optional class for heading
- */
- if (!isset($vars['title'])) {
- return;
- }
- $class= '';
- if (isset($vars['class'])) {
- $class = " class=\"{$vars['class']}\"";
- }
- echo "<h2{$class}>{$vars['title']}</h2>";
|