It is now 'main_content'.
[core.git] / inc / classes / main / commands / html / class_HtmlLogoutDoneCommand.php
index 269f19a89082b571f71e7e22ac707c2df896ceea..b02ab925410e05618f5b3ec02684c13caff1ded7 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 WebLogoutDoneCommand extends BaseCommand implements Commandable {
+class HtmlLogoutDoneCommand extends BaseCommand implements Commandable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebLogoutDoneCommand 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 createWebLogoutDoneCommand (CommandResolver $resolverInstance) {
+       public static final function createHtmlLogoutDoneCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebLogoutDoneCommand();
+               $commandInstance = new HtmlLogoutDoneCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -87,7 +87,7 @@ class WebLogoutDoneCommand extends BaseCommand implements Commandable {
                $templateInstance->loadCodeTemplate('logout_done');
 
                // Assign the logout_done template with the master template as a content ... ;)
-               $templateInstance->assignTemplateWithVariable('logout_done', 'content');
+               $templateInstance->assignTemplateWithVariable('logout_done', 'main_content');
 
                // Load the master template
                $templateInstance->loadCodeTemplate($masterTemplate);