-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-info.xml
More file actions
46 lines (44 loc) · 3.27 KB
/
Copy pathpackage-info.xml
File metadata and controls
46 lines (44 loc) · 3.27 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
<?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:altuserposting</id>
<name>Alternate User Posting</name>
<version>2.1.2</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>
<!-- Source Files -->
<require-dir name="Sources" destination="$boarddir">Source files</require-dir>
<!-- Templates and Languages -->
<require-dir name="Languages/AlternateUserPosting" destination="$languagedir">Language files</require-dir>
<!-- Hooks -->
<hook hook="integrate_before_create_topic" function="AlternateUserPosting::before_create_topic" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_create_post" function="AlternateUserPosting::create_post" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_modify_post" function="AlternateUserPosting::modify_post" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_post_end" function="AlternateUserPosting::post_end" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_load_permissions" function="AlternateUserPosting::load_permissions" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_load_illegal_guest_permissions" function="AlternateUserPosting::load_illegal_guest_permissions" file="$sourcedir/AlternateUserPosting.php" />
<hook hook="integrate_helpadmin" function="AlternateUserPosting::helpadmin" file="$sourcedir/AlternateUserPosting.php" />
</install>
<uninstall for="2.1 - 2.1.99">
<!-- Source Files -->
<remove-file name="$sourcedir/AlternateUserPosting.php">Source file</remove-file>
<!-- Languages -->
<remove-dir name="$languagedir/AlternateUserPosting">Language files</remove-dir>
<!-- Hooks -->
<hook hook="integrate_before_create_topic" function="AlternateUserPosting::before_create_topic" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_create_post" function="AlternateUserPosting::create_post" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_modify_post" function="AlternateUserPosting::modify_post" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_post_end" function="AlternateUserPosting::post_end" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_load_permissions" function="AlternateUserPosting::load_permissions" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_load_illegal_guest_permissions" function="AlternateUserPosting::load_illegal_guest_permissions" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
<hook hook="integrate_helpadmin" function="AlternateUserPosting::helpadmin" file="$sourcedir/AlternateUserPosting.php" reverse="true" />
</uninstall>
</package-info>