2015-04-25 19:25:03 +00:00
|
|
|
<?php
|
2021-09-11 09:56:57 +00:00
|
|
|
/**
|
|
|
|
* @brief zoneclearFeedServer, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Jean-Christian Denis, BG, Pierre Van Glabeke
|
|
|
|
*
|
|
|
|
* @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
|
|
|
}
|
|
|
|
|
|
|
|
$d = dirname(__FILE__).'/inc/';
|
|
|
|
|
2021-09-11 10:02:49 +00:00
|
|
|
$__autoload['zoneclearFeedServer'] = $d . 'class.zoneclear.feed.server.php';
|
|
|
|
$__autoload['zcfsFeedsList'] = $d . 'lib.zcfs.list.php';
|
|
|
|
$__autoload['zcfsEntriesList'] = $d . 'lib.zcfs.list.php';
|
2021-10-09 22:43:37 +00:00
|
|
|
$__autoload['adminZcfsPostFilter'] = $d . 'lib.zcfs.list.php';
|
2021-09-11 10:02:49 +00:00
|
|
|
$__autoload['zcfsFeedsActionsPage'] = $d . 'class.zcfs.feedsactions.php';
|
|
|
|
$__autoload['zcfsDefaultFeedsActions'] = $d . '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
|
2015-04-25 19:25:03 +00:00
|
|
|
$core->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')) {
|
2021-09-11 10:02:49 +00:00
|
|
|
require_once $d .'lib.zcfs.activityreport.php';
|
2015-04-25 19:25:03 +00:00
|
|
|
}
|