$templateInstance->loadCodeTemplate($masterTemplate);
// Set title
- $title = ucfirst($requestInstance->getRequestElement("page"));
- if (empty($title)) $title = "Home";
- $templateInstance->assignVariable('title', $title);
+ $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage('page_home_title'));
// ... and all variables. This should be merged together in a pattern
// to make things easier. A cache mechanism should be added between