-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage-info.xml
40 lines (38 loc) · 2.03 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
<?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:ProfileModManagement</id>
<name>Profile Moderator Management</name>
<version>3.1.1</version>
<type>modification</type>
<!-- SMF 2.0.x Install -->
<install for="2.1 - 2.1.99">
<!-- Mod Readme -->
<readme lang="english" parsebbc="true" type="file">readme/readme.english.txt</readme>
<!-- License -->
<license type="inline" parsebbc="false">
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.
</license>
<!-- Template File -->
<require-dir name="Themes" destination="$boarddir">Template File</require-dir>
<!-- Source File -->
<require-dir name="Sources" destination="$boarddir">Source File</require-dir>
<!-- Hooks -->
<hook hook="integrate_pre_profile_areas" function="ProfileModManagement::Manage_profileAreas" file="$sourcedir/Profile-ModManagement.php" />
<hook hook="integrate_profile_save" function="ProfileModManagement::Manage_profileSave" file="$sourcedir/Profile-ModManagement.php" />
</install>
<!-- SMF 2.0.x Uninstall -->
<uninstall for="2.1 - 2.1.99">
<!-- Language -->
<remove-dir name="$languagedir/ProfileModManagement">Language files</remove-dir>
<!-- Template -->
<remove-file name="$themedir/Profile-ModManagement.template.php">Remove template</remove-file>
<!-- Source -->
<remove-file name="$sourcedir/Profile-ModManagement.php">Remove source file</remove-file>
<!-- Hooks -->
<hook hook="integrate_pre_profile_areas" function="ProfileModManagement::Manage_profileAreas" file="$sourcedir/Profile-ModManagement.php" reverse="true" />
<hook hook="integrate_profile_save" function="ProfileModManagement::Manage_profileSave" file="$sourcedir/Profile-ModManagement.php" reverse="true" />
</uninstall>
</package-info>