Code Duplication    Length = 4-4 lines in 2 locations

main/wiki/wiki.inc.php 2 locations

@@ 1148-1151 (lines=4) @@
1145
                }
1146
            }
1147
1148
            if ($row['id']) {
1149
                $actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_protect.'&title='.api_htmlentities(urlencode($page)).'">'.
1150
                        $protect_page.'</a>';
1151
            }
1152
1153
            $visibility_page = null;
1154
            $lock_unlock_visibility = null;
@@ 1177-1180 (lines=4) @@
1174
                }
1175
            }
1176
1177
            if ($row['id']) {
1178
                $actionsRight .= '<a href="index.php?'.api_get_cidreq().'&action=showpage&actionpage='.$lock_unlock_visibility.'&title='.api_htmlentities(urlencode($page)).'">'.
1179
                    $visibility_page.'</a>';
1180
            }
1181
1182
            //page action: notification
1183
            if (api_is_allowed_to_session_edit()) {