Index: branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php =================================================================== diff -u -r7043 -r7083 --- branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php (.../application.php) (revision 7043) +++ branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php (.../application.php) (revision 7083) @@ -1047,6 +1047,10 @@ { if(!$t) $t = $this->GetVar('t'); // moved from kMainTagProcessor->T() + if ($this->isModuleEnabled('Proj-CMS')) { + $t = preg_replace('/^Content\//', '', $t); + } + /*if ($this->GetVar('skip_last_template')) { $params['opener'] = 'p'; $this->SetVar('m_opener', 'p'); @@ -2120,15 +2124,15 @@ $current_prefix = $parent_prefix; array_unshift($prefixes, $current_prefix); } - + // 2. find what if parent is passed $passed = explode(',', $this->GetVar('passed')); foreach ($prefixes as $current_prefix) { if (in_array($current_prefix, $passed)) { break; } } - + return $current_prefix; }