-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage-info.xml
96 lines (86 loc) · 6.49 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?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>SimpleDesk:Topic_Solved_Mod</id>
<name>Topic Solved Mod</name>
<version>2.0</version>
<type>modification</type>
<install for="2.0-2.0.99">
<readme type="file" parsebbc="true">readme/readme-install.english.txt</readme>
<modification>install/install2.0.xml</modification>
<modification>language/english.xml</modification>
<require-file name="sources/SolveTopic.php" destination="$sourcedir" />
<require-file name="sources/SolveTopic-Admin.php" destination="$sourcedir" />
<require-file name="images/solved.gif" destination="$imagesdir/post" />
<require-file name="templates/SolveTopic-Display.template.php" destination="$themes_dir/default" />
<database>install/install-2.0.php</database>
<redirect url="?action=admin;area=modsettings;sa=topicsolved" />
</install>
<uninstall for="2.0-2.0.99">
<database>install/uninstall-optional.php</database>
<code>install/uninstall-required-2.0.php</code>
<readme type="file" parsebbc="true">readme/readme-uninstall.english.txt</readme>
<modification reverse="true">install/install2.0.xml</modification>
<modification reverse="true">language/english.xml</modification>
<remove-file name="$sourcedir/SolveTopic.php" />
<remove-file name="$sourcedir/SolveTopic-Admin.php" />
<remove-file name="$imagesdir/post/solved.gif" />
<remove-file name="$themes_dir/default/SolveTopic-Display.template.php" />
</uninstall>
<install for="2.1-2.1.99">
<readme type="file" parsebbc="true">readme/readme-install.english.txt</readme>
<require-file name="sources/SolveTopic.php" destination="$sourcedir" />
<require-file name="sources/SolveTopic-Admin.php" destination="$sourcedir" />
<require-file name="images/solved.png" destination="$imagesdir/post" />
<require-file name="templates/SolveTopic-Display.template.php" destination="$themes_dir/default" />
<require-file name="language/SolveTopic.english.php" destination="$themes_dir/default/languages" />
<database>install/install-2.1.php</database>
<redirect url="?action=admin;area=modsettings;sa=topicsolved" />
<!-- Core Startup -->
<hook function="integrate_pre_load_solveTopic" hook="integrate_pre_load" file="$sourcedir/SolveTopic.php" />
<hook function="integrate_actions_solveTopic" hook="integrate_actions" file="$sourcedir/SolveTopic.php" />
<hook function="integrate_log_types_solveTopic" hook="integrate_log_types" file="$sourcedir/SolveTopic.php" />
<!-- Display hooks -->
<hook function="integrate_display_buttons_solveTopic" hook="integrate_display_buttons" file="$sourcedir/SolveTopic.php" />
<hook function="integrate_display_topic_solveTopic" hook="integrate_display_topic" file="$sourcedir/SolveTopic.php" />
<!-- Message index hooks -->
<hook function="integrate_message_index_solveTopic" hook="integrate_message_index" file="$sourcedir/SolveTopic.php" />
<hook function="integrate_messageindex_buttons_solveTopic" hook="integrate_messageindex_buttons" file="$sourcedir/SolveTopic.php" />
<!-- Admin/Moderation Sections -->
<hook hook="integrate_admin_include" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="add_ts_adminmenu" hook="integrate_admin_areas" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="add_ts_settings_menu" hook="integrate_modify_modifications" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="add_ts_permissions" hook="integrate_load_permissions" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="integrate_moderate_areas_solveTopic" hook="integrate_moderate_areas" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="integrate_viewModLog_solveTopic" hook="integrate_viewModLog" file="$sourcedir/SolveTopic-Admin.php" />
<hook function="integrate_helpadmin_solveTopic" hook="integrate_helpadmin" file="$sourcedir/SolveTopic-Admin.php" />
</install>
<uninstall for="2.1-2.1.99">
<database>install/uninstall-optional.php</database>
<readme type="file" parsebbc="true">readme/readme-uninstall.english.txt</readme>
<modification reverse="true">english.xml</modification>
<remove-file name="$sourcedir/SolveTopic.php" />
<remove-file name="$sourcedir/SolveTopic-Admin.php" />
<remove-file name="$imagesdir/post/solved.png" />
<remove-file name="$themes_dir/default/SolveTopic-Display.template.php" />
<remove-file name="$themes_dir/default/language/SolveTopic.english.php" />
<!-- Core Startup -->
<hook function="integrate_pre_load_solveTopic" hook="integrate_pre_load" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_actions_solveTopic" hook="integrate_actions" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_log_types_solveTopic" hook="integrate_log_types" file="$sourcedir/SolveTopic.php" reverse="true" />
<!-- Display hooks -->
<hook function="integrate_display_buttons_solveTopic" hook="integrate_display_buttons" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_display_topic_solveTopic" hook="integrate_display_topic" file="$sourcedir/SolveTopic.php" reverse="true" />
<!-- Message index hooks -->
<hook function="integrate_message_index_solveTopic" hook="integrate_message_index" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_messageindex_buttons_solveTopic" hook="integrate_messageindex_buttons" file="$sourcedir/SolveTopic.php" reverse="true" />
<!-- Admin/Moderation Sections -->
<hook hook="integrate_admin_include" file="$sourcedir/SolveTopic-Admin.php" reverse="true" />
<hook function="add_ts_settings_menu" hook="integrate_modify_modifications" file="$sourcedir/SolveTopic-Admin.php" reverse="true" />
<hook function="add_ts_adminmenu" hook="integrate_admin_areas" file="$sourcedir/SolveTopic-Admin.php" reverse="true" />
<hook function="add_ts_permissions" hook="integrate_load_permissions" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_moderate_areas_solveTopic" hook="integrate_moderate_areas" file="$sourcedir/SolveTopic.php" reverse="true" />
<hook function="integrate_viewModLog_solveTopic" hook="integrate_viewModLog" file="$sourcedir/SolveTopic-Admin.php" reverse="true" />
<hook function="integrate_helpadmin_solveTopic" hook="integrate_helpadmin" file="$sourcedir/SolveTopic-Admin.php" reverse="true" />
</uninstall>
</package-info>