Code Duplication    Length = 5-5 lines in 2 locations

index.php 2 locations

@@ 218-222 (lines=5) @@
215
                } else {
216
                    $adminlink = '';
217
                }
218
                if ($votes == 1) {
219
                    $votestring = _MD_ONEVOTE;
220
                } else {
221
                    $votestring = sprintf(_MD_NUMVOTES, $votes);
222
                }
223
224
                if ($xoopsModuleConfig['showdatafieldsincat'] == '1') {
225
                    $xoopsTpl->assign('showdatafieldsincat', true);
@@ 368-372 (lines=5) @@
365
                    } else {
366
                        $adminlink = '';
367
                    }
368
                    if ($votes == 1) {
369
                        $votestring = _MD_ONEVOTE;
370
                    } else {
371
                        $votestring = sprintf(_MD_NUMVOTES, $votes);
372
                    }
373
374
                    if ($xoopsModuleConfig['showdatafieldsincat'] == '1') {
375
                        $xoopsTpl->assign('showdatafieldsincat', true);