Code Duplication    Length = 5-5 lines in 2 locations

admin/main.php 2 locations

@@ 646-650 (lines=5) @@
643
                ."              <tr><td style='vertical-align: top; width: 45%; font-size: small;'>" . _MD_MYLINKS_SITEURL . "{$origurl}</td></tr>\n"
644
                ."              <tr><td style='vertical-align= top; width: 45%; font-size: small;'>" . _MD_MYLINKS_CATEGORYC . "{$origcidtitle}</td></tr>\n"
645
                ."              <tr><td style='vertical-align: top; width: 45%; font-size: small;'>" . _MD_MYLINKS_SHOTIMAGE . '';
646
            if ( $xoopsModuleConfig['useshots'] && !empty($origlogourl) ) {
647
                echo "<img src='" . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . "/images/shots/{$origlogourl}' style='width: " . $xoopsModuleConfig['shotwidth'] . ";'>";
648
            } else {
649
                echo '&nbsp;';
650
            }
651
            echo "</td></tr>\n"
652
                ."        </table>\n"
653
                ."      </td></tr>\n"
@@ 664-668 (lines=5) @@
661
                ."          <tr><td style='vertical-align: top; width: 45%; font-size: small;'>" . _MD_MYLINKS_SITEURL . "{$url}</td></tr>\n"
662
                ."          <tr><td style='vertical-align: top; width: 45%; font-size: small;'>" . _MD_MYLINKS_CATEGORYC . "{$cidtitle}</td></tr>\n"
663
                ."          <tr><td style='vertical-align: top; width: 45%; font-size: small;'>" . _MD_MYLINKS_SHOTIMAGE . '';
664
            if ( $xoopsModuleConfig['useshots'] == 1 && !empty($logourl) ) {
665
                echo "<img src='" . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . "/images/shots/{$logourl}' style='width: " . $xoopsModuleConfig['shotwidth'] . ";' alt='{$title}'>";
666
            } else {
667
                echo '&nbsp;';
668
            }
669
            echo "</td></tr>\n"
670
              ."        </table>\n"
671
              ."      </td></tr>\n"