Completed
Pull Request — master (#144)
by Michael
03:13
created
include/functions.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@
 block discarded – undo
34 34
     $donationform = [
35 35
         0 => '<form name="donation" id="donation" action="http://www.txmodxoops.org/modules/xdonations/" method="post" onsubmit="return xoopsFormValidate_donation();">',
36 36
         1 => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'
37
-             . _AM_TDMCREATE_ABOUT_MAKE_DONATION
38
-             . '</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">'
39
-             . _AM_TDMCREATE_DONATION_AMOUNT
40
-             . '</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 EUR</option><option value="10">10.00 EUR</option><option value="20">20.00 EUR</option><option value="40">40.00 EUR</option><option value="60">60.00 EUR</option><option value="80">80.00 EUR</option><option value="90">90.00 EUR</option><option value="100">100.00 EUR</option><option value="200">200.00 EUR</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'
41
-             . _SUBMIT
42
-             . '" title="'
43
-             . _SUBMIT
44
-             . '" type="submit"></td></tr></tbody></table>',
37
+                . _AM_TDMCREATE_ABOUT_MAKE_DONATION
38
+                . '</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">'
39
+                . _AM_TDMCREATE_DONATION_AMOUNT
40
+                . '</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 EUR</option><option value="10">10.00 EUR</option><option value="20">20.00 EUR</option><option value="40">40.00 EUR</option><option value="60">60.00 EUR</option><option value="80">80.00 EUR</option><option value="90">90.00 EUR</option><option value="100">100.00 EUR</option><option value="200">200.00 EUR</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'
41
+                . _SUBMIT
42
+                . '" title="'
43
+                . _SUBMIT
44
+                . '" type="submit"></td></tr></tbody></table>',
45 45
         2 => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="EUR" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.txmodxoops.org/modules/xdonations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.txmodxoops.org/modules/xdonations/success.php" type="hidden"></form>',
46 46
         'D' => '',
47 47
         3 => '',
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -189,14 +189,14 @@
 block discarded – undo
189 189
         $donationform = [
190 190
             0   => '<form name="donation" id="donation" action="http://www.txmodxoops.org/modules/xdonations/" method="post" onsubmit="return xoopsFormValidate_donation();">',
191 191
             1   => '<table class="outer" cellspacing="1" width="100%"><tbody><tr><th colspan="2">'
192
-                   . _AM_TDMCREATE_ABOUT_MAKE_DONATION
193
-                   . '</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">'
194
-                   . _AM_TDMCREATE_DONATION_AMOUNT
195
-                   . '</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 EUR</option><option value="10">10.00 EUR</option><option value="20">20.00 EUR</option><option value="40">40.00 EUR</option><option value="60">60.00 EUR</option><option value="80">80.00 EUR</option><option value="90">90.00 EUR</option><option value="100">100.00 EUR</option><option value="200">200.00 EUR</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'
196
-                   . _SUBMIT
197
-                   . '" title="'
198
-                   . _SUBMIT
199
-                   . '" type="submit"></td></tr></tbody></table>',
192
+                    . _AM_TDMCREATE_ABOUT_MAKE_DONATION
193
+                    . '</th></tr><tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption-required"><span class="caption-text">'
194
+                    . _AM_TDMCREATE_DONATION_AMOUNT
195
+                    . '</span><span class="caption-marker">*</span></div></td><td class="even"><select size="1" name="item[A][amount]" id="item[A][amount]" title="Donation Amount"><option value="5">5.00 EUR</option><option value="10">10.00 EUR</option><option value="20">20.00 EUR</option><option value="40">40.00 EUR</option><option value="60">60.00 EUR</option><option value="80">80.00 EUR</option><option value="90">90.00 EUR</option><option value="100">100.00 EUR</option><option value="200">200.00 EUR</option></select></td></tr><tr align="left" valign="top"><td class="head"></td><td class="even"><input class="formButton" name="submit" id="submit" value="'
196
+                    . _SUBMIT
197
+                    . '" title="'
198
+                    . _SUBMIT
199
+                    . '" type="submit"></td></tr></tbody></table>',
200 200
             2   => '<input name="op" id="op" value="createinvoice" type="hidden"><input name="plugin" id="plugin" value="donations" type="hidden"><input name="donation" id="donation" value="1" type="hidden"><input name="drawfor" id="drawfor" value="Chronolabs Co-Operative" type="hidden"><input name="drawto" id="drawto" value="%s" type="hidden"><input name="drawto_email" id="drawto_email" value="%s" type="hidden"><input name="key" id="key" value="%s" type="hidden"><input name="currency" id="currency" value="EUR" type="hidden"><input name="weight_unit" id="weight_unit" value="kgs" type="hidden"><input name="item[A][cat]" id="item[A][cat]" value="XDN%s" type="hidden"><input name="item[A][name]" id="item[A][name]" value="Donation for %s" type="hidden"><input name="item[A][quantity]" id="item[A][quantity]" value="1" type="hidden"><input name="item[A][shipping]" id="item[A][shipping]" value="0" type="hidden"><input name="item[A][handling]" id="item[A][handling]" value="0" type="hidden"><input name="item[A][weight]" id="item[A][weight]" value="0" type="hidden"><input name="item[A][tax]" id="item[A][tax]" value="0" type="hidden"><input name="return" id="return" value="http://www.txmodxoops.org/modules/xdonations/success.php" type="hidden"><input name="cancel" id="cancel" value="http://www.txmodxoops.org/modules/xdonations/success.php" type="hidden"></form>',
201 201
             'D' => '',
202 202
             3   => '',
Please login to merge, or discard this patch.
class/Files/CreateArchitecture.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -102,20 +102,20 @@
 block discarded – undo
102 102
         }
103 103
         $language  = ('english' !== $GLOBALS['xoopsConfig']['language']) ? $GLOBALS['xoopsConfig']['language'] : 'english';
104 104
         $copyFiles = ['class'                           => $indexFile,
105
-                      'include'                         => $indexFile,
106
-                      'language'                        => $indexFile,
107
-                      'assets'                          => $indexFile,
108
-                      'assets/css'                      => $indexFile,
109
-                      'assets/css/admin'                => $indexFile,
110
-                      'assets/icons'                    => $indexFile,
111
-                      'assets/icons/16'                 => $indexFile,
112
-                      'assets/icons/32'                 => $indexFile,
113
-                      'docs'                            => $indexFile,
114
-                      'assets/images'                   => $indexFile,
115
-                      'assets/js'                       => $indexFile,
116
-                      'language/' . $language           => $indexFile,
117
-                      'language/' . $language . '/help' => $indexFile,
118
-                      'preloads'                        => $indexFile
105
+                        'include'                         => $indexFile,
106
+                        'language'                        => $indexFile,
107
+                        'assets'                          => $indexFile,
108
+                        'assets/css'                      => $indexFile,
109
+                        'assets/css/admin'                => $indexFile,
110
+                        'assets/icons'                    => $indexFile,
111
+                        'assets/icons/16'                 => $indexFile,
112
+                        'assets/icons/32'                 => $indexFile,
113
+                        'docs'                            => $indexFile,
114
+                        'assets/images'                   => $indexFile,
115
+                        'assets/js'                       => $indexFile,
116
+                        'language/' . $language           => $indexFile,
117
+                        'language/' . $language . '/help' => $indexFile,
118
+                        'preloads'                        => $indexFile
119 119
         ];
120 120
         foreach ($copyFiles as $k => $v) {
121 121
             // Creation of folders and index.html file
Please login to merge, or discard this patch.