]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php
It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlLoginAreaCommand.php
index 5ab4d807da163b3b3fc1263f054a90d4ef4a14c3..555f246c91f34b21895bb9e97c13ad668885fab1 100644 (file)
@@ -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
         */
         * @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
                // Get new instance
-               $commandInstance = new WebLoginAreaCommand();
+               $commandInstance = new HtmlLoginAreaCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
 
                // 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();
 
                // 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);
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);
@@ -186,7 +186,7 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable {
                $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Get a resolver
                $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();
 
                // Resolve the action
                $actionInstance = $actionResolver->resolveAction();