Code Duplication    Length = 4-4 lines in 2 locations

index.php 2 locations

@@ 181-184 (lines=4) @@
178
        if ($xoopsModuleConfig['allowreviews'] == 1) {
179
        $xoopsTpl->assign('allowreviews', true);
180
        }*/
181
        if ($xoopsModuleConfig['allowtellafriend'] == 1) {
182
            $xoopsTpl->assign('allowtellafriend', true);
183
            $xoopsTpl->assign('lang_tellafriend', _MD_TELLAFRIEND);
184
        }
185
        if ($xoopsModuleConfig['allowrating'] == 1) {
186
            $xoopsTpl->assign('allowrating', true);
187
            $xoopsTpl->assign('lang_rating', _MD_RATINGC);
@@ 311-314 (lines=4) @@
308
                /*if ($xoopsModuleConfig['allowreviews'] == 1) {
309
                $xoopsTpl->assign('allowreviews', true);
310
                }*/
311
                if ($xoopsModuleConfig['allowtellafriend'] == 1) {
312
                    $xoopsTpl->assign('allowtellafriend', true);
313
                    $xoopsTpl->assign('lang_tellafriend', _MD_TELLAFRIEND);
314
                }
315
                if ($xoopsModuleConfig['allowrating'] == 1) {
316
                    $xoopsTpl->assign('allowrating', true);
317
                    $xoopsTpl->assign('lang_rating', _MD_RATINGC);