-
Notifications
You must be signed in to change notification settings - Fork 1
/
package-info.xml
50 lines (49 loc) · 2.26 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
45
46
47
48
49
50
<?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:teampage</id>
<name>Team Page</name>
<version>5.4.3</version>
<type>modification</type>
<install for="2.1 - 2.1.99">
<!-- Mod Readme -->
<readme lang="english" parsebbc="true" type="file">readme/readme.english.txt</readme>
<!-- Credits -->
<credits url="https://smftricks.com" license="MPL 2.0" copyright="SMF Tricks" licenseurl="https://www.mozilla.org/en-US/MPL/2.0/">Team Page</credits>
<!-- 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>
<!-- Templates, Languages and Images -->
<require-dir name="Themes" destination="$boarddir">Theme files</require-dir>
<!-- Source Files -->
<require-dir name="Sources" destination="$boarddir">Source files</require-dir>
<!-- Database -->
<database>install.php</database>
<!-- Hooks -->
<hook hook="integrate_pre_load" function="TeamPage\TeamPage::initialize#" file="$sourcedir/TeamPage/TeamPage.php" />
<!-- Redirect -->
<redirect url="?action=admin;area=teampage" />
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Hooks -->
<hook hook="integrate_pre_load" function="TeamPage\TeamPage::initialize#" file="$sourcedir/TeamPage/TeamPage.php" reverse="true" />
<!-- Sources -->
<remove-dir name="$sourcedir/TeamPage">Source files</remove-dir>
<!-- Templates -->
<remove-file name="$themedir/TeamPage.template.php">Main Template</remove-file>
<remove-file name="$themedir/TeamPage-Admin.template.php">Admin template</remove-file>
<!-- Languages -->
<remove-dir name="$languagedir/TeamPage">Language files</remove-dir>
<!-- JS -->
<remove-file name="$themedir/scripts/teampage.js">JavaScript file</remove-file>
<!-- CSS -->
<remove-file name="$themedir/css/teampage.css">CSS file</remove-file>
<!-- Icon -->
<remove-file name="$themedir/images/icons/team.png" />
<!-- Database -->
<database>install.php</database>
</uninstall>
</package-info>