/
package-info.xml
65 lines (63 loc) · 4.27 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
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.elkarte.net/site/package-info">
<package-info xmlns="http://www.elkarte.net/site/package-info" xmlns:elk="http://www.elkarte.net/">
<id>Spuds:geoipMod</id>
<name>geoIP Location</name>
<version>1.4</version>
<type>modification</type>
<license><![CDATA[
/**
* Geo IP
*
* @author spuds
* @license MPL 1.1 http://mozilla.org/MPL/1.1/
*
* @version 1.5
*/
]]></license>
<install for="1.0.8 - 1.1.99">
<readme type="file" parsebbc="true">install-readme.txt</readme>
<license type="inline">This ElkArte addon is released under a MPL V1.1 license, a copy of it with its provisions is included with the package.</license>
<require-file name="sources/geoIPIntegration.php" destination="SOURCEDIR">Our integration Functions</require-file>
<require-file name="sources/GeoIP.controller.php" destination="CONTROLLERDIR">Primary modification functions</require-file>
<require-file name="sources/ManageGeoIP.controller.php" destination="ADMINDIR">The geoIP Admin functions</require-file>
<require-file name="sources/GeoIP.subs.php" destination="SUBSDIR">The geoIP subs</require-file>
<require-file name="css/geoIP.css" destination="THEMEDIR/css">Style Sheets</require-file>
<require-file name="template/geoIP.template.php" destination="THEMEDIR">The templates</require-file>
<require-file name="language/geoIP.english.php" destination="THEMEDIR/languages/english">Language file</require-file>
<require-file name="geoip.png" destination="THEMEDIR/images/admin">Menu Icon</require-file>
<require-dir name="ISO_3166_Flags" destination="IMAGESDIR">Gif images of all country flags</require-dir>
<hook hook="integrate_load_permissions" file="SOURCEDIR/geoIPIntegration.php" function="ilp_geoIP" />
<hook hook="integrate_admin_areas" file="SOURCEDIR/geoIPIntegration.php" function="iaa_geoIP" />
<hook hook="integrate_profile_areas" file="SOURCEDIR/geoIPIntegration.php" function="ipa_geoIP" />
<hook hook="integrate_load_theme" file="SOURCEDIR/geoIPIntegration.php" function="ilt_geoIP" />
<hook hook="integrate_action_profile_after" file="SOURCEDIR/geoIPIntegration.php" function="iapha_geoIP" />
<hook hook="integrate_action_register_before" file="SOURCEDIR/geoIPIntegration.php" function="iarb_geoIP" />
<hook hook="integrate_mark_read_button" file="SOURCEDIR/geoIPIntegration.php" function="imrb_geoIP" />
<hook hook="integrate_action_who_after" file="SOURCEDIR/geoIPIntegration.php" function="iawa_geoIP" />
<modification type="file">modification.xml</modification>
<database type="file">add_settings.php</database>
<redirect url="index.php?action=admin;area=geoip" timeout="5000">redirect.txt</redirect>
</install>
<uninstall for="1.0.8 - 1.1.99">
<hook reverse="true" hook="integrate_load_permissions" file="SOURCEDIR/geoIPIntegration.php" function="ilp_geoIP" />
<hook reverse="true" hook="integrate_admin_areas" file="SOURCEDIR/geoIPIntegration.php" function="iaa_geoIP" />
<hook reverse="true" hook="integrate_profile_areas" file="SOURCEDIR/geoIPIntegration.php" function="ipa_geoIP" />
<hook reverse="true" hook="integrate_load_theme" file="SOURCEDIR/geoIPIntegration.php" function="ilt_geoIP" />
<hook reverse="true" hook="integrate_action_profile_after" file="SOURCEDIR/geoIPIntegration.php" function="iapha_geoIP" />
<hook reverse="true" hook="integrate_action_register_before" file="SOURCEDIR/geoIPIntegration.php" function="iarb_geoIP" />
<hook reverse="true" hook="integrate_mark_read_button" file="SOURCEDIR/geoIPIntegration.php" function="imrb_geoIP" />
<hook reverse="true" hook="integrate_action_who_after" file="SOURCEDIR/geoIPIntegration.php" function="iawa_geoIP" />
<remove-file name="SOURCEDIR/geoIPIntegration.php" />
<remove-file name="CONTROLLERDIR/GeoIP.controller.php" />
<remove-file name="ADMINDIR/ManageGeoIP.controller.php" />
<remove-file name="SUBSDIR/GeoIP.subs.php" />
<remove-file name="THEMEDIR/css/geoIP.css" />
<remove-file name="THEMEDIR/geoIP.template.php" />
<remove-file name="THEMEDIR/languages/english/geoIP.english.php" />
<remove-file name="THEMEDIR/images/admin/geoip.png" />
<remove-dir name="IMAGESDIR/ISO_3166_Flags" />
<modification type="file" reverse="true">modification.xml</modification>
<database type="file">remove_settings.php</database>
</uninstall>
</package-info>