Passed
Branch master (7fc493)
by Gino
03:28
created
class/files/TDMCreateFile.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -544,7 +544,7 @@
 block discarded – undo
544 544
         return $ret;
545 545
     }
546 546
 	
547
-	/*
547
+    /*
548 548
      * @public function getRemoveCarriageReturn
549 549
      * @param $string     
550 550
      *
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
         if (strrpos($path, '\\')) {
261 261
             $str = strrpos($path, '\\');
262 262
             if ($str !== false) {
263
-                return substr($path, $str + 1, strlen($path));
263
+                return substr($path, $str+1, strlen($path));
264 264
             } else {
265 265
                 return substr($path, $str, strlen($path));
266 266
             }
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
         if (strpos($string, '_')) {
389 389
             $str = strpos($string, '_');
390 390
             if ($str !== false) {
391
-                $ret = substr($string, $str + 1, strlen($string));
391
+                $ret = substr($string, $str+1, strlen($string));
392 392
 
393 393
                 return $ret;
394 394
             }
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
         $ret .= "*/\n";
584 584
         $copyright = array($name => 'module for xoops', '' => '', '@copyright  ' => '   module for xoops', '@license   ' => "    {$license}", '@package   ' => "    {$dirname}",
585 585
                             '@since    ' => "     {$since}", '@min_xoops   ' => "  {$minXoops}", '@author    ' => "    {$author} - Email:<{$authorMail}> - Website:<{$authorWebsiteUrl}>",
586
-                            '@version    ' => "   \$Id: {$version} {$fileName} {$subversion} {$date}Z {$credits} \$" );
586
+                            '@version    ' => "   \$Id: {$version} {$fileName} {$subversion} {$date}Z {$credits} \$");
587 587
         $ret .= TDMCreatePhpCode::getInstance()->getPhpCodeCommentMultiLine($copyright);
588 588
 
589 589
         return $ret;
Please login to merge, or discard this patch.
class/files/TDMCreateTableFields.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -564,7 +564,7 @@
 block discarded – undo
564 564
         return "\$GLOBALS['xoopsTpl']->appendByRef('{$tplString}', {$phpRender});\n";
565 565
     }
566 566
 	
567
-	/**
567
+    /**
568 568
      *  @public function getXoopsCodeTplDisplay
569 569
      *
570 570
      *  @param null
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      *  @param mixed $table
34 34
      */
35
-    public function __construct(){}
35
+    public function __construct() {}
36 36
 
37 37
     /*
38 38
      * @static function &getInstance
Please login to merge, or discard this patch.
class/files/classes/ClassFiles.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     */
33 33
     private $phpcode = null;
34 34
 	
35
-	/*
35
+    /*
36 36
     * @var string
37 37
     */
38 38
     private $classcode = null;
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->phpcode = TDMCreatePhpCode::getInstance();
61 61
         $this->tdmcfile = TDMCreateFile::getInstance();
62 62
         $this->tdmcreate = TDMCreateHelper::getInstance();
63
-		$this->classcode = ClassXoopsCode::getInstance();
63
+        $this->classcode = ClassXoopsCode::getInstance();
64 64
         $this->formelements = ClassFormElements::getInstance();
65 65
     }
66 66
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     private function getInitVar($fieldName, $type = 'INT')
114 114
     {        
115
-		return $this->classcode->getClassInitVar($fieldName, $type);
115
+        return $this->classcode->getClassInitVar($fieldName, $type);
116 116
     }
117 117
 
118 118
     /*
@@ -203,8 +203,8 @@  discard block
 block discarded – undo
203 203
         $ret = $this->phpcode->getPhpCodeDefined();
204 204
         $ret .= $this->phpcode->getPhpCodeCommentMultiLine(array('Class Object ' => $ucfModuleDirname.$ucfTableName));
205 205
         $contentClass = $this->phpcode->getPhpCodeCommentMultiLine(array('@var ' => 'mixed'));
206
-		$contentClass .= $this->phpcode->getPhpCodeVariableClass('private', $moduleDirname);
207
-		$ret .= <<<EOT
206
+        $contentClass .= $this->phpcode->getPhpCodeVariableClass('private', $moduleDirname);
207
+        $ret .= <<<EOT
208 208
 class {$ucfModuleDirname}{$ucfTableName} extends XoopsObject
209 209
 {
210 210
     /*
Please login to merge, or discard this patch.
class/files/classes/ClassFormElements.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
  */
28 28
 class ClassFormElements extends TDMCreateFile
