Completed
Push — master ( d3bebc...707f25 )
by Gino
07:45 queued 03:49
created
class/files/classes/ClassFormElements.php 1 patch
Doc Comments   +17 added lines, -16 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     *  @param string $required
82 82
     */
83 83
     /**
84
-     * @param $language
84
+     * @param string $language
85 85
      * @param $fieldName
86 86
      * @param $required
87 87
      *
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     *  @param string $required
115 115
     */
116 116
     /**
117
-     * @param        $language
117
+     * @param        string $language
118 118
      * @param        $fieldName
119 119
      * @param string $required
120 120
      *
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     *  @param string $required
139 139
     */
140 140
     /**
141
-     * @param        $language
141
+     * @param        string $language
142 142
      * @param        $moduleDirname
143 143
      * @param        $fieldName
144 144
      * @param string $required
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     *  @param string $required
172 172
     */
173 173
     /**
174
-     * @param        $language
174
+     * @param        string $language
175 175
      * @param        $fieldName
176 176
      * @param string $required
177 177
      *
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     *  @param string $required
235 235
     */
236 236
     /**
237
-     * @param        $language
237
+     * @param        string $language
238 238
      * @param        $moduleDirname
239 239
      * @param        $tableName
240 240
      * @param        $tableSoleName
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     *  @param string $required
287 287
     */
288 288
     /**
289
-     * @param        $language
289
+     * @param        string $language
290 290
      * @param        $moduleDirname
291 291
      * @param        $fieldName
292 292
      * @param        $fieldElement
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
     *  @param string $required
337 337
     */
338 338
     /**
339
-     * @param        $language
339
+     * @param        string $language
340 340
      * @param        $moduleDirname
341 341
      * @param        $fieldName
342 342
      * @param        $fieldDefault
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     *  @param string $required
369 369
     */
370 370
     /**
371
-     * @param        $language
371
+     * @param        string $language
372 372
      * @param        $moduleDirname
373 373
      * @param        $tableName
374 374
      * @param string $required
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     *  @param string $required
418 418
     */
419 419
     /**
420
-     * @param        $language
420
+     * @param        string $language
421 421
      * @param        $moduleDirname
422 422
      * @param        $tableName
423 423
      * @param        $fieldName
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
     *  @param string $required
444 444
     */
445 445
     /**
446
-     * @param        $language
446
+     * @param        string $language
447 447
      * @param        $moduleDirname
448 448
      * @param        $fieldName
449 449
      * @param string $required
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
     *  @param string $required
469 469
     */
470 470
     /**
471
-     * @param $language
471
+     * @param string $language
472 472
      * @param $moduleDirname
473 473
      * @param $tableName
474 474
      * @param $fieldName
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     *  @param string $required
501 501
     */
502 502
     /**
503
-     * @param        $language
503
+     * @param        string $language
504 504
      * @param        $fieldName
505 505
      * @param string $required
506 506
      *
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
     *  @param string $required
524 524
     */
525 525
     /**
526
-     * @param        $language
526
+     * @param        string $language
527 527
      * @param        $fieldName
528 528
      * @param string $required
529 529
      *
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
     *  @param string $required
549 549
     */
550 550
     /**
551
-     * @param        $language
551
+     * @param        string $language
552 552
      * @param        $moduleDirname
553 553
      * @param        $fieldName
554 554
      * @param string $required
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
     *  @param string $required
575 575
     */
576 576
     /**
577
-     * @param        $language
577
+     * @param        string $language
578 578
      * @param        $moduleDirname
579 579
      * @param        $tableName
580 580
      * @param        $fieldName
@@ -611,11 +611,12 @@  discard block
 block discarded – undo
611 611
     *  @param string $required
612 612
     */
613 613
     /**
614
-     * @param        $language
614
+     * @param        string $language
615 615
      * @param        $moduleDirname
616 616
      * @param        $table
617 617
      * @param        $fields
618 618
      * @param string $required
619
+     * @param string $topicTableName
619 620
      *
620 621
      * @return string
621 622
      */
Please login to merge, or discard this patch.
class/files/user/UserXoopsVersion.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $descriptions = array('name' => "{$language}NAME", 'version' => "{$module->getVar('mod_version')}", 'description' => "{$language}DESC",
154 154
                             'author' => "'{$module->getVar('mod_author')}'", 'author_mail' => "'{$module->getVar('mod_author_mail')}'", 'author_website_url' => "'{$module->getVar('mod_author_website_url')}'",
155
-                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'",'credits' => "'{$module->getVar('mod_credits')}'",'license' => "'{$module->getVar('mod_license')}'",
155
+                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'", 'credits' => "'{$module->getVar('mod_credits')}'", 'license' => "'{$module->getVar('mod_license')}'",
156 156
                             'license_url' => "'www.gnu.org/licenses/gpl-2.0.html/'", 'help' => "'page=help'", 'release_info' => "'{$module->getVar('mod_release_info')}'",
157 157
                             'release_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_release_file')}'", 'release_date' => "'{$date}'",
