/** * Show block * * @param $block array * Block name * * @return void */ function showBlock($block) { $data = $this->loadBlock($block); //fix t3 link if (!T3Common::isHome() && is_array($block) && $block['attributes']['name'] == 'footer') { $data = T3Common::fixT3Link($data); } if (!$data) { return; } if (is_array($block)) { // show block begin & end $parent = T3Common::node_attributes($block, 'parent', 'middle'); if ($parent == 'head') { echo $data; } else { if ($parent == 'middle') { $this->genMiddleBlockBegin($block); echo $data; $this->genMiddleBlockEnd($block); } else { $this->genBlockBegin($block); echo $data; $this->genBlockEnd($block); } } } else { echo $data; } return; }
<?php /** * @version $Id: default.php 18117 2010-07-13 18:09:01Z infograf768 $ * @package Joomla.Site * @subpackage mod_footer * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; ?> <small><?php echo $lineone; ?> Designed by <a href="http://www.joomlart.com/" title="Visit Joomlart.com!" <?php echo T3Common::isHome() ? '' : 'rel="nofollow"'; ?> >JoomlArt.com</a>.</small> <small><?php echo JText::_('MOD_FOOTER_LINE2'); ?> </small>