<?php
/**
 * @brief pages, a plugin for Dotclear 2
 *
 * @package Dotclear
 * @subpackage Plugins
 *
 * @copyright Olivier Meunier & Association Dotclear
 * @copyright GPL-2.0-only
 */
if (!defined('DC_CONTEXT_ADMIN')) {
    return;
}

$act = !empty($_REQUEST['act']) ? $_REQUEST['act'] : 'list';

if ($act == 'page') {
    include dirname(__FILE__) . '/page.php';
} else {
    include dirname(__FILE__) . '/list.php';
}
