It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlStatusCommand.php
index 3946c8227b0d0bdcdf08b81c7cb27e77c71f15bf..e27858ca6311787e6a72000d9e7d2c04bf75c2ab 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 WebStatusCommand extends BaseCommand implements Commandable {
+class HtmlStatusCommand extends BaseCommand implements Commandable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebStatusCommand 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 createWebStatusCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlStatusCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebStatusCommand();
+               $commandInstance = new HtmlStatusCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -88,7 +88,7 @@ class WebStatusCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate('status');
 
                // Assign the status template with the master template as a content ... ;)
-               $templateInstance->assignTemplateWithVariable('status', 'content');
+               $templateInstance->assignTemplateWithVariable('status', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);