It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlHomeCommand.php
index 3eb7790f66b463189fa77ca2cff32b2ea019af7c..847f01631010cf375cbf61492f367b42e441cfff 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 WebHomeCommand extends BaseCommand implements Commandable {
+class HtmlHomeCommand extends BaseCommand implements Commandable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebHomeCommand 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 createWebHomeCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlHomeCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebHomeCommand();
+               $commandInstance = new HtmlHomeCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -87,7 +87,7 @@ class WebHomeCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate('home');
 
                // Assign the home template with the master template as a content ... ;)
-               $templateInstance->assignTemplateWithVariable('home', 'content');
+               $templateInstance->assignTemplateWithVariable('home', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);