-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage-info.xml
More file actions
56 lines (55 loc) · 2.98 KB
/
Copy pathpackage-info.xml
File metadata and controls
56 lines (55 loc) · 2.98 KB
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
51
52
53
54
55
56
<?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:bbcmessageboxes</id>
<name>BBC Message Boxes</name>
<version>3.1.1</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>
<!-- 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>
<!-- BBC Files -->
<require-dir name="Sources" destination="$boarddir">Source file</require-dir>
<!-- BBC images and css -->
<require-dir name="Themes" destination="$boarddir">Theme files</require-dir>
<!-- Hooks -->
<hook hook="integrate_pre_load" function="BBC_MessageBoxes::initialize#" file="$sourcedir/BBC-MessageBoxes.php" />
<!-- Redirect -->
<redirect url="?action=admin;area=modsettings" timeout="3000"/>
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Hooks Remove -->
<hook hook="integrate_pre_load" function="BBC_MessageBoxes::initialize#" file="$sourcedir/BBC-MessageBoxes.php" reverse="true" />
<!-- Source Files -->
<remove-file name="$sourcedir/BBC-MessageBoxes.php">Source file</remove-file>
<!-- BBC images -->
<remove-file name="$imagesdir/bbc/error.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/error_new.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/error_octagon.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/error-bullet.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/info.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/info_new.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/info_octagon.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/info-bullet.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/warning.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/warning_new.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/warning_octagon.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/warning-bullet.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/okay.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/okay_new.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/okay_octagon.png">BBC images</remove-file>
<remove-file name="$imagesdir/bbc/okay-bullet.png">BBC images</remove-file>
<!-- BBC languages -->
<remove-dir name="$languagedir/mboxes">Language files</remove-dir>
<!-- BBC CSS -->
<remove-file name="$themedir/css/mboxes.css">BBC CSS</remove-file>
<!-- BBC JS -->
<remove-file name="$themedir/scripts/mboxes.js">BBC JS</remove-file>
</uninstall>
</package-info>