File Manager

Current Directory: /home/astoriaah/www/old15/modules/mod_zentools/elements
Viewing File: /home/astoriaah/www/old15/modules/mod_zentools/elements/heading.php
<?php /** * @package Zen Tools * @subpackage Zen Tools * @author Joomla Bamboo - design@joomlabamboo.com * @copyright Copyright (c) 2014 Copyright (C), Joomlabamboo. All Rights Reserved.. All rights reserved. * @license Copyright Joomlabamboo 2014 * @version 1.11.5 */ // no direct access defined('_JEXEC') or die('Restricted access'); class JElementHeading extends JElement { var $_name = 'Heading'; function fetchElement($name, $value, &$node, $control_name) { //when our code starts the second td in a tr are open //we close the second td in tr //we close the current table and divs //we open the new table and divs //we retrieve the panel id and title attributes and add them to the toggle div $panel = '<div class="zenheading"> <h4 class="zentools"> <span>'.JText::_($node->attributes('title')).'</span> </h4></div> '; //we allow the normal element function to close the td and tr return $panel; } } ?>