?
Path : /home/admin/public_html/old/happy2/plugins/system/jat3/jat3/base-themes/default/blocks/ |
Current File : /home/admin/public_html/old/happy2/plugins/system/jat3/jat3/base-themes/default/blocks/modules.php |
<?php /** * ------------------------------------------------------------------------ * JA T3v2 System Plugin for J25 & J31 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html * Author: J.O.O.M Solutions Co., Ltd * Websites: http://www.joomlart.com - http://www.joomlancers.com * ------------------------------------------------------------------------ */ // No direct access defined('_JEXEC') or die; ?> <?php $positions = preg_split ('/,/', T3Common::node_data($block)); $parent = T3Common::node_attributes($block, 'parent', 'middle'); $style = $this->getBlockStyle ($block, $parent); if (!$this->countModules (T3Common::node_data($block))) return; ?> <?php foreach ($positions as $position) : if ($this->countModules($position)) : ?> <jdoc:include type="modules" name="<?php echo $position ?>" style="<?php echo $style ?>" /> <?php endif; endforeach ?>