]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/html/class_HtmlConfirmCommand.php
It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlConfirmCommand.php
index 7c3d3ec9267af5f2f524dcb0dc813e0609e82814..9cc72c4ffa3ae16de698ea146efbd059f2b3fe51 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class WebConfirmCommand extends BaseCommand implements Commandable {
+class HtmlConfirmCommand extends BaseCommand implements Commandable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebConfirmCommand 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 WebConfirmCommand 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);