diff --git a/_admin.php b/_admin.php index d395464..5432734 100644 --- a/_admin.php +++ b/_admin.php @@ -31,14 +31,14 @@ dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( ); if (dcCore::app()->activityReport->getSetting('active')) { - dcCore::app()->addBehavior('adminDashboardContentsV2', ['activityReportAdmin', 'adminDashboardContents']); - dcCore::app()->addBehavior('adminDashboardOptionsFormV2', ['activityReportAdmin', 'adminDashboardOptionsForm']); + dcCore::app()->addBehavior('adminDashboardContentsV2', ['activityReportAdmin', 'adminDashboardContentsV2']); + dcCore::app()->addBehavior('adminDashboardOptionsFormV2', ['activityReportAdmin', 'adminDashboardOptionsFormV2']); dcCore::app()->addBehavior('adminAfterDashboardOptionsUpdate', ['activityReportAdmin', 'adminAfterDashboardOptionsUpdate']); } class activityReportAdmin { - public static function adminDashboardContents($items) + public static function adminDashboardContentsV2($items) { dcCore::app()->auth->user_prefs->addWorkspace(basename(__DIR__)); $limit = abs((int) dcCore::app()->auth->user_prefs->__get(basename(__DIR__))->dashboard_item); @@ -95,7 +95,7 @@ class activityReportAdmin ]); } - public static function adminDashboardOptionsForm() + public static function adminDashboardOptionsFormV2() { dcCore::app()->auth->user_prefs->addWorkspace(basename(__DIR__)); diff --git a/_install.php b/_install.php index 1b52252..4c94e7c 100644 --- a/_install.php +++ b/_install.php @@ -15,7 +15,7 @@ if (!defined('DC_CONTEXT_ADMIN')) { } if (!dcCore::app()->newVersion( - basename(__DIR__), + basename(__DIR__), dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version') )) { return null; diff --git a/inc/class.activity.report.behaviors.php b/inc/class.activity.report.behaviors.php index 85d8df7..f283658 100644 --- a/inc/class.activity.report.behaviors.php +++ b/inc/class.activity.report.behaviors.php @@ -96,7 +96,6 @@ class activityReportBehaviors ['activityReportBehaviors', 'postUpdate'] ); - // from BEHAVIOR adminBeforePostDelete in admin/posts_actions.php // from BEHAVIOR adminBeforePostDelete in admin/post.php dcCore::app()->activityReport->addAction( 'post', diff --git a/inc/lib.parselogs.config.php b/inc/lib.parselogs.config.php index 4294f0c..94ed062 100644 --- a/inc/lib.parselogs.config.php +++ b/inc/lib.parselogs.config.php @@ -11,7 +11,7 @@ * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html */ $format = [ - 'html' => [ + 'html' => [ 'blog_title' => '

%TEXT%

', 'blog_open' => '', 'blog_close' => '',