Project

General

Profile

Bug #21729 » 12828_v2.diff

Administrator Admin, 2009-11-29 13:33

View differences:

t3lib/class.t3lib_pagerenderer.php (working copy)
}
/**
* Sets language
* @return void
*
* @param string $lang used language
*/
public function setLanguage($lang) {
$this->lang = $lang;
}
/**
* Sets html tag
*
* @param string $htmlTag html tag
......
}
/**
* Gets the language
*
* @return string $lang
*/
public function getLanguage() {
return $this->lang;
}
/**
* Gets html tag
*
* @return string $htmlTag html tag
typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
// Setting language key and split index:
$this->lang = $this->config['config']['language'] ? $this->config['config']['language'] : 'default';
$this->getPageRenderer()->setLanguage($this->lang);
$ls = explode('|',TYPO3_languages);
while(list($i,$v)=each($ls)) {
typo3/template.php (working copy)
$this->pageRenderer->setTemplateFile(
TYPO3_mainDir . 'templates/template_page_backend.html'
);
$this->pageRenderer->setLanguage($GLOBALS['LANG']->lang);
}
return $this->pageRenderer;
}
(3-3/3)