Current oav website
This commit is contained in:
20
dotclear._no/plugins/pages/index.php
Normal file
20
dotclear._no/plugins/pages/index.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?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';
|
||||
}
|
||||
Reference in New Issue
Block a user