-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from dle-modules/6.0.0
6.0.0
- Loading branch information
Showing
91 changed files
with
2,832 additions
and
10,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
# DLE-BlockPro — тот самый модуль для вывода новостей! | ||
 | ||
 | ||
 | ||
 | ||
[](https://github.com/dle-modules/DLE-BlockPro/blob/master/LICENSE) | ||
|
||
- **ВНИМАНИЕ!** **Работа модуля в кодировке windows-1251 не гарантируется** | ||
- Краткая информация о шаблонных тега прописана в шаблоне **{THEME}/blockpro/blockpro.tpl**, расширенный пример **{THEME}/blockpro/fullexample.tpl** | ||
- Более детальная информация по используемому шаблонизатору модуля находится в [документации по шаблонизатору](https://github.com/bzick/fenom/blob/master/docs/ru/readme.md) | ||
- Официальный сайт: [bp.pafnuty.name](http://bp.pafnuty.name/) | ||
- [Техническая поддержка](https://github.com/dle-modules/DLE-BlockPro/issues) | ||
- [История изменений](https://github.com/dle-modules/DLE-BlockPro/blob/master/CHANGELOG.md) | ||
|
||
## Установка модуля | ||
1. Залить содержимое папки **upload** в корень сайта. | ||
2. Запустить **/blockpro_install.php** и следовать инструкции. | ||
|
||
1. Устанавливаем как обычный плагин, файл **blockpro_plugin.zip** содержит всё необходимое для автоматической установки. | ||
2. Открыть файл `/templates/Default/main.tpl` | ||
3. Добавить после `{AJAX}` или после `{jsfiles}`: | ||
`<link href="{THEME}/blockpro/css/blockpro.css" rel="stylesheet" />` | ||
4. Добавить после `{AJAX}` или после `{jsfiles}`: | ||
`<script src="{THEME}/blockpro/js/blockpro.js"></script>` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dleplugin> | ||
<name>BlockPro</name> | ||
<description>Модуль предназначен для удобного вывода новостей на сайте</description> | ||
<icon>engine/skins/images/blockpro.png</icon> | ||
<version>6.0.0</version> | ||
<dleversion>13</dleversion> | ||
<versioncompare>greater</versioncompare> | ||
<upgradeurl>https://updates.pafnuty.name/check-bp.php</upgradeurl> | ||
<filedelete>0</filedelete> | ||
<needplugin></needplugin> | ||
<mnotice>1</mnotice> | ||
<mysqlinstall><![CDATA[CREATE TABLE IF NOT EXISTS `{prefix}_blockpro_blocks` ( | ||
`id` tinyint(6) NOT NULL AUTO_INCREMENT, | ||
`name` varchar(255) NOT NULL, | ||
`block_id` varchar(100) NOT NULL, | ||
`params` mediumtext NOT NULL, | ||
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`id`), | ||
KEY `block_id` (`block_id`) | ||
) ENGINE=MyISAM;]]></mysqlinstall> | ||
<mysqlupgrade><![CDATA[]]></mysqlupgrade> | ||
<mysqlenable><![CDATA[INSERT INTO `{prefix}_admin_sections` (`name`, `title`, `descr`, `icon`, `allow_groups`) VALUES ('blockpro', 'BlockPro', 'Модуль вывода новостей для DLE', 'blockpro.png', '1');]]></mysqlenable> | ||
<mysqldisable><![CDATA[DELETE FROM `{prefix}_admin_sections` WHERE `name`='blockpro';]]></mysqldisable> | ||
<mysqldelete><![CDATA[DROP TABLE IF EXISTS `{prefix}_blockpro_blocks`; | ||
DELETE FROM `{prefix}_admin_sections` WHERE `name`='blockpro';]]></mysqldelete> | ||
<phpinstall><![CDATA[]]></phpinstall> | ||
<phpupgrade><![CDATA[]]></phpupgrade> | ||
<phpenable><![CDATA[]]></phpenable> | ||
<phpdisable><![CDATA[]]></phpdisable> | ||
<phpdelete><![CDATA[]]></phpdelete> | ||
<notice><![CDATA[<a href="https://github.com/dle-modules/DLE-BlockPro/releases/latest" terget="_blank">Release notes</a>]]></notice> | ||
</dleplugin> |
Oops, something went wrong.