Code Duplication    Length = 4-4 lines in 2 locations

main/wiki/wiki.inc.php 2 locations

@@ 1031-1034 (lines=4) @@
1028
                }
1029
            }
1030
1031
            if ($row['id']) {
1032
                $actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_protect.'&title='.api_htmlentities(urlencode($page)).'">'.
1033
                        $protect_page.'</a>';
1034
            }
1035
1036
            $visibility_page = null;
1037
            $lock_unlock_visibility = null;
@@ 1050-1053 (lines=4) @@
1047
                }
1048
            }
1049
1050
            if ($row['id']) {
1051
                $actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_visibility.'&title='.api_htmlentities(urlencode($page)).'">'.
1052
                    $visibility_page.'</a>';
1053
            }
1054
1055
            //page action: notification
1056
            if (api_is_allowed_to_session_edit()) {