It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlLoginCommand.php
index a594a8c7e62c5553752c3c2a5bb72e6cd0087f47..e3235769ab1fa3abd519da827ee6c07ba90656a3 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 WebLoginCommand extends BaseCommand implements Commandable, Registerable {
+class HtmlLoginCommand extends BaseCommand implements Commandable, Registerable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebLoginCommand 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 WebLoginCommand 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);