-
Notifications
You must be signed in to change notification settings - Fork 14
/
blockpro.xml
33 lines (33 loc) · 1.73 KB
/
blockpro.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<dleplugin>
<name>BlockPro</name>
<description>Модуль предназначен для удобного вывода новостей на сайте</description>
<icon>engine/skins/images/blockpro.png</icon>
<version>6.0.3</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>