-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.xml
424 lines (410 loc) · 24.6 KB
/
install.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: https://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at https://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
<header>
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
<title lang="en"><![CDATA[PayPal Donation Mod]]></title>
<description lang="en"><![CDATA[This MOD add a PayPal Donation page to your site.
Features :
=> Safely test this MOD with PayPal Sandbox
=> Displaying donation statistics on the Donation page and on the bottom of the forum index page
- Progress bar
- Donation received
- Donation used
- Goal to reach
=> Advanced currencies management: Add/remove/enable/disable
=> Backup currency: I hope no, but if you remove or disable all currencies, a Language Key is defined to provide a backup currency. If the language key does not exist, U.S Dollar will be defined as the default currency.
=> Customize the main donation page, success page and cancel page.
- You can use BBcode and predefined vars.
- Multi-language customization available through the ACP
=> Automatic redirection to the forum after a successfull/cancelled donation.
=> Define and suggest a default donation value, or use a drop-down list.
=> Admin and user permissions can be set through ACP >> Permissions
Styles :
=> Prosilver
=> Subsilver2
All options are manageable from ACP]]></description>
<description lang="fr"><![CDATA[Ce MOD ajoute une page de don PayPal à votre forum
Fonctionnalitées :
=> PayPal Sandbox: Tester le MOD en toute tranquilité
=> Affichage des Statistiques de don sur la page des dons ainsi qu’en bas de page de l’index du forum.
- Bar de progression
- Dons reçus
- Dons utilisés
- Objectif des dons à atteindre
=> Gestion avancées des devises: Ajout/suppression/activation/désactivation
=> Devise de secours: En cas de désactivation/suppression de toutes les devises, une clé de langue permet de définir une devise de secours par défaut.
=> Personnaliser les pages des dons, ainsi que les pages de retour au forum (Validation/annulation de dons).
- Vous pouvez utiliser les BBcodes et des variables pré-définies
- Personnalisation multi-langue disponible via l’ACP
=> Retourner automatiquement vers le forum si la soumission du don a été validé avec succès ou abondonnée.
=> Définir et suggérer une valeur de don par défaut, ou utiliser une liste déroulante.
=> Gestion des permissions du MOD via ACP >> Permissions
Styles :
=> Prosilver
=> Subsilver2
Toutes les options sont administrables depuis l’ACP]]></description>
<author-notes lang="en"><![CDATA[
Caution !!!
To avoid possible conflict with another PayPal Donation MOD, please backup your files and remove-it before to install this MOD.]]>
</author-notes>
<author-notes lang="fr"><![CDATA[
Attention !!!
Pour éviter des éventuels conflits avec un autre MOD PayPal, sauvegardez vos fichiers et désintallez ce dernier avant d’installer ce MOD.]]>
</author-notes>
<author-group>
<author>
<realname><![CDATA[Skouat]]></realname>
<username><![CDATA[Skouat]]></username>
<homepage><![CDATA[http://www.ultima-world.com]]></homepage>
<contributions-group>
<contributions status="current" from="2009-08-02" position="Developer"/>
</contributions-group>
</author>
<author>
<username phpbbcom="no"><![CDATA[kristoff k.]]></username>
<contributions-group>
<contributions status="current" from="2012-11-13" position="Logo creator"/>
</contributions-group>
</author>
<author>
<realname><![CDATA[Adrien BONNEL]]></realname>
<username><![CDATA[ABDev]]></username>
<homepage><![CDATA[http://www.phpbb-forge.com]]></homepage>
<contributions-group>
<contributions status="current" from="2012-01-24" position="Debugger"/>
</contributions-group>
</author>
<author>
<realname><![CDATA[zdDog]]></realname>
<username><![CDATA[zdDog]]></username>
<contributions-group>
<contributions status="current" from="2013-01-07" position="Dutch (formal) translator"/>
</contributions-group>
</author>
</author-group>
<mod-version>1.0.5</mod-version>
<installation>
<level>easy</level>
<time>300</time>
<target-version>3.0.12</target-version>
</installation>
<history>
<entry>
<date>2013-11-02</date>
<rev-version>1.0.5</rev-version>
<changelog lang="en">
<change>Fix: The default value of the donations was incorrect in the dropdown menu</change>
<change>Fix: Layout issue in the donation page (thanks to sub60)</change>
<change>Change: Add $db->sql_escape() for extra safety</change>
<change>Change: CSS improvement (thanks to cabot)</change>
<change>Change: The link "Make a Donation" is not visible in navbar when the MOD is disabled</change>
<change>Minor Code change</change>
</changelog>
<changelog lang="fr">
<change>Correction: La valeur par défaut des dons était incorrect dans le menu déroulant</change>
<change>Correction: Problème de mise en page dans les pages de dons (merci à sub60)</change>
<change>Modification: Pour plus de sécurité, ajout de $db->sql_escape()</change>
<change>Modification: Amélioration du CSS (merci à cabot)</change>
<change>Modification: Le lien "Faire un don" n’est plus visible si le MOD est désactivé</change>
<change>Corrections divers</change>
</changelog>
</entry>
<entry>
<date>2013-05-01</date>
<rev-version>1.0.4</rev-version>
<changelog lang="en">
<change>Add: Some predefined vars are available to customize the Donation Pages</change>
<change>Add: Dutch (formal) language translated by zDog</change>
<change>Fix: xHTML non conformity in ACP Donation Pages</change>
<change>Fix: Link for Donation statistics on index can return and unexpected url</change>
<change>Change: Improved detection of fsockopen and cURL</change>
<change>Change: Function donation_check_configuration() improved for autorised members of PPDM</change>
<change>Minor code change</change>
</changelog>
<changelog lang="fr">
<change>Ajout: Quelques variables pré-définies sont disponibles pour personnaliser les pages de dons</change>
<change>Correction: Une non conformité xHTML pouvait être rencontrée dans le module Donation Pages de l’ACP</change>
<change>Correction: Le lien des statistiques de dons présent sur la page d'index pouvait retourner une URL inattendue</change>
<change>Modification: Amélioration de la détection de cURL et fsockopen</change>
<change>Modification: Amélioration de la fonction donation_check_configuration() pour les membres autorisés à utiliser PPDM</change>
<change>Corrections divers</change>
</changelog>
</entry>
<entry>
<date>2012-11-26</date>
<rev-version>1.0.3</rev-version>
<changelog lang="en">
<change>Fix: Cannot add a new currency</change>
<change>Add: User permissions. Must be set through ACP>>Permissions</change>
<change>Add: Module "Overview"</change>
<change>Change: Multi-language features for custom donation page are now stored in the database</change>
<change>Change: some Language keys renamed</change>
<change>Remove: Language keys for "custom donation pages" are removed (see change below)</change>
<change>Remove: contrib/add-ons/addon_mod_check_version/ was removed, see the newly added module "Overview" to check the updates</change>
<change>Minor code change</change>
</changelog>
<changelog lang="fr">
<change>Correction: Impossible d’ajouter une nouvelle devise</change>
<change>Ajout: Permissions utilisateur. Doivent être définies en passant par ACP>>Permissions</change>
<change>Ajout: Module "Général"</change>
<change>Modification: La fonctionnalité multi-langue pour la personnalisation des pages de dons est maintenant stockées dans la base de données</change>
<change>Modification: Renommage de certaines clés de langues</change>
<change>Suppression: Les clés de langues utilser pour personnalisées les pages de dons ont été supprimées (voir ci-dessus)</change>
<change>Suppression: contrib/add-ons/addon_mod_check_version/ a été supprimé, voir le nouveau module "Vue d’ensemble" pour contrôler les mises à jour</change>
<change>Corrections divers</change>
</changelog>
</entry>
<entry>
<date>2012-07-15</date>
<rev-version>1.0.2</rev-version>
<changelog lang="en">
<change>Fix: In the currencies management, the redirect url to iso.org is wrong</change>
<change>Fix: Special characters not parsed correctly to PayPal</change>
<change>Add: Donate icons</change>
<change>Add: In the currencies management, the currency name is now clickable</change>
<change>Add: In ACP, "Donation pages" can now preview the custom language keys</change>
<change>Add: Subsilver2 style</change>
<change>Add: Admin permissions</change>
<change>Remove: $config['donation_currency_enable'] is no longer necessary</change>
<change>Change: In ACP, "donation_page" and "currency" Module language name have been changed</change>
<change>Change: Some language keys have been changed</change>
<change>Change: Improve check installation on page donate.php (only available for founders)</change>
<change>Change: Improve UMIL installation</change>
<change>Change: Code optimisation</change>
</changelog>
<changelog lang="fr">
<change>Correction: Dans la gestion des devises, l’URL redirigeant sur iso.org est incorrect</change>
<change>Correction: Les caractères spéciaux sont mal interprétés par PayPal</change>
<change>Ajout: Icone donation</change>
<change>Ajout: Dans la gestion des devises, le nom des devises est désormais cliquable</change>
<change>Ajout: Dans le panneau d’administration, "Donation pages" peut prévisualiser les clés de langue personalisées</change>
<change>Ajout: Style Subsilver2</change>
<change>Ajout: Permission d’administration</change>
<change>Suppression: $config['donation_currency_enable'] n’est plus nécessaire</change>
<change>Modification: Dans le Panneau d’administraion le nom des clés de langues des modules "donation_pages" et "currency" ont été changés</change>
<change>Modification: Quelques clés de langue ont été modifiées</change>
<change>Modification: Amélioration du contrôle de l’installation du MOD sur la page donate.php (seulement disponible pour les fondateurs)</change>
<change>Modification: Amélioration de l’installation avec UMIL</change>
<change>Modification: Optimisation du code</change>
</changelog>
</entry>
<entry>
<date>2012-04-14</date>
<rev-version>1.0.1</rev-version>
<changelog lang="en">
<change>Fix: The setting “Sandbox only for founder” does not work</change>
<change>Fix: Some code optimisation reported by ABDev (Thanks to him)</change>
<change>Add: MOD Check version add-on</change>
<change>Add: Advanced BBCode Box 3 add-on</change>
<change>Add: Update since the new Stocker 4.0's PayPal Donation 1.0.4</change>
<change>Other minor code change</change>
</changelog>
<changelog lang="fr">
<change>Correction: Le paramètre “Sandbox pour les fondateurs” ne fonctionne pas</change>
<change>Correction: Optimisation du code reporté par ABDev (Merci à lui)</change>
<change>Ajout: Contribution pour MOD Check version</change>
<change>Ajout: Contribution pour Advanced BBCode Box 3</change>
<change>Ajout: Fichier de mise à jour de la version 1.0.4 de PayPal Donation de Stocker 4.0</change>
<change>Autres changement mineur du code</change>
</changelog>
</entry>
<entry>
<date>2012-04-11</date>
<rev-version>1.0.0-RC2</rev-version>
<changelog lang="en">
<change>Fix: Change code according to the phpBB coding guidelines.</change>
<change>Fix: If all currencies are disabled, the first currency that is enabled becomes the default currency.</change>
<change>Fix: Characters with accents are not supported in ACP >> .MOD >> PayPal Donation >> Donation pages.</change>
<change>Change: HTML usage is replaced by BBcode usage.</change>
<change>Add: Possibility to define a default donation value.</change>
<change>Add: Ability to set PayPal Sandbox only for board founder.</change>
<change>Add: Ability to replace the PayPal textbox by a PayPal drop-list.</change>
<change>Some changed code.</change>
</changelog>
<changelog lang="fr">
<change>Correction: Changement du code selon les directive de codage de phpBB.</change>
<change>Correction: Si toutes les devises sont désactivées, la première devise qui est activée ne devient pas la devise par défaut.</change>
<change>Correction: Les caractères accentués ne sont pas supportés dans ACP >> .MOD >> PayPal Donation >> Donation pages.</change>
<change>Modification: L’utilisation du HTML est remplacé par l’utilisation des BBcode.</change>
<change>Ajout: Il est possible de définir une valeur de dons par défaut.</change>
<change>Ajout: Possibilité d’autoriser PayPal Sandbox seulement pour les foundateurs du forum.</change>
<change>Ajout: Possibilité de remplacer la zone de saisie de donation libre par une liste déroulante.</change>
<change>Divers changement dans le code.</change>
</changelog>
</entry>
<entry>
<date>2012-01-24</date>
<rev-version>1.0.0-RC1</rev-version>
<changelog lang="en">
<change>First public version...</change>
</changelog>
<changelog lang="fr">
<change>Première version public...</change>
</changelog>
</entry>
</history>
<link-group>
<link type="contrib" href="./contrib/updates/update_103_to_104.xml" lang="en">PayPal Donation Mod update 1.0.3 to 1.0.4</link>
<link type="contrib" href="./contrib/updates/update_103_to_104.xml" lang="fr">Mise à jour de PayPal Donation Mod 1.0.3 vers 1.0.4</link>
<link type="contrib" href="./contrib/updates/update_102_to_103.xml" lang="en">PayPal Donation Mod update 1.0.2 to 1.0.3</link>
<link type="contrib" href="./contrib/updates/update_102_to_103.xml" lang="fr">Mise à jour de PayPal Donation Mod 1.0.2 vers 1.0.3</link>
<link type="contrib" href="./contrib/updates/update_101_to_102.xml" lang="en">PayPal Donation Mod update 1.0.1 to 1.0.2</link>
<link type="contrib" href="./contrib/updates/update_101_to_102.xml" lang="fr">Mise à jour de PayPal Donation Mod 1.0.1 vers 1.0.2</link>
<link type="contrib" href="./contrib/updates/update_100-RC2_to_101.xml" lang="en">PayPal Donation Mod update 1.0.0-RC2 to 1.0.1</link>
<link type="contrib" href="./contrib/updates/update_100-RC2_to_101.xml" lang="fr">Mise à jour de PayPal Donation Mod 1.0.0-RC2 vers 1.0.1</link>
<link type="contrib" href="./contrib/updates/update_100-RC1_to_100-RC2.xml" lang="en">PayPal Donation Mod update 1.0.0-RC1 to 1.0.0-RC2</link>
<link type="contrib" href="./contrib/updates/update_100-RC1_to_100-RC2.xml" lang="fr">Mise à jour de PayPal Donation Mod 1.0.0-RC1 vers 1.0.0-RC2</link>
<link type="contrib" href="./contrib/add-ons/addon_advanced_bbcode_box_3/advanced_bbcode_box_3.xml" lang="en">Add-on for “Advanced BBCode Box 3” MOD</link>
<link type="contrib" href="./contrib/add-ons/addon_advanced_bbcode_box_3/advanced_bbcode_box_3.xml" lang="fr">Add-on pour le MOD “Advanced BBCode Box 3”</link>
<link type="contrib" href="./contrib/add-ons/icon_donate_in_each_post/icon_donate_in_each_post.xml" lang="en">Add-on “Icon donate in each post”</link>
<link type="contrib" href="./contrib/add-ons/icon_donate_in_each_post/icon_donate_in_each_post.xml" lang="fr">Add-on “Icône des dons sur chaque message”</link>
<link type="language" href="./contrib/languages/fr.xml" lang="en">French</link>
<link type="language" href="./contrib/languages/fr.xml" lang="fr">Français</link>
<link type="language" href="./contrib/languages/nl_x_formal.xml" lang="en">Dutch (Formal)</link>
<link type="language" href="./contrib/languages/nl_x_formal.xml" lang="nl_x_formal">Nederlands Formeel</link>
<link type="template" href="./contrib/template/subsilver2/subsilver2.xml" lang="en">Subsilver2</link>
<link type="template-lang" href="./contrib/template-lang/subsilver2/fr-subsilver2.xml" lang="en">Subsilver2 French</link>
<link type="template-lang" href="./contrib/template-lang/subsilver2/fr-subsilver2.xml" lang="fr">Subsilver2 Français</link>
<link type="template-lang" href="./contrib/template-lang/subsilver2/nl_x_formal-subsilver2.xml" lang="en">Subsilver2 Dutch (Formal)</link>
<link type="template-lang" href="./contrib/template-lang/subsilver2/nl_x_formal-subsilver2.xml" lang="nl_x_formal">Subsilver2 Nederlands Formeel</link>
</link-group>
</header>
<action-group>
<copy>
<file from="root/donate.php" to="donate.php" />
<file from="root/install_donation_mod.php" to="install_donation_mod.php" />
<file from="root/adm/style/acp_donation.html" to="adm/style/acp_donation.html" />
<file from="root/images/donation/*.*" to="images/donation/*.*" />
<file from="root/includes/acp/acp_donation.php" to="includes/acp/acp_donation.php" />
<file from="root/includes/acp/info/acp_donation.php" to="includes/acp/info/acp_donation.php" />
<file from="root/includes/functions_donation.php" to="includes/functions_donation.php" />
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
<file from="root/styles/prosilver/imageset/en/donate.gif" to="styles/prosilver/imageset/en/donate.gif" />
<file from="root/styles/prosilver/template/donate/*.*" to="styles/prosilver/template/donate/*.*" />
<file from="root/styles/prosilver/theme/donation.css" to="styles/prosilver/theme/donation.css" />
<file from="root/styles/prosilver/theme/images/icon_donate.gif" to="styles/prosilver/theme/images/icon_donate.gif" />
<file from="root/umil/*.*" to="umil/*.*" />
</copy>
<open src="index.php">
<edit>
<find><![CDATA[$user->setup('viewforum');]]></find>
<action type="after-add"><![CDATA[//-- mod : PayPal donation --------------------------------------------------------
//-- add
if (!empty($config['donation_enable']) && !empty($config['donation_stats_index_enable']))
{
$user->add_lang('mods/donate');
include($phpbb_root_path . 'includes/functions_donation.' . $phpEx);
}
//-- end : PayPal donation --------------------------------------------------------]]></action>
</edit>
<edit>
<find><![CDATA[// Output page]]></find>
<action type="before-add"><![CDATA[//-- mod : PayPal donation --------------------------------------------------------
//-- add
if (!empty($config['donation_enable']) && !empty($config['donation_stats_index_enable']))
{
$donation_currency = donation_item_list((int) $config['donation_default_currency'], 'currency', 'default_currency', $user->lang['CURRENCY_DEFAULT']);
$template->assign_vars(array(
'DONATION_STATS_INDEX_ENABLE' => (!empty($config['donation_stats_index_enable'])) ? true : false,
'DONATION_GOAL_ENABLE' => (!empty($config['donation_goal_enable'])) ? true : false,
'DONATION_RAISED_ENABLE' => (!empty($config['donation_raised_enable'])) ? true : false,
'DONATION_USED_ENABLE' => (!empty($config['donation_used_enable'])) ? true : false,
'L_DONATION_GOAL' => ((int) $config['donation_goal'] <= 0) ? $user->lang['DONATE_NO_GOAL'] : ((int) $config['donation_goal'] < (int) $config['donation_raised'] ? $user->lang['DONATE_GOAL_REACHED'] : sprintf($user->lang['DONATE_GOAL_RAISE'], (int) $config['donation_goal'], $donation_currency)),
'L_DONATION_RAISED' => ((int) $config['donation_raised'] <= 0) ? $user->lang['DONATE_NOT_RECEIVED'] : sprintf($user->lang['DONATE_RECEIVED'], (int) $config['donation_raised'], $donation_currency),
'L_DONATION_USED' => ((int) $config['donation_used'] <= 0) ? $user->lang['DONATE_NOT_USED'] : ((int) $config['donation_used'] < (int) $config['donation_raised'] ? sprintf($user->lang['DONATE_USED'], (int) $config['donation_used'], $donation_currency, (int) $config['donation_raised']) : sprintf($user->lang['DONATE_USED_EXCEEDED'], (int) $config['donation_used'], $donation_currency)),
));
// Donation percent
if (!empty($config['donation_goal_enable']) && (int) $config['donation_goal'] > 0)
{
donation_stats_percent('GOAL_NUMBER', (int) $config['donation_raised'], (int) $config['donation_goal']);
}
if (!empty($config['donation_used_enable']) && (int) $config['donation_raised'] > 0 && (int) $config['donation_used'] > 0)
{
donation_stats_percent('USED_NUMBER', (int) $config['donation_used'], (int) $config['donation_raised']);
}
}
//-- end : PayPal donation --------------------------------------------------------]]></action>
</edit>
</open>
<open src="viewonline.php">
<edit>
<find><![CDATA[ default:
$location = $user->lang['INDEX'];
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
break;]]></find>
<action type="before-add"><![CDATA[//-- mod : PayPal Donation --------------------------------------------------------
//-- add
case 'donate':
$location = $user->lang['VIEWING_DONATE'];
$location_url = append_sid("{$phpbb_root_path}donate.$phpEx");
break;
//-- end : PayPal Donation --------------------------------------------------------]]></action>
</edit>
</open>
<open src="includes/constants.php">
<edit>
<find><![CDATA[// Additional tables]]></find>
<action type="after-add"><![CDATA[//-- mod : PayPal Donation --------------------------------------------------------
//-- add
define('DONATION_ITEM_TABLE', $table_prefix . 'donation_item');
//-- end : PayPal Donation --------------------------------------------------------]]></action>
</edit>
</open>
<open src="includes/functions.php">
<edit>
<find><![CDATA[ 'A_COOKIE_SETTINGS' => addslashes('; path=' . $config['cookie_path'] . ((!$config['cookie_domain'] || $config['cookie_domain'] == 'localhost' || $config['cookie_domain'] == '127.0.0.1') ? '' : '; domain=' . $config['cookie_domain']) . ((!$config['cookie_secure']) ? '' : '; secure')),
));
]]></find>
<action type="after-add"><![CDATA[//-- mod : PayPal Donation --------------------------------------------------------
//-- add
$template->assign_vars(array(
'U_DONATE' => $auth->acl_get('u_pdm_use') ? append_sid("{$phpbb_root_path}donate.$phpEx") : '',
'S_DONATE_ENABLED' => $auth->acl_get('u_pdm_use') && !empty($config['donation_enable']),
));
//-- end : PayPal Donation --------------------------------------------------------]]></action>
</edit>
</open>
<open src="language/en/common.php">
<edit>
<find><![CDATA[?>]]></find>
<action type="before-add"><![CDATA[//-- mod : PayPal Donation --------------------------------------------------------
//-- add
$lang = array_merge($lang, array(
'DONATEINDEX' => 'Donate',
'VIEWING_DONATE' => 'Viewing Donation page',
));
//-- end : PayPal Donation --------------------------------------------------------]]></action>
</edit>
</open>
<open src="styles/prosilver/template/index_body.html">
<edit>
<find><![CDATA[<!-- IF NEWEST_USER -->]]></find>
<action type="before-add"><![CDATA[<!-- IF DONATION_STATS_INDEX_ENABLE and (DONATION_RAISED_ENABLE or DONATION_GOAL_ENABLE or DONATION_USED_ENABLE) -->
<!-- INCLUDE donate/donate_stats.html -->
<!-- ENDIF -->
]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">
<edit>
<find><![CDATA[ <li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>]]></find>
<action type="before-add"><![CDATA[ <!-- IF S_DONATE_ENABLED --><li class="icon-donate"><a href="{U_DONATE}">{L_DONATEINDEX}</a></li><!-- ENDIF -->]]></action>
</edit>
</open>
<open src="styles/prosilver/theme/stylesheet.css">
<edit>
<find><![CDATA[@import url("colours.css");]]></find>
<action type="after-add"><![CDATA[@import url("donation.css");]]></action>
</edit>
</open>
<php-installer><![CDATA[install_donation_mod.php]]></php-installer>
<diy-instructions lang="en"><![CDATA[Upload all included files.
Run the installer.
Set the PayPal Donation Mod settings under the .MODS tab.]]></diy-instructions>
<diy-instructions lang="fr"><![CDATA[Transféer tous les fichiers.
Executer le fichier d’installation.
Définir les paramètres de PayPal Donation Mod depuis l’ACP dans l’onglet ".MODS".]]></diy-instructions>
</action-group>
</mod>