29 29
 {    	
30
-	/*
30
+    /*
31 31
     * @var string
32 32
     */
33 33
     private $tdmcreate = null;
34 34
 	
35
-	/*
35
+    /*
36 36
     * @var mixed
37 37
     */
38 38
     private $phpcode = null;
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     */
43 43
     private $xoopscode = null;
44 44
 	
45
-	/*
45
+    /*
46 46
     * @var mixed
47 47
     */
48 48
     private $classcode = null;
@@ -114,11 +114,11 @@  discard block
 block discarded – undo
114 114
             $ret = $this->phpcode->getPhpCodeCommentLine('Form Text', $ucfFieldName);
115 115
             $ret .= $this->phpcode->getPhpCodeTernaryOperator($ccFieldName, '$this->isNew()', "'{$fieldDefault}'", "\$this->getVar('{$fieldName}')");
116 116
             $formText = $this->classcode->getClassXoopsFormText('', $language, $fieldName, 20, 150, "{$ccFieldName}", true);
117
-			$ret .= $this->classcode->getClassAddElement('form', $formText.$required);            
117
+            $ret .= $this->classcode->getClassAddElement('form', $formText.$required);            
118 118
         } else {
119
-			$ret = $this->phpcode->getPhpCodeCommentLine('Form Text', $ucfFieldName);
119
+            $ret = $this->phpcode->getPhpCodeCommentLine('Form Text', $ucfFieldName);
120 120
             $formText = $this->classcode->getClassXoopsFormText('', $language, $fieldName, 50, 255, "this->getVar('{$fieldName}')", true);
121
-			$ret .= $this->classcode->getClassAddElement('form', $formText.$required);
121
+            $ret .= $this->classcode->getClassAddElement('form', $formText.$required);
122 122
         }
123 123
 
124 124
         return $ret;
@@ -139,10 +139,10 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function getXoopsFormTextArea($language, $fieldName, $required = 'false')
141 141
     {
142
-		$ucfFieldName = $this->getCamelCase($fieldName, true);
142
+        $ucfFieldName = $this->getCamelCase($fieldName, true);
143 143
         $ret = $this->phpcode->getPhpCodeCommentLine('Form Text Area', $ucfFieldName);
144
-		$formTextArea = $this->classcode->getClassXoopsFormTextArea('', $language, $fieldName, 4, 47, true);
145
-		$ret .= $this->classcode->getClassAddElement('form', $formTextArea.$required);
144
+        $formTextArea = $this->classcode->getClassXoopsFormTextArea('', $language, $fieldName, 4, 47, true);
145
+        $ret .= $this->classcode->getClassAddElement('form', $formTextArea.$required);
146 146
 		
147 147
         return $ret;
148 148
     }
@@ -165,14 +165,14 @@  discard block
 block discarded – undo
165 165
     private function getXoopsFormDhtmlTextArea($language, $moduleDirname, $fieldName, $required = 'false')
166 166
     {
167 167
         $rpFieldName = $this->getRightString($fieldName);
168
-		$ret = $this->phpcode->getPhpCodeArray('editorConfigs');
168
+        $ret = $this->phpcode->getPhpCodeArray('editorConfigs');
169 169
         $configs = array('name' => "'{$fieldName}'", 'value' => "\$this->getVar('{$fieldName}', 'e')", 'rows' => 5, 'cols' => 40, 
170
-						'width' => "'100%'", 'height' => "'400px'", 'editor' => "\$this->{$moduleDirname}->getConfig('{$moduleDirname}_editor_{$rpFieldName}')");		
171
-		foreach ($configs as $c => $d) {
172
-			$ret .= "\$editorConfigs['{$c}'] = {$d};";
173
-		}
174
-		$formEditor = $this->classcode->getClassXoopsFormEditor('', $language, $fieldName, 'editorConfigs', true);
175
-		$ret .= $this->classcode->getClassAddElement('form', $formEditor.$required);
170
+                        'width' => "'100%'", 'height' => "'400px'", 'editor' => "\$this->{$moduleDirname}->getConfig('{$moduleDirname}_editor_{$rpFieldName}')");		
171
+        foreach ($configs as $c => $d) {
172
+            $ret .= "\$editorConfigs['{$c}'] = {$d};";
173
+        }
174
+        $formEditor = $this->classcode->getClassXoopsFormEditor('', $language, $fieldName, 'editorConfigs', true);
175
+        $ret .= $this->classcode->getClassAddElement('form', $formEditor.$required);
176 176
 		
177 177
         return $ret;
178 178
     }
@@ -231,9 +231,9 @@  discard block
 block discarded – undo
231 231
     private function getXoopsFormHidden($fieldName)
232 232
     {
233 233
         $ucfFieldName = $this->getCamelCase($fieldName, true);
234
-		$ret = $this->phpcode->getPhpCodeCommentLine('Form Hidden', $ucfFieldName);
235
-		$formHidden = $this->classcode->getClassXoopsFormHidden('', $fieldName, $fieldName, true, true);
236
-		$ret .= $this->classcode->getClassAddElement('form', $formHidden);
234
+        $ret = $this->phpcode->getPhpCodeCommentLine('Form Hidden', $ucfFieldName);
235
+        $formHidden = $this->classcode->getClassXoopsFormHidden('', $fieldName, $fieldName, true, true);
236
+        $ret .= $this->classcode->getClassAddElement('form', $formHidden);
237 237
 		
238 238
         return $ret;
239 239
     }
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      * @param        $moduleDirname
351 351
      * @param        $fieldName
