! [Team mods] Making sure the alternate email mod is in the repo.
gruffen

gruffen commited on 2011-07-01 01:24:21
Showing 3 changed files, with 77 additions and 0 deletions.

... ...
@@ -0,0 +1,43 @@
1
+<?xml version="1.0"?>
2
+<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
3
+
4
+<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
5
+	<id>SimpleDeskTeam:AlternateEmail</id>
6
+	<version>1.0</version>
7
+
8
+	<file name="$languagedir/Modifications.english.php"><!-- Add the help information -->
9
+		<operation>
10
+			<search position="end" />
11
+			<add><![CDATA[
12
+$txt['mail_from'] = 'Notifications Email Address';
13
+]]></add>
14
+		</operation>
15
+	</file>
16
+
17
+	<file name="$languagedir/Modifications.english-utf8.php" error="skip"><!-- Add the help information -->
18
+		<operation>
19
+			<search position="end" />
20
+			<add><![CDATA[
21
+$txt['mail_from'] = 'Notifications Email Address';
22
+]]></add>
23
+		</operation>
24
+	</file>
25
+
26
+	<file name="$languagedir/Modifications.english_british.php" error="skip"><!-- Add the help information -->
27
+		<operation>
28
+			<search position="end" />
29
+			<add><![CDATA[
30
+$txt['mail_from'] = 'Notifications Email Address';
31
+]]></add>
32
+		</operation>
33
+	</file>
34
+
35
+	<file name="$languagedir/Modifications.english_british-utf8.php" error="skip"><!-- Add the help information -->
36
+		<operation>
37
+			<search position="end" />
38
+			<add><![CDATA[
39
+$txt['mail_from'] = 'Notifications Email Address';
40
+]]></add>
41
+		</operation>
42
+	</file>
43
+</modification>
0 44
\ No newline at end of file
... ...
@@ -0,0 +1,15 @@
1
+<?xml version="1.0"?>
2
+<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
3
+
4
+<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
5
+	<id>SimpleDeskTeam:AlternateEmail</id>
6
+	<version>1.0</version>
7
+
8
+	<file name="$sourcedir/ManageServer.php"><!-- Add the help information -->
9
+		<operation>
10
+			<search position="before"><![CDATA[		array('webmaster_email', $txt['admin_webmaster_email'], 'file', 'text', 30),]]></search>
11
+			<add><![CDATA[
12
+		array('mail_from', $txt['mail_from'], 'db', 'text', 30),]]></add>
13
+		</operation>
14
+	</file>
15
+</modification>
0 16
\ No newline at end of file
... ...
@@ -0,0 +1,19 @@
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:AlternateEmail</id>
5
+	<name>Alternate Email</name>
6
+	<version>1.0</version>
7
+	<type>modification</type>
8
+
9
+	<install for="2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
10
+		<modification format="xml" type="file">install20.xml</modification>
11
+		<modification format="xml" type="file">english.xml</modification>
12
+	</install>
13
+	
14
+	<uninstall for="2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0">
15
+		<modification format="xml" type="file" reverse="true">install20.xml</modification>
16
+		<modification format="xml" type="file" reverse="true">english.xml</modification>
17
+	</uninstall>
18
+
19
+</package-info>
0 20
\ No newline at end of file
1 21