From 655b1c3b271e05e37d9acae9d9ec49b38603fdc3 Mon Sep 17 00:00:00 2001 From: Vladimir <30542757+semchishinv@users.noreply.github.com> Date: Fri, 23 Mar 2018 14:25:14 +0600 Subject: [PATCH] Fixed for ver 4.2 (#2) * Fixed for ver 4.2 * Fixed according last comments --- admin/index.php | 4 +- docs/changelog.html | 5 + ...a.admin.wallpost.php => ia.admin.wall.php} | 4 +- ...a.front.wallpost.php => ia.front.wall.php} | 5 +- includes/hook.blocks-load.php | 8 +- index.php | 5 +- install.xml | 154 ++++++++-------- js/admin/posts.js | 115 ++++++------ js/frontend/block.wall.js | 166 +++++++++--------- templates/admin/index.tpl | 114 ++++++------ templates/front/block.wall.tpl | 61 ++++--- templates/front/css/style.css | 92 +++++----- templates/front/list.tpl | 64 +++---- templates/front/tab.member.tpl | 10 +- 14 files changed, 407 insertions(+), 400 deletions(-) rename includes/classes/{ia.admin.wallpost.php => ia.admin.wall.php} (97%) rename includes/classes/{ia.front.wallpost.php => ia.front.wall.php} (95%) diff --git a/admin/index.php b/admin/index.php index b9271a2..286785f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -2,7 +2,7 @@ /****************************************************************************** * * Subrion - open source content management system - * Copyright (C) 2017 Intelliants, LLC + * Copyright (C) 2018 Intelliants, LLC * * This file is part of Subrion. * @@ -24,7 +24,7 @@ * ******************************************************************************/ -$iaWallpost = $iaCore->factoryPlugin('wall', iaCore::ADMIN, 'wallpost'); +$iaWallpost = $iaCore->factoryModule('wall', IA_CURRENT_MODULE); $iaDb->setTable('wall_posts'); diff --git a/docs/changelog.html b/docs/changelog.html index f505216..7fb908a 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -1,4 +1,9 @@