- Postagens: 31
- Obrigados Recebidos: 0
mudar uma simples frase (Resolvido)
- madrugadanews
- Offline
- JCB! Colaborador
Menos
Mais
14 anos 6 meses atrás #18827
por madrugadanews
madrugadanews replied the topic: Re: mudar uma simples frase (Resolvido)
Olá amigos!!
Eu estou com o mesmo problema...O meu template JA_TELINE III também tem essa frase You are here: e eu abri o arquivo idex.php e não consigo achar a frase no arquivo para traduzir.
Estou colocando aqui os códigos que aparece no arquivo index.php
Me ajudem por favor!!
Abraço a todos.
<?php
/**
* @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
include_once (dirname(__FILE__).DS.'libs'.DS.'ja.template.helper.php');
$tmplTools = JATemplateHelper::getInstance($this, array('ui'));
# Auto Collapse Divs Functions ##########
$ja_left = $this->countModules('left') || ($tmplTools->getParam(JA_TOOL_MENU) == 1);
$ja_right = $this->countModules('right');
if ( $ja_left && $ja_right ) {
$divid = '';
} elseif ( $ja_left ) {
$divid = '-fr';
} elseif ( $ja_right ) {
$divid = '-fl';
} else {
$divid = '-f';
}
$tmplTools->setParam ('divid', $divid);
$curidx = $tmplTools->getCurrentMenuIndex();
//if ($curidx) $curidx--;
//Calculate the width of template
$tmplWidth = '';
$tmplWrapMin = '100%';
switch ($tmplTools->getParam(JA_TOOL_SCREEN)){
case 'auto':
$tmplWidth = '97%';
break;
case 'fluid':
$tmplWidth = intval($tmplTools->getParam('ja_screen_width'));
$tmplWidth = $tmplWidth ? $tmplWidth.'%' : '90%';
break;
case 'fix':
$tmplWidth = intval($tmplTools->getParam('ja_screen_width'));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '751px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '750px';
break;
default:
$tmplWidth = intval($tmplTools->getParam(JA_TOOL_SCREEN));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '751px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '750px';
break;
}
$tmplTools->setParam ('tmplWidth', $tmplWidth);
$tmplTools->setParam ('tmplWrapMin', $tmplWrapMin);
//Main navigation
$ja_menutype = $tmplTools->getParam(JA_TOOL_MENU, 'css');
$jamenu = null;
if ($ja_menutype && $ja_menutype != 'none') {
$japarams = new JParameter('');
$japarams->set( 'menutype', $tmplTools->getParam('menutype', 'mainmenu') );
$japarams->set( 'menu_images_align', 'left' );
$japarams->set( 'menupath', $tmplTools->templateurl() .'/ja_menus');
$japarams->set('menu_title', 0);
$tmplTools->loadMenu($japarams);
}
//End for main navigation
$layout = $tmplTools->getLayout ();
if ($layout) {
$tmplTools->display ($layout);
}
Eu estou com o mesmo problema...O meu template JA_TELINE III também tem essa frase You are here: e eu abri o arquivo idex.php e não consigo achar a frase no arquivo para traduzir.
Estou colocando aqui os códigos que aparece no arquivo index.php
Me ajudem por favor!!
Abraço a todos.
<?php
/**
* @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
include_once (dirname(__FILE__).DS.'libs'.DS.'ja.template.helper.php');
$tmplTools = JATemplateHelper::getInstance($this, array('ui'));
# Auto Collapse Divs Functions ##########
$ja_left = $this->countModules('left') || ($tmplTools->getParam(JA_TOOL_MENU) == 1);
$ja_right = $this->countModules('right');
if ( $ja_left && $ja_right ) {
$divid = '';
} elseif ( $ja_left ) {
$divid = '-fr';
} elseif ( $ja_right ) {
$divid = '-fl';
} else {
$divid = '-f';
}
$tmplTools->setParam ('divid', $divid);
$curidx = $tmplTools->getCurrentMenuIndex();
//if ($curidx) $curidx--;
//Calculate the width of template
$tmplWidth = '';
$tmplWrapMin = '100%';
switch ($tmplTools->getParam(JA_TOOL_SCREEN)){
case 'auto':
$tmplWidth = '97%';
break;
case 'fluid':
$tmplWidth = intval($tmplTools->getParam('ja_screen_width'));
$tmplWidth = $tmplWidth ? $tmplWidth.'%' : '90%';
break;
case 'fix':
$tmplWidth = intval($tmplTools->getParam('ja_screen_width'));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '751px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '750px';
break;
default:
$tmplWidth = intval($tmplTools->getParam(JA_TOOL_SCREEN));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '751px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '750px';
break;
}
$tmplTools->setParam ('tmplWidth', $tmplWidth);
$tmplTools->setParam ('tmplWrapMin', $tmplWrapMin);
//Main navigation
$ja_menutype = $tmplTools->getParam(JA_TOOL_MENU, 'css');
$jamenu = null;
if ($ja_menutype && $ja_menutype != 'none') {
$japarams = new JParameter('');
$japarams->set( 'menutype', $tmplTools->getParam('menutype', 'mainmenu') );
$japarams->set( 'menu_images_align', 'left' );
$japarams->set( 'menupath', $tmplTools->templateurl() .'/ja_menus');
$japarams->set('menu_title', 0);
$tmplTools->loadMenu($japarams);
}
//End for main navigation
$layout = $tmplTools->getLayout ();
if ($layout) {
$tmplTools->display ($layout);
}
Please Entrar ou Registrar to join the conversation.