Dotclear

source: plugins/pages/index.php @ 3731:3770620079d4

Revision 3731:3770620079d4, 416 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

Line 
1<?php
2/**
3 * @brief pages, a plugin for Dotclear 2
4 *
5 * @package Dotclear
6 * @subpackage Plugins
7 *
8 * @copyright Olivier Meunier & Association Dotclear
9 * @copyright GPL-2.0-only
10 */
11
12if (!defined('DC_CONTEXT_ADMIN')) {return;}
13
14$act = !empty($_REQUEST['act']) ? $_REQUEST['act'] : 'list';
15
16if ($act == 'page') {
17    include dirname(__FILE__) . '/page.php';
18} else {
19    include dirname(__FILE__) . '/list.php';
20}
Note: See TracBrowser for help on using the repository browser.

Sites map