Code Duplication    Length = 7-7 lines in 3 locations

class/files/user/UserXoopsVersion.php 3 locations

@@ 527-533 (lines=7) @@
524
                $ret .= $this->usercode->getUserModVersion(3, $mimetypes, 'config', '$c');
525
                $ret .= $this->getSimpleString('++$c;');
526
            }
527
            if (1 == $table->getVar('table_admin')) {
528
                $ret .= $this->getCommentLine('Admin pager');
529
                $adminPager = array('name' => "'adminpager'", 'title' => "'{$language}ADMIN_PAGER'", 'description' => "'{$language}ADMIN_PAGER_DESC'",
530
                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
531
                $ret .= $this->usercode->getUserModVersion(3, $adminPager, 'config', '$c');
532
                $ret .= $this->getSimpleString('++$c;');
533
            }
534
            if (1 == $table->getVar('table_user')) {
535
                $ret .= $this->getCommentLine('User pager');
536
                $userPager = array('name' => "'userpager'", 'title' => "'{$language}USER_PAGER'", 'description' => "'{$language}USER_PAGER_DESC'",
@@ 534-540 (lines=7) @@
531
                $ret .= $this->usercode->getUserModVersion(3, $adminPager, 'config', '$c');
532
                $ret .= $this->getSimpleString('++$c;');
533
            }
534
            if (1 == $table->getVar('table_user')) {
535
                $ret .= $this->getCommentLine('User pager');
536
                $userPager = array('name' => "'userpager'", 'title' => "'{$language}USER_PAGER'", 'description' => "'{$language}USER_PAGER_DESC'",
537
                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
538
                $ret .= $this->usercode->getUserModVersion(3, $userPager, 'config', '$c');
539
                $ret .= $this->getSimpleString('++$c;');
540
            }
541
            if (1 == $table->getVar('table_tag')) {
542
                $ret .= $this->getCommentLine('Use tag');
543
                $useTag = array('name' => "'usetag'", 'title' => "'{$language}USE_TAG'", 'description' => "'{$language}USE_TAG_DESC'",
@@ 541-547 (lines=7) @@
538
                $ret .= $this->usercode->getUserModVersion(3, $userPager, 'config', '$c');
539
                $ret .= $this->getSimpleString('++$c;');
540
            }
541
            if (1 == $table->getVar('table_tag')) {
542
                $ret .= $this->getCommentLine('Use tag');
543
                $useTag = array('name' => "'usetag'", 'title' => "'{$language}USE_TAG'", 'description' => "'{$language}USE_TAG_DESC'",
544
                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
545
                $ret .= $this->usercode->getUserModVersion(3, $useTag, 'config', '$c');
546
                $ret .= $this->getSimpleString('++$c;');
547
            }
548
        }
549
        $ret .= $this->getCommentLine('Number column');
550
        $numbCol = array('name' => "'numb_col'", 'title' => "'{$language}NUMB_COL'", 'description' => "'{$language}NUMB_COL_DESC'",