*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
$appInstance = $this->getResolverInstance()->getApplicationInstance();
// Prepare a template instance
- $templateInstance = $this->prepareTemplateEngine($appInstance);
+ $templateInstance = $this->prepareTemplateInstance($appInstance);
// Assign base URL
$templateInstance->assignConfigVariable('base_url');
$templateInstance->assignTemplateWithVariable('footer', 'footer');
// Load the matching template
- $templateInstance->loadCodeTemplate($this->actionName);
+ $templateInstance->loadCodeTemplate('action_' . $this->actionName);
// Assign the template with the master template as a content ... ;)
$templateInstance->compileTemplate();
- $templateInstance->assignTemplateWithVariable($this->actionName, "login_content");
+ $templateInstance->assignTemplateWithVariable('action_' . $this->actionName, 'login_content');
// Load main template
$templateInstance->loadCodeTemplate('login_main');