0b76fe379198118bd774f016a40f6ee8bf1620fb
nas

nas authored 13 years ago

1) <?xml version="1.0"?>
2) <!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
3) <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
4) 	<id>SimpleDeskTeam:SimpleDesk</id>
5) 	<name>SimpleDesk - Integrated Helpdesk for Simple Machines Forum</name>
gruffen ! Bump internal version num...

gruffen authored 12 years ago

6) 	<version>2.0</version>
nas

nas authored 13 years ago

7) 	<type>modification</type>
8) 
gruffen ! Reverse the polarity of t...

gruffen authored 12 years ago

9) 	<install for="1.1.*, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
10) 		<readme lang="english" parsebbc="true" type="inline">This mod is [b]not compatible[/b] with your version of SMF, it requires 2.0 final or later.</readme>
gruffen ! Add a fallback readme for...

gruffen authored 13 years ago

11) 	</install>
12) 
Jeremy D ! SimpleDesk won't install...

Jeremy D authored 12 years ago

13) 	<install for="2.0, 2.0.1-2.0.99">
emanuele 2.1 is enough

emanuele authored 11 years ago

14) 		<readme lang="english" parsebbc="true" type="inline">This package is for SMF 2.1, to install SimpleDesk on your version of SMF use the proper package.</readme>
nas

nas authored 13 years ago

15) 	</install>
16) 
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

17) 	<install for="2.1 alpha 1">
18) 		<!-- readme files -->
19) 		<readme lang="english" parsebbc="true" type="file">language-readme/readme.english.txt</readme>
20) 
21) 		<!-- general edits -->
22) 		<modification format="xml" type="file">install-xml/install.xml</modification>
23) 		<modification format="xml" type="file">install-xml/install-attachments.xml</modification>
24) 		<modification format="xml" type="file">install-xml/install-trackip.xml</modification>
emanuele Re-merged changes version s...

emanuele authored 11 years ago

25) 		<modification format="xml" type="file">install-xml/install-packages.xml</modification>
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

26) 		<modification format="xml" type="file">install-xml/install-parsebbc.xml</modification>
27) 
28) 		<!-- language files -->
29) 		<require-dir name="sd_language" destination="$themes_dir/default/languages" />
30) 
31) 		<!-- sources -->
32) 		<require-dir name="sd_source" destination="$sourcedir" />
33) 
34) 		<!-- templates -->
35) 		<require-dir name="sd_template" destination="$themedir" />
36) 
37) 		<!-- images -->
38) 		<require-dir name="images/simpledesk" destination="$themes_dir/default/images" />
39) 		<require-dir name="images/sd_plugins" destination="$themes_dir/default/images" />
40) 		<require-dir name="images/shd" destination="$imagesdir/admin" />
41) 		<require-file name="images/feature_shd.png" destination="$themes_dir/default/images/admin" /><!-- explicitly called from default theme in ACP -->
42) 
43) 		<!-- css -->
44) 		<require-file name="css/helpdesk.css" destination="$themedir/css" />
45) 		<require-file name="css/helpdesk_admin.css" destination="$themedir/css" />
46) 		<require-file name="css/helpdesk_ie6.css" destination="$themedir/css" />
47) 
48) 		<!-- scripts -->
49) 		<require-file name="scripts/helpdesk_admin.js" destination="$themedir/scripts" />
50) 		<require-file name="scripts/helpdesk.js" destination="$themedir/scripts" />
51) 
52) 		<!-- bundled plugins -->
53) 		<require-dir name="sd_plugins_source" destination="$sourcedir" />
54) 		<require-dir name="sd_plugins_template" destination="$themes_dir/default" />
55) 		<require-dir name="sd_plugins_lang" destination="$languagedir" />
56) 
57) 		<!-- database changes -->
58) 		<database>install.php</database>
59) 
60) 		<redirect url="?action=admin;area=corefeatures#js_feature_shd" />
61) 	</install>
62) 
63) 	<uninstall for="2.1 alpha 1">
64) 		<!-- database changes, undone -->
65) 		<database>uninstall-optional.php</database>
66) 		<code type="file">uninstall-required.php</code>
67) 
68) 		<!-- general edits, undone -->
69) 		<modification format="xml" type="file" reverse="true">install-xml/install.xml</modification>
70) 		<modification format="xml" type="file" reverse="true">install-xml/install-attachments.xml</modification>
71) 		<modification format="xml" type="file" reverse="true">install-xml/install-trackip.xml</modification>
emanuele Re-merged changes version s...

emanuele authored 11 years ago

72) 		<modification format="xml" type="file" reverse="true">install-xml/install-packages.xml</modification>
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

73) 		<modification format="xml" type="file" reverse="true">install-xml/install-parsebbc.xml</modification>
74) 
75) 		<!-- language files, removed -->
76) 		<remove-dir name="$themes_dir/default/languages/sd_language" />
77) 
78) 		<!-- source files, removed -->
79) 		<remove-dir name="$sourcedir/sd_source" />
80) 
81) 		<!-- template files, removed -->
82) 		<remove-dir name="$themedir/sd_template" />
83) 
84) 		<!-- images, removed -->
85) 		<remove-dir name="$themes_dir/default/images/simpledesk" />
86) 		<remove-dir name="$imagesdir/admin/shd" />
87) 		<remove-file name="$themes_dir/default/images/admin/feature_shd.png" />
88) 
89) 		<!-- css, removed -->
90) 		<remove-file name="$themedir/css/helpdesk.css" />
91) 		<remove-file name="$themedir/css/helpdesk-admin.css" />
92) 		<remove-file name="$themedir/css/helpdesk-ie6.css" />
93) 
94) 		<!-- bundled plugins removed (NOTE: done one by one to avoid eating existing plugins on upgrade) -->
95) 		<remove-dir name="$languagedir/sd_plugin_lang" />
96) 
97) 		<!-- scripts, removed -->
98) 		<remove-file name="$themedir/scripts/helpdesk-admin.js" />
99) 		<remove-file name="$themedir/scripts/helpdesk.js" />
100) 	</uninstall>
101)