# @license - Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: http://www.joomlart.com - http://www.joomlancers.com # This file may not be redistributed in whole or significant part. -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die('Restricted access'); include_once dirname(__FILE__) . DS . '/ja_templatetools_1.5.php'; $mainframe =& JFactory::getApplication('site'); if (defined('_DEMO_MODE_')) { $tmpTools = new JA_Tools($this, array(JA_TOOL_MENU, JA_TOOL_COLOR)); } else { $tmpTools = new JA_Tools($this); } $tmpTools->setScreenSizes(array('wide', 'narrow')); $tmpTools->setColorThemes(array('default', 'cyan', 'blue', 'red')); # Auto Collapse Divs Functions ########## $ja_left = $this->countModules('left'); $ja_right = $this->countModules('right'); if ($tmpTools->isContentEdit()) { $ja_right = $ja_left = 0; } if ($ja_left && $ja_right) { $divid = ''; } elseif ($ja_left) { $divid = '-fr'; } elseif ($ja_right) { $divid = '-fl'; } else { $divid = '-f'; }
include_once dirname(__FILE__) . DS . '/includes/templatetools.php'; # BEGIN: TEMPLATE CONFIGURATIONS ########## #################################### $_params = new JParameter(); #FONT SIZE DESCRIPTION $_params->set('ja_font', '3'); //value from 1 to 6 #Color $_params->set('ja_color', 'default'); //default, red #TEMPLATE WIDTH DESCRIPTION $_params->set('ja_screen', 'wide'); //narrow:Narrow Screen; wide:Wide Screen; #MENU'S TYPE $_params->set('ja_menu', 'css'); //css:CSS Menu; moo:Moo Menu; $_params->set('usertool_font', 2); //0: disable, 2: show font tools $_params->set('usertool_color', 4); //0: disable, 4: show font tools # END: TEMPLATE CONFIGURATIONS ########## global $tmpTools; if (defined('_DEMO_MODE_')) { $tmpTools = new JA_Tools('jm_trex', $_params, array(JA_TOOL_MENU, JA_TOOL_COLOR)); $tmpTools->checkHomepage(); } else { $tmpTools = new JA_Tools('jm_trex', $_params); } #Supported colors $tmpTools->setColorThemes(array('default', 'blue', 'green', 'violet', 'yellow'));
<?php /*------------------------------------------------------------------------ # JA Larix for Joomla 1.5 - Version 1.4 - Licence Owner JA130602 # ------------------------------------------------------------------------ # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license - Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: http://www.joomlart.com - http://www.joomlancers.com # This file may not be redistributed in whole or significant part. -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die('Restricted access'); include_once dirname(__FILE__) . DS . '/ja_templatetools.php'; $tmpTools = new JA_Tools($this); $tmpTools->setColorThemes(array('default', 'cyan', 'green')); //Main navigation $japarams = new JParameter(''); $japarams->set('menu_images_align', 'left'); $japarams->set('menutype', 'mainmenu'); $japarams->set('menupath', $tmpTools->templateurl() . '/ja_menus'); $menu = ''; switch ($tmpTools->getParam(JA_TOOL_MENU)) { case 3: $menu = "Transmenu"; include_once dirname(__FILE__) . DS . 'ja_menus/' . $menu . '.class.php'; break; case 2: $menu = "CSSmenu"; include_once dirname(__FILE__) . DS . 'ja_menus/' . $menu . '.class.php'; break;