forked from CleanTalk/smf-antispam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package-info.xml
44 lines (44 loc) · 2.86 KB
/
package-info.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
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>cleantalk:antispam</id>
<name>Anti-spam by CleanTalk</name>
<type>modification</type>
<version>2.15</version>
<install for="2.0 - 2.0.99">
<readme type="file" parsebbc="true">readme.txt</readme>
<create-dir name="cleantalk" destination="$sourcedir"/>
<require-file name="cleantalkMod.php" destination="$sourcedir/cleantalk">Mod main file</require-file>
<require-file name="lib/Cleantalk.php" destination="$sourcedir/cleantalk">Base class</require-file>
<require-file name="lib/CleantalkRequest.php" destination="$sourcedir/cleantalk">Extend for base class</require-file>
<require-file name="lib/CleantalkResponse.php" destination="$sourcedir/cleantalk">Extend for base class</require-file>
<require-file name="lib/CleantalkHelper.php" destination="$sourcedir/cleantalk">Helper functions</require-file>
<require-file name="lib/CleantalkSFW.php" destination="$sourcedir/cleantalk">SFW class</require-file>
<require-file name="lib/phpFix.php" destination="$sourcedir/cleantalk">Fix for old PHP versions</require-file>
<require-file name="lib/sfw_die_page.html" destination="$sourcedir/cleantalk">SFW die page</require-file>
<require-file name="attention.png" destination="$sourcedir/cleantalk">attention picture</require-file>
<modification format="xml" type="file">modification.xml</modification>
<modification format="xml" type="file">languages/english.xml</modification>
<modification format="xml" type="file">languages/english-utf8.xml</modification>
<modification format="xml" type="file">languages/russian.xml</modification>
<modification format="xml" type="file">languages/russian-utf8.xml</modification>
<database>install.php</database>
<redirect url="$boardurl/index.php?action=admin;area=modsettings" type="inline">Please stand by while
you are being redirected to this mod configuration settings.
</redirect>
</install>
<uninstall for="2.0 - 2.0.99">
<database>install.php</database>
<modification format="xml" type="file" reverse="true">modification.xml</modification>
<modification format="xml" type="file" reverse="true">languages/english.xml</modification>
<modification format="xml" type="file" reverse="true">languages/english-utf8.xml</modification>
<modification format="xml" type="file" reverse="true">languages/russian.xml</modification>
<modification format="xml" type="file" reverse="true">languages/russian-utf8.xml</modification>
<remove-dir name="$sourcedir/cleantalk/"/>
</uninstall>
<upgrade from="2.0 - 2.0.99">
<readme type="inline" parsebbc="true">
<![CDATA[[size=14pt][color=red]Please uninstall old version cleantalk mod when installing newer version![/color][/size]]]>
</readme>
</upgrade>
</package-info>