Skip to content

Commit 79c6a65

Browse files
committed
6.0.2
1 parent 0567d7e commit 79c6a65

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 6.0.2
2+
- Небольшой фикс ормирования URL с учётом модуля MultiLAnguage
3+
14
# 6.0.1
25
- Полностью прекращена поддержка DLE старше 13 версии.
36
- Теперь можно вносить изменения в файлы модуля (не классы) через систему плагинов.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DLE-BlockPro — тот самый модуль для вывода новостей!
2-
![version](https://img.shields.io/badge/version-6.0.1-red.svg?style=flat-square "Version")
2+
![version](https://img.shields.io/badge/version-6.0.2-red.svg?style=flat-square "Version")
33
![DLE](https://img.shields.io/badge/DLE-13.x-green.svg?style=flat-square "DLE Version")
44
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/dle-modules/DLE-BlockPro/blob/master/LICENSE)
55

blockpro.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<name>BlockPro</name>
44
<description>Модуль предназначен для удобного вывода новостей на сайте</description>
55
<icon>engine/skins/images/blockpro.png</icon>
6-
<version>6.0.1</version>
6+
<version>6.0.2</version>
77
<dleversion>13</dleversion>
88
<versioncompare>greater</versioncompare>
99
<upgradeurl>https://updates.pafnuty.name/check-bp.php</upgradeurl>

engine/inc/blockpro.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
define('MODULE_DIR', ENGINE_DIR . '/modules/base/admin/blockpro/');
2929

3030
$moduleName = 'blockpro';
31-
$moduleVersion = '6.0.1';
31+
$moduleVersion = '6.0.2';
3232

3333
$moderate = $_REQUEST['moderate'];
3434
$moderate_checked = ($moderate) ? 'checked' : '';

engine/modules/base/blockpro.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
// Если язык доступен, работаем
153153
if (in_array($requestLang, $langList)) {
154154
// Импортируем конфиг модуля MultiLanguage
155-
include_once(DLEPlugins::Check(ENGINE_DIR.'/data/multilanguage_config.php'));
155+
include(DLEPlugins::Check(ENGINE_DIR.'/data/multilanguage_config.php'));
156156

157157
// Если модуль включен, работаем
158158
if ($lang_config['mod_on']) {
@@ -996,7 +996,7 @@
996996
if ($newsItem['allow_rate']) {
997997
$newsItem['showRatingCount'] = '<span class="ignore-select" data-vote-num-id="'.$newsItem['id'].'">'
998998
.$newsItem['vote_num'].'</span>';
999-
$jsRAteFunctionName = 'base_rate';
999+
$jsRAteFunctionName = 'base_rate';
10001000

10011001
if ($base->dle_config['short_rating'] and $user_group[$member_id['user_group']]['allow_rating']) {
10021002
$newsItem['showRating'] = baseShowRating($newsItem['id'], $newsItem['rating'], $newsItem['vote_num'],

0 commit comments

Comments
 (0)