158 158
                             'manual' => "'{$module->getVar('mod_manual')}'", 'manual_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_manual_file')}'",
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                             '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')}'",
164 164
                             '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')}'",
165 165
                             'system_menu' => '1', 'hasAdmin' => $ha, 'hasMain' => $hm, 'adminindex' => "'admin/index.php'", 'adminmenu' => "'admin/menu.php'",
166
-                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'", );
166
+                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'",);
167 167
 
168 168
         $ret .= $this->usercode->getUserModVersion(1, $descriptions);
169 169
 
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
         $ret = $this->getCommentLine("{$ucfType}");
454 454
         $blocks = array('file' => "'{$tableName}.php'", 'name' => "{$language}{$stuTableName}_BLOCK_{$stuType}", 'description' => "{$language}{$stuTableName}_BLOCK_{$stuType}_DESC",
455 455
                         'show_func' => "'b_{$moduleDirname}_{$tableName}_show'", 'edit_func' => "'b_{$moduleDirname}_{$tableName}_edit'",
456
-                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'", );
456
+                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'",);
457 457
         $ret .= $this->usercode->getUserModVersion(3, $blocks, 'blocks', '$b');
458 458
         $ret .= $this->getSimpleString('++$b;');
459 459
 
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
             $ret .= $this->xoopscode->getXoopsCodeLoad('xoopseditorhandler');
492 492
             $ret .= $this->xoopscode->getXoopsCodeEqualsOperator('editorHandler ', 'XoopsEditorHandler::getInstance()');
493 493
             $editor = array('name' => "'{$moduleDirname}_editor_{$rpFieldName}'", 'title' => "'{$language}EDITOR_{$ucfFieldName}'", 'description' => "'{$language}EDITOR_{$ucfFieldName}_DESC'",
494
-                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())', );
494
+                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())',);
495 495
             $ret .= $this->usercode->getUserModVersion(3, $editor, 'config', '$c');
496 496
             $ret .= $this->getSimpleString('++$c;');
497 497
         }
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
             $group = $this->xoopscode->getXoopsCodeEqualsOperator('$groups[$group] ', '$key');
503 503
             $ret .= $this->phpcode->getPhpCodeForeach('xoopsGroups', false, 'key', 'group', $group);
