-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage-info.xml
39 lines (35 loc) · 1.85 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
<?xml version="1.0" ?>
<!DOCTYPE package-info SYSTEM "https://www.simplemachines.org/xml/package-info">
<package-info xmlns="https://www.simplemachines.org/xml/package-info" xmlns:smf="https://www.simplemachines.org/">
<name>Ohara YouTube Embed</name>
<id>Suki:ohara_youtube_embed</id>
<version>1.2.15</version>
<type>modification</type>
<install for="2.0 - 2.0.99">
<readme parsebbc="true">readme.txt</readme>
<code>addHooks.php</code>
<modification>OharaYTEmbed.xml</modification>
<require-dir name="Themes" destination="$boarddir">Theme and Language files</require-dir>
<require-file name="Sources/OharaYTEmbed.php" destination="$sourcedir">The main file</require-file>
<require-file name="youtube.gif" destination="$imagesdir/bbc" />
<require-file name="vimeo.gif" destination="$imagesdir/bbc" />
<redirect url="index.php?action=admin;area=modsettings;sa=general" timeout="1000"></redirect>
</install>
<uninstall for="2.0 - 2.0.99">
<code>removeHooks.php</code>
<modification reverse="true">OharaYTEmbed.xml</modification>
<remove-file name="$sourcedir/OharaYTEmbed.php" />
<remove-file name="$languagedir/OharaYTEmbed.english.php" />
<remove-file name="$languagedir/OharaYTEmbed.english-utf8.php" />
<remove-file name="$languagedir/OharaYTEmbed.spanish_es.php" />
<remove-file name="$languagedir/OharaYTEmbed.spanish_es-utf8.php" />
<remove-file name="$languagedir/OharaYTEmbed.spanish_latin-utf8.php" />
<remove-file name="$languagedir/OharaYTEmbed.spanish_latin.php" />
<remove-file name="$languagedir/OharaYTEmbed.polish-utf8.php" />
<remove-file name="$languagedir/OharaYTEmbed.polish.php" />
<remove-file name="$imagesdir/bbc/youtube.gif" />
<remove-file name="$imagesdir/bbc/vimeo.gif" />
<remove-file name="$themedir/scripts/ohyoutube.js" />
<remove-file name="$themedir/css/oharaEmbed.css" />
</uninstall>
</package-info>