]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/html/class_HtmlLoginFailedCommand.php
Opps, forgot this.
[core.git] / inc / classes / main / commands / html / class_HtmlLoginFailedCommand.php
index 960ce7b0c9127e4697565d8450f550a91425d3f9..4a73bd2b683e249189835ad0c7f76e59cdba6eee 100644 (file)
@@ -38,9 +38,9 @@ class HtmlLoginFailedCommand 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 createWebLoginFailedCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlLoginFailedCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebLoginFailedCommand();
+               $commandInstance = new HtmlLoginFailedCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -87,7 +87,7 @@ class HtmlLoginFailedCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate('login_failed');
 
                // Assign the login_failed template with the master template as a content ... ;)
-               $templateInstance->assignTemplateWithVariable('login_failed', 'content');
+               $templateInstance->assignTemplateWithVariable('login_failed', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);