rendered paste body--- typo3_src-4.1.2/t3lib/class.t3lib_tstemplate.php 2007-07-15 19:31:20.000000000 -0400
+++ ../typo3_src-4.1.2/t3lib/class.t3lib_tstemplate.php 2007-10-16 17:34:25.000000000 -0400
@@ -1208,6 +1208,18 @@
*/
function printTitle($title,$no_title=0,$titleFirst=0) {
$st = trim($this->setup['sitetitle']) ? $this->setup['sitetitle']:'';
+ /**
+ * Modification: for multi-language titles
+ */
+ if(empty($st) && $this->rootId && $GLOBALS['TSFE']->id!=$this->rootId) {
+ $root_page = $GLOBALS['TSFE']->sys_page->getPage_noCheck($this->rootId);
+ if(sizeof($root_page)) {
+ $st = trim($root_page['nav_title'] ? $root_page['nav_title'] : $root_page['title']);
+ }
+ }
+ /*
+ * END of multi-language title modification
+ */
$title = $no_title ? '' : $title;
if ($titleFirst) {
$temp=$st;