It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlLoginCommand.php
index c1d71c90b0e40289d05505c60e6a88aebdd4fdd6..e3235769ab1fa3abd519da827ee6c07ba90656a3 100644 (file)
@@ -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);