Code Duplication    Length = 3-3 lines in 4 locations

htdocs/modules/system/admin/modulesadmin/modulesadmin.php 4 locations

@@ 89-91 (lines=3) @@
86
            $msgs[] = '<a href="' . XOOPS_URL . '/modules/' . $module->getInfo('dirname', 'e') . '/' . $module->getInfo('adminindex') . '"><img src="' . XOOPS_URL . '/modules/' . $dirname . '/' . trim($module->getInfo('image')) . '" alt="" /></a>';
87
        }
88
        $msgs[] = '<strong>' . _VERSION . ':</strong> ' . $module->getInfo('version') . '&nbsp;' . $module->getInfo('module_status');
89
        if ($module->getInfo('author') !== false && trim($module->getInfo('author')) != '') {
90
            $msgs[] = '<strong>' . _AUTHOR . ':</strong> ' . htmlspecialchars(trim($module->getInfo('author')));
91
        }
92
        $msgs[] = '</div><div class="logger">';
93
        // Load module specific install script if any
94
        $install_script = $module->getInfo('onInstall');
@@ 620-622 (lines=3) @@
617
            $msgs[] = '<img src="' . XOOPS_URL . '/modules/' . $dirname . '/' . trim($module->getInfo('image')) . '" alt="" />';
618
        }
619
        $msgs[] = '<strong>' . _VERSION . ':</strong> ' . $module->getInfo('version') . '&nbsp;' . $module->getInfo('module_status');
620
        if ($module->getInfo('author') !== false && trim($module->getInfo('author')) != '') {
621
            $msgs[] = '<strong>' . _AUTHOR . ':</strong> ' . htmlspecialchars(trim($module->getInfo('author')));
622
        }
623
        $msgs[] = '</div><div class="logger">';
624
        // Load module specific install script if any
625
        $uninstall_script = $module->getInfo('onUninstall');
@@ 832-834 (lines=3) @@
829
            $msgs[] = '<img src="' . XOOPS_URL . '/modules/' . $dirname . '/' . trim($module->getInfo('image')) . '" alt="" />';
830
        }
831
        $msgs[] = '<strong>' . _VERSION . ':</strong> ' . $module->getInfo('version') . '&nbsp;' . $module->getInfo('module_status');
832
        if ($module->getInfo('author') !== false && trim($module->getInfo('author')) != '') {
833
            $msgs[] = '<strong>' . _AUTHOR . ':</strong> ' . $myts->htmlspecialchars(trim($module->getInfo('author')));
834
        }
835
        $msgs[]          = '</div><div class="logger">';
836
837
        $update_script = $module->getInfo('onUpdate');
@@ 1420-1422 (lines=3) @@
1417
        $msgs[] = '<img src="' . XOOPS_URL . '/modules/' . $module->getVar('dirname') . '/' . trim($module->getInfo('image')) . '" alt="" />';
1418
    }
1419
    $msgs[] = '<strong>' . _VERSION . ':</strong> ' . $module->getInfo('version') . '&nbsp;' . $module->getInfo('module_status');
1420
    if ($module->getInfo('author') !== false && trim($module->getInfo('author')) != '') {
1421
        $msgs[] = '<strong>' . _AUTHOR . ':</strong> ' . htmlspecialchars(trim($module->getInfo('author')));
1422
    }
1423
    $msgs[] = '</div>';
1424
1425
    return $msgs;