X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fhtml%2Fclass_HtmlLoginCommand.php;h=e3235769ab1fa3abd519da827ee6c07ba90656a3;hp=c1d71c90b0e40289d05505c60e6a88aebdd4fdd6;hb=ba2d7c9ae0a285d675ffba6442ac2f1a00feb332;hpb=4e622c9abde45dd521eee889b47da59c95cf9872 diff --git a/inc/classes/main/commands/html/class_HtmlLoginCommand.php b/inc/classes/main/commands/html/class_HtmlLoginCommand.php index c1d71c90..e3235769 100644 --- a/inc/classes/main/commands/html/class_HtmlLoginCommand.php +++ b/inc/classes/main/commands/html/class_HtmlLoginCommand.php @@ -38,9 +38,9 @@ class HtmlLoginCommand extends BaseCommand implements Commandable, Registerable * @param $resolverInstance An instance of a command resolver class * @return $commandInstance An instance a prepared command class */ - public static final function createWebLoginCommand (CommandResolver $resolverInstance) { + public static final function createHtmlLoginCommand (CommandResolver $resolverInstance) { // Get new instance - $commandInstance = new WebLoginCommand(); + $commandInstance = new HtmlLoginCommand(); // Set the application instance $commandInstance->setResolverInstance($resolverInstance); @@ -93,7 +93,7 @@ class HtmlLoginCommand extends BaseCommand implements Commandable, Registerable $templateInstance->loadCodeTemplate('login_form'); // Assign the home template with the master template as a content ... ;) - $templateInstance->assignTemplateWithVariable('login_form', 'content'); + $templateInstance->assignTemplateWithVariable('login_form', 'main_content'); // Load the master template $templateInstance->loadCodeTemplate($masterTemplate);