-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage-info.xml
34 lines (34 loc) · 1.51 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
<?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>smftricks:topic_solved</id>
<name>Topic Solved</name>
<version>1.1.6</version>
<type>modification</type>
<install for="2.1 - 2.1.99">
<!-- Mod Readme -->
<readme lang="english" parsebbc="true" type="file">readme.txt</readme>
<!-- Source Files -->
<require-file name="Sources/Class-TopicSolved.php" destination="$sourcedir">Source Files</require-file>
<!-- Theme Files -->
<require-dir name="Themes" destination="$boarddir">Theme Files</require-dir>
<!-- Hooks -->
<hook hook="integrate_pre_load" function="TopicSolved::hooks#" file="$sourcedir/Class-TopicSolved.php" />
<!-- Database -->
<database>database.php</database>
<!-- Redirect to master setting -->
<redirect url="?action=admin;area=modsettings" timeout="3000" />
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Source Files -->
<remove-file name="$sourcedir/Class-TopicSolved.php">Source Files</remove-file>
<!-- CSS File -->
<remove-file name="$themedir/css/topicsolved.css">CSS File</remove-file>
<!-- Language Files -->
<remove-dir name="$languagedir/TopicSolved">Language Files</remove-dir>
<!-- Hooks -->
<hook hook="integrate_pre_load" function="TopicSolved::hooks#" file="$sourcedir/Class-TopicSolved.php" reverse="true" />
<!-- Database -->
<database>database.php</database>
</uninstall>
</package-info>