X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fhtml%2Fclass_HtmlLoginAreaCommand.php;h=555f246c91f34b21895bb9e97c13ad668885fab1;hp=5ab4d807da163b3b3fc1263f054a90d4ef4a14c3;hb=ba2d7c9ae0a285d675ffba6442ac2f1a00feb332;hpb=4e622c9abde45dd521eee889b47da59c95cf9872 diff --git a/inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php b/inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php index 5ab4d807..555f246c 100644 --- a/inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php +++ b/inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php @@ -43,9 +43,9 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable { * @param $resolverInstance An instance of a command resolver class * @return $commandInstance An instance a prepared command class */ - public static final function createWebLoginAreaCommand (CommandResolver $resolverInstance) { + public static final function createHtmlLoginAreaCommand (CommandResolver $resolverInstance) { // Get new instance - $commandInstance = new WebLoginAreaCommand(); + $commandInstance = new HtmlLoginAreaCommand(); // Set the application instance $commandInstance->setResolverInstance($resolverInstance); @@ -124,7 +124,7 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable { // Assign the main template with the master template as a content ... ;) $templateInstance->compileTemplate(); - $templateInstance->assignTemplateWithVariable('login_main', 'content'); + $templateInstance->assignTemplateWithVariable('login_main', 'main_content'); // Load the master template $templateInstance->loadCodeTemplate($masterTemplate); @@ -186,7 +186,7 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable { $applicationInstance = $this->getResolverInstance()->getApplicationInstance(); // Get a resolver - $actionResolver = WebActionResolver::createWebActionResolver($this->actionName, $applicationInstance); + $actionResolver = HtmlActionResolver::createHtmlActionResolver($this->actionName, $applicationInstance); // Resolve the action $actionInstance = $actionResolver->resolveAction();