It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlRegisterCommand.php
index de17bc33fac62430f3a7a8767b5eafc3d7d4e98d..4f8105d20193a708a6552880b157d97ba4f8ac03 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 WebRegisterCommand extends BaseCommand implements Commandable, Registerable {
+class HtmlRegisterCommand extends BaseCommand implements Commandable, Registerable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public static final function createWebRegisterCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlRegisterCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebRegisterCommand();
+               $commandInstance = new HtmlRegisterCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -94,7 +94,7 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
 
                // Assign the register template with the master template as a content ... ;)
                $templateInstance->compileTemplate();
-               $templateInstance->assignTemplateWithVariable('register_form', 'content');
+               $templateInstance->assignTemplateWithVariable('register_form', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);