2015-04-25 19:25:03 +00:00
|
|
|
<?php
|
2021-09-11 09:56:57 +00:00
|
|
|
/**
|
|
|
|
* @brief zoneclearFeedServer, a plugin for Dotclear 2
|
2021-11-06 15:30:19 +00:00
|
|
|
*
|
2021-09-11 09:56:57 +00:00
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
2021-11-06 15:30:19 +00:00
|
|
|
*
|
2021-09-11 09:56:57 +00:00
|
|
|
* @author Jean-Christian Denis, BG, Pierre Van Glabeke
|
2021-11-06 15:30:19 +00:00
|
|
|
*
|
2021-09-11 09:56:57 +00:00
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2015-04-25 19:25:03 +00:00
|
|
|
if (!defined('DC_RC_PATH')) {
|
2021-09-11 09:56:57 +00:00
|
|
|
return null;
|
2015-04-25 19:25:03 +00:00
|
|
|
}
|
|
|
|
|
2022-11-15 20:05:21 +00:00
|
|
|
Clearbricks::lib()->autoload(['zoneclearFeedServer' => __DIR__ . '/inc/class.zoneclear.feed.server.php']);
|
|
|
|
Clearbricks::lib()->autoload(['zcfsFeedsList' => __DIR__ . '/inc/lib.zcfs.list.php']);
|
|
|
|
Clearbricks::lib()->autoload(['zcfsEntriesList' => __DIR__ . '/inc/lib.zcfs.list.php']);
|
|
|
|
Clearbricks::lib()->autoload(['adminZcfsPostFilter' => __DIR__ . '/inc/lib.zcfs.list.php']);
|
|
|
|
Clearbricks::lib()->autoload(['zcfsFeedsActionsPage' => __DIR__ . '/inc/class.zcfs.feedsactions.php']);
|
|
|
|
Clearbricks::lib()->autoload(['zcfsDefaultFeedsActions' => __DIR__ . '/inc/class.zcfs.feedsactions.php']);
|
2015-04-25 19:25:03 +00:00
|
|
|
|
2021-09-11 10:02:49 +00:00
|
|
|
// public url for page of description of the flux
|
2022-11-15 20:05:21 +00:00
|
|
|
dcCore::app()->url->register(
|
2021-09-11 09:56:57 +00:00
|
|
|
'zoneclearFeedsPage',
|
|
|
|
'zcfeeds',
|
|
|
|
'^zcfeeds(.*?)$',
|
2021-09-12 20:35:57 +00:00
|
|
|
['zcfsUrlHandler', 'zcFeedsPage']
|
2015-04-25 19:25:03 +00:00
|
|
|
);
|
2021-09-11 10:02:49 +00:00
|
|
|
|
|
|
|
// Add to report on plugin activityReport
|
2015-04-25 19:25:03 +00:00
|
|
|
if (defined('ACTIVITY_REPORT')) {
|
2022-11-15 20:05:21 +00:00
|
|
|
require_once __DIR__ . '/inc/lib.zcfs.activityreport.php';
|
2021-11-06 15:30:19 +00:00
|
|
|
}
|