<?php
/**
 * HTML Jelix response for full screen map.
 *
 * @author    3liz
 * @copyright 2011-2022 3liz
 *
 * @see      http://3liz.com
 *
 * @license Mozilla Public License : http://www.mozilla.org/MPL/
 */
require_once __DIR__.'/AbstractLizmapHtmlResponse.php';

class simpleHtmlResponse extends AbstractLizmapHtmlResponse
{
    public $bodyTpl = 'view~simplepage';

    public function __construct()
    {
        parent::__construct();
        $this->title = 'Lizmap';
    }

    protected function doAfterActions()
    {
        // Include all process in common for all actions, like the settings of the
        // main template, the settings of the response etc..
        // $this->bodyTagAttributes = array('onload'=>'init()');
        $this->body->assignIfNone('MAIN', '<p>Pas de contenu</p>');
    }
}
