All actions now have a prefix 'action_'
[shipsimu.git] / inc / classes / main / commands / web / class_WebLoginAreaCommand.php
index a9d37b2b829cf22a80c10b064a64a635704aacba..a8412732a89fe2791cdd3e206b4a8a1c11366491 100644 (file)
@@ -122,11 +122,11 @@ class WebLoginAreaCommand extends BaseCommand implements Commandable {
                $templateInstance->assignTemplateWithVariable('footer', 'footer');
 
                // Load the matching template
                $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();
 
                // 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');
 
                // Load main template
                $templateInstance->loadCodeTemplate('login_main');