Code Duplication    Length = 3-3 lines in 2 locations

index.php 1 location

@@ 284-286 (lines=3) @@
281
                      . "\" target=\"_self\">" . planet_constant('MD_BOOKMARKS') . '</a>');
282
}
283
284
if ($xoopsModuleConfig['newblog_submit'] == 1 || is_object($xoopsUser)) {
285
    $xoopsTpl->assign('link_submit',
286
                      "<a href=\"" . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . "/action.blog.php\" title=\""
287
                      . _SUBMIT . "\" target=\"_blank\">" . _SUBMIT . '</a>');
288
}
289

view.blogs.php 1 location

@@ 222-224 (lines=3) @@
219
                      . '</a>');
220
}
221
222
if ($xoopsModuleConfig['newblog_submit'] == 1 || is_object($xoopsUser)) {
223
    $xoopsTpl->assign('link_submit',
224
                      "<a href=\"" . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . "/action.blog.php\" title=\""
225
                      . _SUBMIT . "\" target=\"_blank\">" . _SUBMIT . '</a>');
226
}
227