504 504
             $groups = array('name' => "'groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
505
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups', );
505
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups',);
506 506
             $ret .= $this->usercode->getUserModVersion(3, $groups, 'config', '$c');
507 507
             $ret .= $this->getSimpleString('++$c;');
508 508
             $ret .= $this->getCommentLine('Get Admin groups');
@@ -513,14 +513,14 @@  discard block
 block discarded – undo
513 513
             $adminGroup = $this->xoopscode->getXoopsCodeEqualsOperator('$adminGroups[$adminGroup] ', '$key');
514 514
             $ret .= $this->phpcode->getPhpCodeForeach('adminXoopsGroups', false, 'key', 'adminGroup', $adminGroup);
515 515
             $adminGroups = array('name' => "'admin_groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
516
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups', );
516
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups',);
517 517
             $ret .= $this->usercode->getUserModVersion(3, $adminGroups, 'config', '$c');
518 518
             $ret .= $this->getSimpleString('++$c;');
519 519
         }
520 520
         $keyword = implode(', ', $this->getKeywords());
521 521
         $ret .= $this->getCommentLine('Keywords');
522 522
         $arrayKeyword = array('name' => "'keywords'", 'title' => "'{$language}KEYWORDS'", 'description' => "'{$language}KEYWORDS_DESC'",
523
-                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'", );
523
+                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'",);
524 524
         $ret .= $this->usercode->getUserModVersion(3, $arrayKeyword, 'config', '$c');
525 525
         $ret .= $this->getSimpleString('++$c;');
526 526
         unset($this->keywords);
@@ -528,82 +528,82 @@  discard block
 block discarded – undo
528 528
             if (in_array(array(10, 11, 12, 13, 14), $fieldElement)) {
529 529
                 $ret .= $this->getCommentLine('Uploads : maxsize of image');
530 530
                 $maxsize = array('name' => "'maxsize'", 'title' => "'{$language}MAXSIZE'", 'description' => "'{$language}MAXSIZE_DESC'",
531
-                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000', );
531
+                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000',);
532 532
                 $ret .= $this->usercode->getUserModVersion(3, $maxsize, 'config', '$c');
533 533
                 $ret .= $this->getCommentLine('Uploads : mimetypes of image');
534 534
                 $ret .= $this->getSimpleString('++$c;');
535 535
                 $mimetypes = array('name' => "'mimetypes'", 'title' => "'{$language}MIMETYPES'", 'description' => "'{$language}MIMETYPES_DESC'",
536 536
                     'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => "array('image/gif', 'image/jpeg', 'image/png')", 'options' => "array('bmp' => 'image/bmp','gif' => 'image/gif','pjpeg' => 'image/pjpeg',
537 537
 				   'jpeg' => 'image/jpeg','jpg' => 'image/jpg','jpe' => 'image/jpe',
538
-				   'png' => 'image/png')", );
538
+				   'png' => 'image/png')",);
539 539
                 $ret .= $this->usercode->getUserModVersion(3, $mimetypes, 'config', '$c');
540 540
                 $ret .= $this->getSimpleString('++$c;');
541 541
             }
542 542
             if (1 == $table->getVar('table_admin')) {
543 543
                 $ret .= $this->getCommentLine('Admin pager');
544 544
                 $adminPager = array('name' => "'adminpager'", 'title' => "'{$language}ADMIN_PAGER'", 'description' => "'{$language}ADMIN_PAGER_DESC'",
545
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
545
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
546 546
                 $ret .= $this->usercode->getUserModVersion(3, $adminPager, 'config', '$c');
547 547
                 $ret .= $this->getSimpleString('++$c;');
548 548
             }
549 549
             if (1 == $table->getVar('table_user')) {
550 550
                 $ret .= $this->getCommentLine('User pager');
551 551
                 $userPager = array('name' => "'userpager'", 'title' => "'{$language}USER_PAGER'", 'description' => "'{$language}USER_PAGER_DESC'",
552
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
552
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
553 553
                 $ret .= $this->usercode->getUserModVersion(3, $userPager, 'config', '$c');
554 554
                 $ret .= $this->getSimpleString('++$c;');
555 555
             }
556 556
             if (1 == $table->getVar('table_tag')) {
557 557
                 $ret .= $this->getCommentLine('Use tag');
558 558
                 $useTag = array('name' => "'usetag'", 'title' => "'{$language}USE_TAG'", 'description' => "'{$language}USE_TAG_DESC'",
559
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
559
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
560 560
                 $ret .= $this->usercode->getUserModVersion(3, $useTag, 'config', '$c');
561 561
                 $ret .= $this->getSimpleString('++$c;');
562 562
             }
563 563
         }
564 564
         $ret .= $this->getCommentLine('Number column');
565 565
         $numbCol = array('name' => "'numb_col'", 'title' => "'{$language}NUMB_COL'", 'description' => "'{$language}NUMB_COL_DESC'",
566
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
566
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
567 567
         $ret .= $this->usercode->getUserModVersion(3, $numbCol, 'config', '$c');
568 568
         $ret .= $this->getSimpleString('++$c;');
569 569
         $ret .= $this->getCommentLine('Divide by');
570 570
         $divideby = array('name' => "'divideby'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
571
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
571
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
572 572
         $ret .= $this->usercode->getUserModVersion(3, $divideby, 'config', '$c');
573 573
         $ret .= $this->getSimpleString('++$c;');
574 574
         $ret .= $this->getCommentLine('Table type');
575 575
         $tableType = array('name' => "'table_type'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
576
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')", );
576
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')",);
577 577
         $ret .= $this->usercode->getUserModVersion(3, $tableType, 'config', '$c');
578 578
         $ret .= $this->getSimpleString('++$c;');
579 579
         $ret .= $this->getCommentLine('Panel by');
580 580
         $panelType = array('name' => "'panel_type'", 'title' => "'{$language}PANEL_TYPE'", 'description' => "'{$language}PANEL_TYPE_DESC'",
581
-                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')", );
581
+                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')",);
582 582
         $ret .= $this->usercode->getUserModVersion(3, $panelType, 'config', '$c');
583 583
         $ret .= $this->getSimpleString('++$c;');
584 584
         $ret .= $this->getCommentLine('Panel by');
585 585
         $advertise = array('name' => "'advertise'", 'title' => "'{$language}ADVERTISE'", 'description' => "'{$language}ADVERTISE_DESC'",
586
-                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''", );
586
+                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''",);
587 587
         $ret .= $this->usercode->getUserModVersion(3, $advertise, 'config', '$c');
588 588
         $ret .= $this->getSimpleString('++$c;');
589 589
         $ret .= $this->getCommentLine('Panel by');
590 590
         $bookmarks = array('name' => "'bookmarks'", 'title' => "'{$language}BOOKMARKS'", 'description' => "'{$language}BOOKMARKS_DESC'",
591
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
591
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
592 592
         $ret .= $this->usercode->getUserModVersion(3, $bookmarks, 'config', '$c');
593 593
         $ret .= $this->getSimpleString('++$c;');
594 594
         $ret .= $this->getCommentLine('Facebook Comments');
595 595
         $facebookComments = array('name' => "'facebook_comments'", 'title' => "'{$language}FACEBOOK_COMMENTS'", 'description' => "'{$language}FACEBOOK_COMMENTS_DESC'",
596
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
596
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
597 597
         $ret .= $this->usercode->getUserModVersion(3, $facebookComments, 'config', '$c');
598 598
         $ret .= $this->getSimpleString('++$c;');
599 599
         $ret .= $this->getCommentLine('Disqus Comments');
600 600
         $disqusComments = array('name' => "'disqus_comments'", 'title' => "'{$language}DISQUS_COMMENTS'", 'description' => "'{$language}DISQUS_COMMENTS_DESC'",
601
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
601
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
602 602
         $ret .= $this->usercode->getUserModVersion(3, $disqusComments, 'config', '$c');
603 603
         $ret .= $this->getSimpleString('++$c;');
604 604
         $ret .= $this->getCommentLine('Maintained by');
605 605
         $maintainedby = array('name' => "'maintainedby'", 'title' => "'{$language}MAINTAINEDBY'", 'description' => "'{$language}MAINTAINEDBY_DESC'",
606
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => "'{$module->getVar('mod_support_url')}'", );
606
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => "'{$module->getVar('mod_support_url')}'",);
607 607
         $ret .= $this->usercode->getUserModVersion(3, $maintainedby, 'config', '$c');
608 608
         $ret .= $this->getSimpleString('unset($c);');
609 609
 
@@ -639,14 +639,14 @@  discard block
 block discarded – undo
639 639
             case 'category':
640 640
                 $ret .= $this->getCommentLine('Category Notify');
641 641
                 $category = array('name' => "'category'", 'title' => "'{$language}{$stuTableName}_NOTIFY'", 'description' => "'{$language}{$stuTableName}_NOTIFY_DESC'",
642
-                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1', );
642
+                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1',);
643 643
                 $ret .= $this->usercode->getUserModVersion(3, $category, 'notification', "'{$type}'");
644 644
                 break;
645 645
             case 'event':
646 646
                 $ret .= $this->getCommentLine('Event Notify');
647 647
                 $event = array('name' => "'{$typeOfNotify}'", 'category' => "'{$tableName}'", 'admin_only' => '1', "'title'" => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY'",
648 648
                                 'caption' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_CAPTION'", 'description' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_DESC'",
649
-                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'", );
649
+                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'",);
650 650
                 $ret .= $this->usercode->getUserModVersion(3, $event, 'notification', "'{$type}'");
651 651
                 break;
652 652
         }
@@ -765,7 +765,7 @@  discard block
 block discarded – undo
765 765
         $implodeFrom = implode(".php', '", $from);
766 766
         $ret = $this->getCommentLine('Global Notify');
767 767
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
768
-                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')", );
768
+                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')",);
769 769
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
770 770
 
771 771
         return $ret;
@@ -789,7 +789,7 @@  discard block
 block discarded – undo
789 789
         $impFile = implode(".php', '", $file);
790 790
         $ret = $this->getCommentLine('Category Notify');
791 791
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
792
-                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
792
+                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
793 793
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
794 794
 
795 795
         return $ret;
@@ -815,7 +815,7 @@  discard block
 block discarded – undo
815 815
         $ucfTitle = ucfirst($title);
816 816
         $ret = $this->getCommentLine($ucfTitle.' Notify');
817 817
         $table = array('name' => "'{$name}'", 'title' => "{$language}{$stuTitle}_NOTIFY", 'description' => "{$language}{$stuTitle}_NOTIFY_DESC",
818
-                        'subscribe_from' => "'{$file}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
818
+                        'subscribe_from' => "'{$file}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
819 819
         $ret .= $this->usercode->getUserModVersion(4, $table, 'notification', "'{$type}'", $num);
820 820
 
821 821
         return $ret;
@@ -843,7 +843,7 @@  discard block
 block discarded – undo
843 843
         $ret = $this->getCommentLine($ucfTitle.' Notify');
844 844
         $event = array('name' => "'{$name}'", 'category' => "'{$category}'", 'admin_only' => "{$admin}", 'title' => "{$language}{$title}_{$table}_NOTIFY",
845 845
                         'caption' => "{$language}{$title}_{$table}_NOTIFY_CAPTION", 'description' => "{$language}{$title}_{$table}_NOTIFY_DESC",
846
-                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT", );
846
+                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT",);
847 847
         $ret .= $this->usercode->getUserModVersion(4, $event, 'notification', "'{$type}'", $num);
848 848
 
849 849
         return $ret;
Please login to merge, or discard this patch.