352 352
      * @param        $fieldDefault
353
-	 *
353
+     *
354 354
      * @param $required
355 355
      *
356 356
      * @return string
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
     {
596 596
         $ucfTableName = ucfirst($tableName);
597 597
         $ret = '';
598
-		if ($fieldElement > 15) {
598
+        if ($fieldElement > 15) {
599 599
             $fElement = $this->tdmcreate->getHandler('fieldelements')->get($fieldElement);
600 600
             $rpFieldelementName = strtolower(str_replace('Table : ', '', $fElement->getVar('fieldelement_name')));
601 601
             $ccFieldName = $this->getCamelCase($fieldName, false, true);
Please login to merge, or discard this patch.
class/files/classes/ClassXoopsCode.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         return "\${$var}->add( {$param} );\n";
108 108
     }
109 109
 	
110
-	/*
110
+    /*
111 111
      * @public function getClassAdd
112 112
      * @param $paramLeft
113 113
      * @param $paramRight
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     public function getClassInitVar($paramLeft = '', $paramRight = '', $var = 'this', $t = "\t\t")
120 120
     {
121 121
         $stuParamRight = strtoupper($paramRight);
122
-		return "{$t}\${$var}->initVar('{$paramLeft}', XOBJ_DTYPE_{$stuParamRight});\n";
122
+        return "{$t}\${$var}->initVar('{$paramLeft}', XOBJ_DTYPE_{$stuParamRight});\n";
123 123
     }
124 124
 
125 125
     /*
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function getClassXoopsFormElementTray($var, $param1, $param2 = '', $isParam = false)
134 134
     {
135 135
         $tray = 'new XoopsFormElementTray(';
136
-		if ($isParam === false) {
136
+        if ($isParam === false) {
137 137
             $ret = "\${$var} = {$tray}{$param1}, '{$param2}' );\n";
138 138
         } else {
139 139
             $ret = "{$tray}{$param1}, '{$param2}' )";
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     public function getClassXoopsFormLabel($var, $param1 = '', $isParam = false)
154 154
     {
155 155
         $label = 'new XoopsFormLabel(';
156
-		if ($isParam === false) {
156
+        if ($isParam === false) {
157 157
             $ret = "\${$var} = {$label}{$param1});\n";
158 158
         } else {
159 159
             $ret = "{$label}{$param1})";
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     public function getClassXoopsFormFile($var, $param1, $param2, $param3, $isParam = false)
175 175
     {
176 176
         $file = 'new XoopsFormFile( ';
177
-		if ($isParam === false) {
177
+        if ($isParam === false) {
178 178
             $ret = "\${$var} = {$file}{$param1}, '{$param2}', {$param3} );\n";
179 179
         } else {
180 180
             $ret = "{$file}{$param1}, '{$param2}', {$param3} )";
@@ -194,15 +194,15 @@  discard block
 block discarded – undo
194 194
     public function getClassXoopsFormHidden($var, $param1, $param2, $isForm = false, $isParam = false)
195 195
     {
196 196
         $hidden = 'new XoopsFormHidden( ';
197
-		$getVarHidden = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param2, true);
198
-		if ($isParam === false) {
197
+        $getVarHidden = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param2, true);
198
+        if ($isParam === false) {
199 199
             $ret = "\${$var} = {$hidden}{$param1}, {$getVarHidden} );\n";
200 200
         } else {
201
-			if ($isForm === false) {
202
-				$ret = "{$hidden}{$param1}, {$getVar} )";
203
-			} else {
204
-				$ret = "{$hidden}'{$param1}', '{$param2}' )";
205
-			}
201
+            if ($isForm === false) {
202
+                $ret = "{$hidden}{$param1}, {$getVar} )";
203
+            } else {
204
+                $ret = "{$hidden}'{$param1}', '{$param2}' )";
205
+            }
206 206
         }
207 207
 
208 208
         return $ret;
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     public function getClassXoopsFormText($var, $param1, $param2, $param3 = 75, $param4 = 255, $param5, $isParam = false)
223 223
     {
224 224
         $text = 'new XoopsFormText( ';
225
-		if ($isParam === false) {
225
+        if ($isParam === false) {
226 226
             $ret = "\${$var} = {$text}{$param1}, '{$param2}', {$param3}, {$param4}, \${$param5} );\n";
227 227
         } else {
228 228
             $ret = "{$text}{$param1}, '{$param2}', {$param3}, {$param4}, \${$param5} )";
@@ -245,8 +245,8 @@  discard block
 block discarded – undo
245 245
     public function getClassXoopsFormTextArea($var, $param1, $param2, $param3, $param4, $isParam = false)
246 246
     {
247 247
         $area = 'new XoopsFormTextArea( ';
248
-		$getVarTextArea = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param2, true);
249
-		if ($isParam === false) {
248
+        $getVarTextArea = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param2, true);
249
+        if ($isParam === false) {
250 250
             $ret = "\${$var} = {$area}{$param1}, '{$param2}', {$getVarTextArea}, {$param3}, {$param4} );\n";
251 251
         } else {
252 252
             $ret = "{$area}{$param1}, '{$param2}', {$getVarTextArea}, {$param3}, {$param4} )";
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     public function getClassXoopsFormColorPicker($var, $param1, $param2, $param3, $isParam = false)
268 268
     {
269 269
         $picker = 'new XoopsFormColorPicker( ';
270
-		if ($isParam === false) {
270
+        if ($isParam === false) {
271 271
             $ret = "\${$var} = {$picker}{$param1}, '{$param2}', {$param3} );\n";
272 272
         } else {
273 273
             $ret = "{$picker}{$param1}, '{$param2}', {$param3} )";
@@ -288,8 +288,8 @@  discard block
 block discarded – undo
288 288
     public function getClassXoopsFormSelectUser($var, $param1, $param2, $param3 = 'false', $param4, $isParam = false)
289 289
     {
290 290
         $user = 'new XoopsFormSelectUser( ';
291
-		$getVarSelectUser = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param4, true);
292
-		if ($isParam === false) {
291
+        $getVarSelectUser = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param4, true);
292
+        if ($isParam === false) {
293 293
             $ret = "\${$var} = {$user}{$param1}, '{$param2}', {$param3}, {$getVarSelectUser} );\n";
294 294
         } else {
295 295
             $ret = "{$user}{$param1}, '{$param2}', {$param3}, {$getVarSelectUser} )";
@@ -310,8 +310,8 @@  discard block
 block discarded – undo
310 310
     public function getClassXoopsFormTextDateSelect($var, $param1, $param2, $param3 = '', $param4, $isParam = false)
311 311
     {
312 312
         $tdate = 'new XoopsFormTextDateSelect( ';
313
-		$getVarTextDateSelect = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param4, true);
314
-		if ($isParam === false) {
313
+        $getVarTextDateSelect = $this->xoopscode->getXoopsCodeGetVar('', 'this', $param4, true);
314
+        if ($isParam === false) {
315 315
             $ret = "\${$var} = {$tdate}{$param1}, '{$param2}', {$param3}, {$getVarTextDateSelect} );\n";
316 316
         } else {
317 317
             $ret = "{$tdate}{$param1}, '{$param2}', {$param3}, {$getVarTextDateSelect} )";
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     public function getClassXoopsFormEditor($var, $param1, $param2, $param3, $isParam = false)
333 333
     {
334 334
         $editor = 'new XoopsFormEditor( ';
335
-		if ($isParam === false) {
335
+        if ($isParam === false) {
336 336
             $ret = "\${$var} = {$editor}{$param1}, '{$param2}', \${$param3});\n";
337 337
         } else {
338 338
             $ret = "{$editor}{$param1}, '{$param2}', \${$param3})";
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
     public function getClassXoopsFormCheckBox($var, $param1, $param2, $param3, $isParam = false)
354 354
     {
355 355
         $checkBox = 'new XoopsFormCheckBox( ';
356
-		if ($isParam === false) {
356
+        if ($isParam === false) {
357 357
             $ret = "\${$var} = {$checkBox}{$param1}, '{$param2}', {$param3});\n";
358 358
         } else {
359 359
             $ret = "{$checkBox}{$param1}, '{$param2}', {$param3})";
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
     public function getClassXoopsFormRadioYN($var, $param1, $param2, $param3, $isParam = false)
375 375
     {
376 376
         $radioYN = 'new XoopsFormRadioYN( ';
377
-		if ($isParam === false) {
377
+        if ($isParam === false) {
378 378
             $ret = "\${$var} = {$radioYN}{$param1}, '{$param2}', \${$param3});\n";
379 379
         } else {
380 380
             $ret = "{$radioYN}{$param1}, '{$param2}', \${$param3})";
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
     public function getClassXoopsFormSelect($var, $param1, $param2, $param3, $param4, $param5 = 5, $isParam = false)
398 398
     {
399 399
         $select = 'new XoopsFormSelect( ';
400
-		if ($isParam === false) {
400
+        if ($isParam === false) {
401 401
             $ret = "\${$var} = {$select}{$param1}, \".{\${$param2}}/\", '{$param3}', \${$param4}, {$param5} );\n";
402 402
         } else {
403 403
             $ret = "{$select}{$param1}, \".{\${$param2}}/\", '{$param3}', \${$param4}, {$param5} )";
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
     public function getClassXoopsFormTag($var, $param1, $param2, $param3, $param4, $param5 = 0, $isParam = false)
421 421
     {
422 422
         $tag = 'new XoopsFormTag( ';
423
-		if ($isParam === false) {
423
+        if ($isParam === false) {
424 424
             $ret = "\${$var} = {$tag}'{$param1}', {$param2}, {$param3}, \${$param4}, {$param5} );\n";
425 425
         } else {
426 426
             $ret = "{$tag}'{$param1}', {$param2}, {$param3}, \${$param4}, {$param5} )";
Please login to merge, or discard this patch.
class/files/language/LanguageAdmin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -544,7 +544,7 @@
 block discarded – undo
544 544
         return $ret;
545 545
     }
546 546
 	
547
-	/*
547
+    /*
548 548
      * @public function getRemoveCarriageReturn
549 549
      * @param $string     
550 550
      *
Please login to merge, or discard this patch.
class/files/sql/SqlFile.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     */
33 33
     private $tdmcreate = null;
34 34
 	
35
-	/*
35
+    /*
36 36
     * @var string
37 37
     */
38 38
     private $tdmcfile = null;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function __construct()
52 52
     {
53 53
         parent::__construct();
54
-		$this->tdmcreate = TDMCreateHelper::getInstance();
54
+        $this->tdmcreate = TDMCreateHelper::getInstance();
55 55
         $this->tdmcfile = TDMCreateFile::getInstance();
56 56
     }
57 57
 
@@ -109,13 +109,13 @@  discard block
 block discarded – undo
109 109
         $php_version = phpversion();
110 110
         // Header Sql Comments
111 111
         $ret = $this->getSimpleString("# SQL Dump for {$moduleName} module");
112
-		$ret .= $this->getSimpleString('# PhpMyAdmin Version: 4.0.4');
113
-		$ret .= $this->getSimpleString('# http://www.phpmyadmin.net');
114
-		$ret .= $this->getSimpleString('#');		
115
-		$ret .= $this->getSimpleString("# Host: {$server_name}");
116
-		$ret .= $this->getSimpleString("# Generated on: {$date} to {$time}");
117
-		$ret .= $this->getSimpleString("# Server version: {$server_version}");
118
-		$ret .= $this->getSimpleString("# PHP Version: {$php_version}\n");
112
+        $ret .= $this->getSimpleString('# PhpMyAdmin Version: 4.0.4');
113
+        $ret .= $this->getSimpleString('# http://www.phpmyadmin.net');
114
+        $ret .= $this->getSimpleString('#');		
115
+        $ret .= $this->getSimpleString("# Host: {$server_name}");
116
+        $ret .= $this->getSimpleString("# Generated on: {$date} to {$time}");
117
+        $ret .= $this->getSimpleString("# Server version: {$server_version}");
118
+        $ret .= $this->getSimpleString("# PHP Version: {$php_version}\n");
119 119
 		
120 120
         return $ret;
121 121
     }
@@ -132,9 +132,9 @@  discard block
 block discarded – undo
132 132
     private function getHeadDatabaseTable($moduleDirname, $tableName, $fieldsNumb)
133 133
     {
134 134
         $ret = $this->getSimpleString('#');
135
-		$ret .= $this->getSimpleString("# Structure table for `{$moduleDirname}_{$tableName}` {$fieldsNumb}");
136
-		$ret .= $this->getSimpleString('#');
137
-		$ret .= $this->getSimpleString("\nCREATE TABLE `{$moduleDirname}_{$tableName}` (");
135
+        $ret .= $this->getSimpleString("# Structure table for `{$moduleDirname}_{$tableName}` {$fieldsNumb}");
136
+        $ret .= $this->getSimpleString('#');
137
+        $ret .= $this->getSimpleString("\nCREATE TABLE `{$moduleDirname}_{$tableName}` (");
138 138
 		
139 139
         return $ret;
140 140
     }
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     */
410 410
     private function getComma($row, $comma = null)
411 411
     {
412
-		return "\t\t\t{$row}{$comma}";
412
+        return "\t\t\t{$row}{$comma}";
413 413
     }
414 414
 
415 415
     /*
Please login to merge, or discard this patch.
class/files/user/UserXoopsVersion.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@
 block discarded – undo
536 536
                 $ret .= $this->getSimpleString('++$c;');
537 537
                 $mimetypes = array('name' => "'mimetypes'", 'title' => "'{$language}MIMETYPES'", 'description' => "'{$language}MIMETYPES_DESC'",
538 538
                     'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => "array('image/gif', 'image/jpeg', 'image/png')", 
539
-					'options' => "array('bmp' => 'image/bmp','gif' => 'image/gif','pjpeg' => 'image/pjpeg', 'jpeg' => 'image/jpeg','jpg' => 'image/jpg','jpe' => 'image/jpe', 'png' => 'image/png')");
539
+                    'options' => "array('bmp' => 'image/bmp','gif' => 'image/gif','pjpeg' => 'image/pjpeg', 'jpeg' => 'image/jpeg','jpg' => 'image/jpg','jpe' => 'image/jpe', 'png' => 'image/png')");
540 540
                 $ret .= $this->usercode->getUserModVersion(3, $mimetypes, 'config', '$c');
541 541
                 $ret .= $this->getSimpleString('++$c;');
542 542
             }
Please login to merge, or discard this patch.
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
         $descriptions = array('name' => "{$language}NAME", 'version' => "{$module->getVar('mod_version')}", 'description' => "{$language}DESC",
153 153
                             'author' => "'{$module->getVar('mod_author')}'", 'author_mail' => "'{$module->getVar('mod_author_mail')}'", 'author_website_url' => "'{$module->getVar('mod_author_website_url')}'",
154
-                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'",'credits' => "'{$module->getVar('mod_credits')}'",'license' => "'{$module->getVar('mod_license')}'",
154
+                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'", 'credits' => "'{$module->getVar('mod_credits')}'", 'license' => "'{$module->getVar('mod_license')}'",
155 155
                             'license_url' => "'www.gnu.org/licenses/gpl-2.0.html/'", 'help' => "'page=help'", 'release_info' => "'{$module->getVar('mod_release_info')}'",
156 156
                             'release_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_release_file')}'", 'release_date' => "'{$date}'",
157 157
                             'manual' => "'{$module->getVar('mod_manual')}'", 'manual_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_manual_file')}'",
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                             'demo_site_url' => "'{$module->getVar('mod_demo_site_url')}'", 'demo_site_name' => "'{$module->getVar('mod_demo_site_name')}'", 'support_url' => "'{$module->getVar('mod_support_url')}'",
163 163
                             'support_name' => "'{$module->getVar('mod_support_name')}'", 'module_website_url' => "'{$module->getVar('mod_website_url')}'", 'module_website_name' => "'{$module->getVar('mod_website_name')}'", 'release' => "'{$module->getVar('mod_release')}'", 'module_status' => "'{$module->getVar('mod_status')}'",
164 164
                             'system_menu' => '1', 'hasAdmin' => $ha, 'hasMain' => $hm, 'adminindex' => "'admin/index.php'", 'adminmenu' => "'admin/menu.php'",
165
-                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'", );
165
+                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'",);
166 166
 
167 167
         $ret .= $this->usercode->getUserModVersion(1, $descriptions);
168 168
 
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
         $ret = $this->getCommentLine("{$ucfTableName}");
456 456
         $blocks = array('file' => "'{$tableName}.php'", 'name' => "{$language}{$stuTableName}_BLOCK_{$stuTableSoleName}", 'description' => "{$language}{$stuTableName}_BLOCK_{$stuTableSoleName}_DESC",
457 457
                         'show_func' => "'b_{$moduleDirname}_{$tableName}_show'", 'edit_func' => "'b_{$moduleDirname}_{$tableName}_edit'",
458
-                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'", );
458
+                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'",);
459 459
         $ret .= $this->usercode->getUserModVersion(3, $blocks, 'blocks', '$b');
460 460
         $ret .= $this->getSimpleString('++$b;');
461 461
 
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
             $ret .= $this->xoopscode->getXoopsCodeLoad('xoopseditorhandler');
494 494
             $ret .= $this->xoopscode->getXoopsCodeEqualsOperator('$editorHandler ', 'XoopsEditorHandler::getInstance()');
495 495
             $editor = array('name' => "'{$moduleDirname}_editor_{$rpFieldName}'", 'title' => "'{$language}EDITOR_{$ucfFieldName}'", 'description' => "'{$language}EDITOR_{$ucfFieldName}_DESC'",
496
-                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())', );
496
+                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())',);
497 497
             $ret .= $this->usercode->getUserModVersion(3, $editor, 'config', '$c');
498 498
             $ret .= $this->getSimpleString('++$c;');
499 499
         }
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
             $group = $this->xoopscode->getXoopsCodeEqualsOperator('$groups[$group] ', '$key');
505 505
             $ret .= $this->phpcode->getPhpCodeForeach('xoopsGroups', false, 'key', 'group', $group);
506 506
             $groups = array('name' => "'groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
507
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups', );
507
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups',);
508 508
             $ret .= $this->usercode->getUserModVersion(3, $groups, 'config', '$c');
509 509
             $ret .= $this->getSimpleString('++$c;');
510 510
             $ret .= $this->getCommentLine('Get Admin groups');
@@ -515,14 +515,14 @@  discard block
 block discarded – undo
515 515
             $adminGroup = $this->xoopscode->getXoopsCodeEqualsOperator('$adminGroups[$adminGroup] ', '$key');
516 516
             $ret .= $this->phpcode->getPhpCodeForeach('adminXoopsGroups', false, 'key', 'adminGroup', $adminGroup);
517 517
             $adminGroups = array('name' => "'admin_groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
518
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups', );
518
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups',);
519 519
             $ret .= $this->usercode->getUserModVersion(3, $adminGroups, 'config', '$c');
520 520
             $ret .= $this->getSimpleString('++$c;');
521 521
         }
522 522
         $keyword = implode(', ', $this->getKeywords());
523 523
         $ret .= $this->getCommentLine('Keywords');
524 524
         $arrayKeyword = array('name' => "'keywords'", 'title' => "'{$language}KEYWORDS'", 'description' => "'{$language}KEYWORDS_DESC'",
525
-                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'", );
525
+                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'",);
526 526
         $ret .= $this->usercode->getUserModVersion(3, $arrayKeyword, 'config', '$c');
527 527
         $ret .= $this->getSimpleString('++$c;');
528 528
         unset($this->keywords);
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
             if (in_array(array(10, 11, 12, 13, 14), $fieldElement)) {
531 531
                 $ret .= $this->getCommentLine('Uploads : maxsize of image');
532 532
                 $maxsize = array('name' => "'maxsize'", 'title' => "'{$language}MAXSIZE'", 'description' => "'{$language}MAXSIZE_DESC'",
533
-                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000', );
533
+                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000',);
534 534
                 $ret .= $this->usercode->getUserModVersion(3, $maxsize, 'config', '$c');
535 535
                 $ret .= $this->getCommentLine('Uploads : mimetypes of image');
536 536
                 $ret .= $this->getSimpleString('++$c;');
@@ -543,68 +543,68 @@  discard block
 block discarded – undo
543 543
             if (1 == $table->getVar('table_admin')) {
544 544
                 $ret .= $this->getCommentLine('Admin pager');
545 545
                 $adminPager = array('name' => "'adminpager'", 'title' => "'{$language}ADMIN_PAGER'", 'description' => "'{$language}ADMIN_PAGER_DESC'",
546
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
546
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
547 547
                 $ret .= $this->usercode->getUserModVersion(3, $adminPager, 'config', '$c');
548 548
                 $ret .= $this->getSimpleString('++$c;');
549 549
             }
550 550
             if (1 == $table->getVar('table_user')) {
551 551
                 $ret .= $this->getCommentLine('User pager');
552 552
                 $userPager = array('name' => "'userpager'", 'title' => "'{$language}USER_PAGER'", 'description' => "'{$language}USER_PAGER_DESC'",
553
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
553
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
554 554
                 $ret .= $this->usercode->getUserModVersion(3, $userPager, 'config', '$c');
555 555
                 $ret .= $this->getSimpleString('++$c;');
556 556
             }
557 557
             if (1 == $table->getVar('table_tag')) {
558 558
                 $ret .= $this->getCommentLine('Use tag');
559 559
                 $useTag = array('name' => "'usetag'", 'title' => "'{$language}USE_TAG'", 'description' => "'{$language}USE_TAG_DESC'",
560
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
560
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
561 561
                 $ret .= $this->usercode->getUserModVersion(3, $useTag, 'config', '$c');
562 562
                 $ret .= $this->getSimpleString('++$c;');
563 563
             }
564 564
         }
565 565
         $ret .= $this->getCommentLine('Number column');
566 566
         $numbCol = array('name' => "'numb_col'", 'title' => "'{$language}NUMB_COL'", 'description' => "'{$language}NUMB_COL_DESC'",
567
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
567
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
568 568
         $ret .= $this->usercode->getUserModVersion(3, $numbCol, 'config', '$c');
569 569
         $ret .= $this->getSimpleString('++$c;');
570 570
         $ret .= $this->getCommentLine('Divide by');
571 571
         $divideby = array('name' => "'divideby'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
572
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
572
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
573 573
         $ret .= $this->usercode->getUserModVersion(3, $divideby, 'config', '$c');
574 574
         $ret .= $this->getSimpleString('++$c;');
575 575
         $ret .= $this->getCommentLine('Table type');
576 576
         $tableType = array('name' => "'table_type'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
577
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')", );
577
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')",);
578 578
         $ret .= $this->usercode->getUserModVersion(3, $tableType, 'config', '$c');
579 579
         $ret .= $this->getSimpleString('++$c;');
580 580
         $ret .= $this->getCommentLine('Panel by');
581 581
         $panelType = array('name' => "'panel_type'", 'title' => "'{$language}PANEL_TYPE'", 'description' => "'{$language}PANEL_TYPE_DESC'",
582
-                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')", );
582
+                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')",);
583 583
         $ret .= $this->usercode->getUserModVersion(3, $panelType, 'config', '$c');
584 584
         $ret .= $this->getSimpleString('++$c;');
585 585
         $ret .= $this->getCommentLine('Panel by');
586 586
         $advertise = array('name' => "'advertise'", 'title' => "'{$language}ADVERTISE'", 'description' => "'{$language}ADVERTISE_DESC'",
587
-                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''", );
587
+                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''",);
588 588
         $ret .= $this->usercode->getUserModVersion(3, $advertise, 'config', '$c');
589 589
         $ret .= $this->getSimpleString('++$c;');
590 590
         $ret .= $this->getCommentLine('Panel by');
591 591
         $bookmarks = array('name' => "'bookmarks'", 'title' => "'{$language}BOOKMARKS'", 'description' => "'{$language}BOOKMARKS_DESC'",
592
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
592
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
593 593
         $ret .= $this->usercode->getUserModVersion(3, $bookmarks, 'config', '$c');
594 594
         $ret .= $this->getSimpleString('++$c;');
595 595
         $ret .= $this->getCommentLine('Facebook Comments');
596 596
         $facebookComments = array('name' => "'facebook_comments'", 'title' => "'{$language}FACEBOOK_COMMENTS'", 'description' => "'{$language}FACEBOOK_COMMENTS_DESC'",
597
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
597
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
598 598
         $ret .= $this->usercode->getUserModVersion(3, $facebookComments, 'config', '$c');
599 599
         $ret .= $this->getSimpleString('++$c;');
600 600
         $ret .= $this->getCommentLine('Disqus Comments');
601 601
         $disqusComments = array('name' => "'disqus_comments'", 'title' => "'{$language}DISQUS_COMMENTS'", 'description' => "'{$language}DISQUS_COMMENTS_DESC'",
602
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
602
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
603 603
         $ret .= $this->usercode->getUserModVersion(3, $disqusComments, 'config', '$c');
604 604
         $ret .= $this->getSimpleString('++$c;');
605 605
         $ret .= $this->getCommentLine('Maintained by');
606 606
         $maintainedby = array('name' => "'maintainedby'", 'title' => "'{$language}MAINTAINEDBY'", 'description' => "'{$language}MAINTAINEDBY_DESC'",
607
-                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$module->getVar('mod_support_url')}'", );
607
+                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$module->getVar('mod_support_url')}'",);
608 608
         $ret .= $this->usercode->getUserModVersion(3, $maintainedby, 'config', '$c');
609 609
         $ret .= $this->getSimpleString('unset($c);');
610 610
 
@@ -640,14 +640,14 @@  discard block
 block discarded – undo
640 640
             case 'category':
641 641
                 $ret .= $this->getCommentLine('Category Notify');
642 642
                 $category = array('name' => "'category'", 'title' => "'{$language}{$stuTableName}_NOTIFY'", 'description' => "'{$language}{$stuTableName}_NOTIFY_DESC'",
643
-                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1', );
643
+                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1',);
644 644
                 $ret .= $this->usercode->getUserModVersion(3, $category, 'notification', "'{$type}'");
645 645
                 break;
646 646
             case 'event':
647 647
                 $ret .= $this->getCommentLine('Event Notify');
648 648
                 $event = array('name' => "'{$typeOfNotify}'", 'category' => "'{$tableName}'", 'admin_only' => '1', "'title'" => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY'",
649 649
                                 'caption' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_CAPTION'", 'description' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_DESC'",
650
-                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'", );
650
+                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'",);
651 651
                 $ret .= $this->usercode->getUserModVersion(3, $event, 'notification', "'{$type}'");
652 652
                 break;
653 653
         }
@@ -766,7 +766,7 @@  discard block
 block discarded – undo
766 766
         $implodeFrom = implode(".php', '", $from);
767 767
         $ret = $this->getCommentLine('Global Notify');
768 768
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
769
-                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')", );
769
+                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')",);
770 770
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
771 771
 
772 772
         return $ret;
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
         $impFile = implode(".php', '", $file);
791 791
         $ret = $this->getCommentLine('Category Notify');
792 792
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
793
-                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
793
+                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
794 794
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
795 795
 
796 796
         return $ret;
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
         $ucfTitle = ucfirst($title);
817 817
         $ret = $this->getCommentLine($ucfTitle.' Notify');
818 818
         $table = array('name' => "'{$name}'", 'title' => "{$language}{$stuTitle}_NOTIFY", 'description' => "{$language}{$stuTitle}_NOTIFY_DESC",
819
-                        'subscribe_from' => "'{$file}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
819
+                        'subscribe_from' => "'{$file}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
820 820
         $ret .= $this->usercode->getUserModVersion(4, $table, 'notification', "'{$type}'", $num);
821 821
 
822 822
         return $ret;
@@ -844,7 +844,7 @@  discard block
 block discarded – undo
844 844
         $ret = $this->getCommentLine($ucfTitle.' Notify');
845 845
         $event = array('name' => "'{$name}'", 'category' => "'{$category}'", 'admin_only' => "{$admin}", 'title' => "{$language}{$title}_{$table}_NOTIFY",
846 846
                         'caption' => "{$language}{$title}_{$table}_NOTIFY_CAPTION", 'description' => "{$language}{$title}_{$table}_NOTIFY_DESC",
847
-                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT", );
847
+                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT",);
848 848
         $ret .= $this->usercode->getUserModVersion(4, $event, 'notification', "'{$type}'", $num);
849 849
 
850 850
         return $ret;
Please login to merge, or discard this patch.