mambax7/extgallery

View on GitHub
admin/slideshow.php

Summary

Maintainability
F
3 wks
Test Coverage

File slideshow.php has 853 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * ExtGallery Admin settings
 * Manage admin pages
 *
Severity: Major
Found in admin/slideshow.php - About 2 days to fix

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_panelheight', 'POST')) {
                if ($helper->getConfig('galleryview_panelheight') != $_POST['galleryview_panelheight']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_panelheight'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_opacity', 'POST')) {
                if ($helper->getConfig('galleryview_opacity') != $_POST['galleryview_opacity']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_opacity'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_borderwidth', 'POST')) {
                if ($helper->getConfig('galleryview_borderwidth') != $_POST['galleryview_borderwidth']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_borderwidth'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_panelwidth', 'POST')) {
                if ($helper->getConfig('galleryview_panelwidth') != $_POST['galleryview_panelwidth']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_panelwidth'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_overlayheight', 'POST')) {
                if ($helper->getConfig('galleryview_overlayheight') != $_POST['galleryview_overlayheight']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_overlayheight'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_panelwidth', 'POST')) {
                if ($helper->getConfig('galleria_panelwidth') != $_POST['galleria_panelwidth']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_panelwidth'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_width', 'POST')) {
                if ($helper->getConfig('galleriffic_width') != $_POST['galleriffic_width']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_width'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_bgcolor', 'POST')) {
                if ($helper->getConfig('galleryview_bgcolor') != $_POST['galleryview_bgcolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_bgcolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_tspeed', 'POST')) {
                if ($helper->getConfig('galleryview_tspeed') != $_POST['galleryview_tspeed']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_tspeed'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_autoplay', 'POST')) {
                if ($helper->getConfig('galleria_autoplay') != $_POST['galleria_autoplay']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_autoplay'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_navtheme', 'POST')) {
                if ($helper->getConfig('galleryview_navtheme') != $_POST['galleryview_navtheme']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_navtheme'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_overlayfs', 'POST')) {
                if ($helper->getConfig('galleryview_overlayfs') != $_POST['galleryview_overlayfs']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_overlayfs'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_bgcolor', 'POST')) {
                if ($helper->getConfig('galleria_bgcolor') != $_POST['galleria_bgcolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_bgcolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_bcolor', 'POST')) {
                if ($helper->getConfig('galleria_bcolor') != $_POST['galleria_bcolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_bcolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_height', 'POST')) {
                if ($helper->getConfig('galleriffic_height') != $_POST['galleriffic_height']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_height'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_frameheight', 'POST')) {
                if ($helper->getConfig('galleryview_frameheight') != $_POST['galleryview_frameheight']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_frameheight'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_tterval', 'POST')) {
                if ($helper->getConfig('galleryview_tterval') != $_POST['galleryview_tterval']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_tterval'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_framewidth', 'POST')) {
                if ($helper->getConfig('galleryview_framewidth') != $_POST['galleryview_framewidth']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_framewidth'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_bordercolor', 'POST')) {
                if ($helper->getConfig('galleryview_bordercolor') != $_POST['galleryview_bordercolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_bordercolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_bgcolor', 'POST')) {
                if ($helper->getConfig('galleriffic_bgcolor') != $_POST['galleriffic_bgcolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_bgcolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_easing', 'POST')) {
                if ($helper->getConfig('galleryview_easing') != $_POST['galleryview_easing']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_easing'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_bordercolor', 'POST')) {
                if ($helper->getConfig('galleriffic_bordercolor') != $_POST['galleriffic_bordercolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_bordercolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_overlaytc', 'POST')) {
                if ($helper->getConfig('galleryview_overlaytc') != $_POST['galleryview_overlaytc']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_overlaytc'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_position', 'POST')) {
                if ($helper->getConfig('galleryview_position') != $_POST['galleryview_position']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_position'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_tspeed', 'POST')) {
                if ($helper->getConfig('galleria_tspeed') != $_POST['galleria_tspeed']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_tspeed'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_height', 'POST')) {
                if ($helper->getConfig('galleria_height') != $_POST['galleria_height']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_height'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_bgimg', 'POST')) {
                if ($helper->getConfig('galleria_bgimg') != $_POST['galleria_bgimg']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_bgimg'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_overlaycolor', 'POST')) {
                if ($helper->getConfig('galleryview_overlaycolor') != $_POST['galleryview_overlaycolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_overlaycolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleryview_captiontc', 'POST')) {
                if ($helper->getConfig('galleryview_captiontc') != $_POST['galleryview_captiontc']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleryview_captiontc'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleria_transition', 'POST')) {
                if ($helper->getConfig('galleria_transition') != $_POST['galleria_transition']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleria_transition'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_show_descr', 'POST')) {
                if ($helper->getConfig('galleriffic_show_descr') != $_POST['galleriffic_show_descr']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_show_descr'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_autoplay', 'POST')) {
                if ($helper->getConfig('galleriffic_autoplay') != $_POST['galleriffic_autoplay']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_autoplay'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_fontcolor', 'POST')) {
                if ($helper->getConfig('galleriffic_fontcolor') != $_POST['galleriffic_fontcolor']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_fontcolor'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_nb_colthumbs', 'POST')) {
                if ($helper->getConfig('galleriffic_nb_colthumbs') != $_POST['galleriffic_nb_colthumbs']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_nb_colthumbs'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_tdelay', 'POST')) {
                if ($helper->getConfig('galleriffic_tdelay') != $_POST['galleriffic_tdelay']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_tdelay'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_download', 'POST')) {
                if ($helper->getConfig('galleriffic_download') != $_POST['galleriffic_download']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_download'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_nb_thumbs', 'POST')) {
                if ($helper->getConfig('galleriffic_nb_thumbs') != $_POST['galleriffic_nb_thumbs']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_nb_thumbs'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_tspeed', 'POST')) {
                if ($helper->getConfig('galleriffic_tspeed') != $_POST['galleriffic_tspeed']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_tspeed'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 739..757
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 55 locations. Consider refactoring.
    Open

            if (Request::hasVar('galleriffic_nb_preload', 'POST')) {
                if ($helper->getConfig('galleriffic_nb_preload') != $_POST['galleriffic_nb_preload']) {
                    $criteria = new \CriteriaCompo();
                    $criteria->add($moduleIdCriteria);
                    $criteria->add(new \Criteria('conf_name', 'galleriffic_nb_preload'));
    Severity: Major
    Found in admin/slideshow.php and 54 other locations - About 4 hrs to fix
    admin/album.php on lines 39..58
    admin/album.php on lines 60..79
    admin/album.php on lines 81..100
    admin/album.php on lines 128..147
    admin/album.php on lines 153..172
    admin/album.php on lines 174..193
    admin/album.php on lines 205..224
    admin/album.php on lines 226..245
    admin/album.php on lines 247..266
    admin/album.php on lines 268..287
    admin/album.php on lines 289..308
    admin/album.php on lines 310..329
    admin/album.php on lines 341..359
    admin/album.php on lines 361..379
    admin/album.php on lines 381..399
    admin/album.php on lines 401..419
    admin/slideshow.php on lines 41..59
    admin/slideshow.php on lines 61..79
    admin/slideshow.php on lines 81..99
    admin/slideshow.php on lines 101..119
    admin/slideshow.php on lines 121..139
    admin/slideshow.php on lines 141..159
    admin/slideshow.php on lines 161..179
    admin/slideshow.php on lines 181..199
    admin/slideshow.php on lines 201..219
    admin/slideshow.php on lines 221..239
    admin/slideshow.php on lines 241..259
    admin/slideshow.php on lines 261..279
    admin/slideshow.php on lines 281..299
    admin/slideshow.php on lines 301..319
    admin/slideshow.php on lines 321..339
    admin/slideshow.php on lines 341..359
    admin/slideshow.php on lines 361..379
    admin/slideshow.php on lines 381..399
    admin/slideshow.php on lines 410..428
    admin/slideshow.php on lines 430..448
    admin/slideshow.php on lines 450..468
    admin/slideshow.php on lines 470..488
    admin/slideshow.php on lines 490..508
    admin/slideshow.php on lines 510..528
    admin/slideshow.php on lines 530..548
    admin/slideshow.php on lines 550..568
    admin/slideshow.php on lines 579..597
    admin/slideshow.php on lines 599..617
    admin/slideshow.php on lines 619..637
    admin/slideshow.php on lines 639..657
    admin/slideshow.php on lines 659..677
    admin/slideshow.php on lines 679..697
    admin/slideshow.php on lines 699..717
    admin/slideshow.php on lines 719..737
    admin/slideshow.php on lines 759..777
    admin/slideshow.php on lines 779..797
    admin/slideshow.php on lines 799..817
    admin/slideshow.php on lines 819..837

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 163.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    The CASE body must start on the line following the statement
    Open

        case 'default':
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    The CASE body must start on the line following the statement
    Open

        case 'galleria':
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    The DEFAULT body must start on the line following the statement
    Open

        default:
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    The CASE body must start on the line following the statement
    Open

        case 'galleryview':
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    The CASE body must start on the line following the statement
    Open

        case 'galleriffic':
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 149 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GRIA_HEIGHT, 'galleria_height', '5', '5', $helper->getConfig('galleria_height')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

            $select_nbcol = new \XoopsFormSelect(_AM_EXTGALLERY_GFIC_NB_COLTHUMBS, 'galleriffic_nb_colthumbs', $helper->getConfig('galleriffic_nb_colthumbs'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 159 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_TTERVAL, 'galleryview_tterval', '5', '5', $helper->getConfig('galleryview_tterval')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 156 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BGCOLOR, 'galleryview_bgcolor', $helper->getConfig('galleryview_bgcolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_TDELAY, 'galleriffic_tdelay', '5', '5', $helper->getConfig('galleriffic_tdelay')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 171 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYCOLOR, 'galleryview_overlaycolor', $helper->getConfig('galleryview_overlaycolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 146 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GRIA_BCOLOR, 'galleria_bcolor', $helper->getConfig('galleria_bcolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 162 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GFIC_BCOLOR, 'galleriffic_bordercolor', $helper->getConfig('galleriffic_bordercolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 138 characters
    Open

            $select_trans = new \XoopsFormSelect(_AM_EXTGALLERY_GRIA_TRANS, 'galleria_transition', $helper->getConfig('galleria_transition'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_TSPEED, 'galleriffic_tspeed', '5', '5', $helper->getConfig('galleriffic_tspeed')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 168 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_FRAMEWIDTH, 'galleryview_framewidth', '5', '5', $helper->getConfig('galleryview_framewidth')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 156 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_TSPEED, 'galleryview_tspeed', '5', '5', $helper->getConfig('galleryview_tspeed')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 146 characters
    Open

            $positionSelect = new \XoopsFormSelect(_AM_EXTGALLERY_GVIEW_POSITION, 'galleryview_position', $helper->getConfig('galleryview_position'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 127 characters
    Open

            $bgimgSelect = new \XoopsFormSelect(_AM_EXTGALLERY_GRIA_BGIMG, 'galleria_bgimg', $helper->getConfig('galleria_bgimg'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GFIC_BGCOLOR, 'galleriffic_bgcolor', $helper->getConfig('galleriffic_bgcolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 147 characters
    Open

            $form->addElement(new \XoopsFormRadioYN(_AM_EXTGALLERY_GFIC_AUTOPLAY, 'galleriffic_autoplay', $helper->getConfig('galleriffic_autoplay')));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 167 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELWIDE, 'galleryview_panelwidth', '5', '5', $helper->getConfig('galleryview_panelwidth')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 171 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_PANELHEIGHT, 'galleryview_panelheight', '5', '5', $helper->getConfig('galleryview_panelheight')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 162 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_OVERLAYTC, 'galleryview_overlaytc', $helper->getConfig('galleryview_overlaytc')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 162 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_CAPTIONTC, 'galleryview_captiontc', $helper->getConfig('galleryview_captiontc')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 138 characters
    Open

            $easingSelect = new \XoopsFormSelect(_AM_EXTGALLERY_GVIEW_EASING, 'galleryview_easing', $helper->getConfig('galleryview_easing'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 164 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_NB_THUMBS, 'galleriffic_nb_thumbs', '5', '5', $helper->getConfig('galleriffic_nb_thumbs')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 165 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLAYFS, 'galleryview_overlayfs', '5', '5', $helper->getConfig('galleryview_overlayfs')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 168 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GVIEW_BORDERCOLOR, 'galleryview_bordercolor', $helper->getConfig('galleryview_bordercolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 146 characters
    Open

            $navthemeSelect = new \XoopsFormSelect(_AM_EXTGALLERY_GVIEW_NAVTHEME, 'galleryview_navtheme', $helper->getConfig('galleryview_navtheme'));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 161 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GRIA_PANELWIDTH, 'galleria_panelwidth', '5', '5', $helper->getConfig('galleria_panelwidth')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 149 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GRIA_TSPEED, 'galleria_tspeed', '5', '5', $helper->getConfig('galleria_tspeed')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 147 characters
    Open

            $form->addElement(new \XoopsFormRadioYN(_AM_EXTGALLERY_GFIC_DOWNLOAD, 'galleriffic_download', $helper->getConfig('galleriffic_download')));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 171 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_FRAMEHEIGHT, 'galleryview_frameheight', '5', '5', $helper->getConfig('galleryview_frameheight')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 149 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GRIA_BGCOLOR, 'galleria_bgcolor', $helper->getConfig('galleria_bgcolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 159 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_OPACITY, 'galleryview_opacity', '5', '5', $helper->getConfig('galleryview_opacity')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 177 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_OVERLYAHEIGHT, 'galleryview_overlayheight', '5', '5', $helper->getConfig('galleryview_overlayheight')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 171 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GVIEW_BORDERWIDTH, 'galleryview_borderwidth', '5', '5', $helper->getConfig('galleryview_borderwidth')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 141 characters
    Open

            $form->addElement(new \XoopsFormRadioYN(_AM_EXTGALLERY_GRIA_AUTOPLAY, 'galleria_autoplay', $helper->getConfig('galleria_autoplay')));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 152 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_WIDTH, 'galleriffic_width', '5', '5', $helper->getConfig('galleriffic_width')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 161 characters
    Open

            $form->addElement(new \XoopsFormColorPicker(_AM_EXTGALLERY_GFIC_FONTCOLOR, 'galleriffic_fontcolor', $helper->getConfig('galleriffic_fontcolor')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 153 characters
    Open

            $form->addElement(new \XoopsFormRadioYN(_AM_EXTGALLERY_GFIC_SHOW_DESCR, 'galleriffic_show_descr', $helper->getConfig('galleriffic_show_descr')));
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_HEIGHT, 'galleriffic_height', '5', '5', $helper->getConfig('galleriffic_height')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    Line exceeds 120 characters; contains 167 characters
    Open

            $form->addElement(new \XoopsFormText(_AM_EXTGALLERY_GFIC_NB_PRELOAD, 'galleriffic_nb_preload', '5', '5', $helper->getConfig('galleriffic_nb_preload')), false);
    Severity: Minor
    Found in admin/slideshow.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status