It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlConfirmCommand.php
index 0ca3f7ea941447b867ca5b6a335d5f11b28a550b..9cc72c4ffa3ae16de698ea146efbd059f2b3fe51 100644 (file)
@@ -38,9 +38,9 @@ class HtmlConfirmCommand 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 createWebConfirmCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlConfirmCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebConfirmCommand();
+               $commandInstance = new HtmlConfirmCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -90,7 +90,7 @@ class HtmlConfirmCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate('confirm_link');
 
                // Assign the home template with the master template as a content ... ;)
-               $templateInstance->assignTemplateWithVariable('confirm_link', 'content');
+               $templateInstance->assignTemplateWithVariable('confirm_link', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);