rebuild files structure (ns playground)

master
Jean-Christian Paul Denis 2022-12-21 15:40:28 +01:00
parent 429a38a34a
commit c928eca287
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
6 changed files with 114 additions and 0 deletions

17
_admin.php 100644
View File

@ -0,0 +1,17 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (Dotclear\Plugin\improve\Admin::init()) {
Dotclear\Plugin\improve\Admin::process();
}

22
_config.php 100644
View File

@ -0,0 +1,22 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (!defined('DC_CONTEXT_MODULE')) {
return null;
}
if (Dotclear\Plugin\improve\Config::init()) {
Dotclear\Plugin\improve\Config::process();
Dotclear\Plugin\improve\Config::render();
}

19
_install.php 100644
View File

@ -0,0 +1,19 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (Dotclear\Plugin\improve\Install::init()) {
return Dotclear\Plugin\improve\Install::process();
}
return null;

21
_prepend.php 100644
View File

@ -0,0 +1,21 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (!class_exists('Dotclear\Plugin\improve\Prepend')) {
require __DIR__ . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Prepend.php';
if (Dotclear\Plugin\improve\Prepend::init()) {
Dotclear\Plugin\improve\Prepend::process();
}
}

17
_uninstall.php 100644
View File

@ -0,0 +1,17 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (Dotclear\Plugin\improve\Uninstall::init()) {
Dotclear\Plugin\improve\Uninstall::process($this);
}

18
index.php 100644
View File

@ -0,0 +1,18 @@
<?php
/**
* @brief improve, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
declare(strict_types=1);
if (Dotclear\Plugin\improve\Manage::init()) {
Dotclear\Plugin\improve\Manage::process();
Dotclear\Plugin\improve\Manage::render();
}