Code Duplication    Length = 3-3 lines in 5 locations

class/GwikiPage.php 5 locations

@@ 1872-1874 (lines=3) @@
1869
            'desc' => _MD_GWIKI_PAGENAV_LAST
1870
        );
1871
1872
        if (strcasecmp($toc[$first]['keyword'], $page) === 0) {
1873
            $pageset['first']['link'] = 'javascript:void(0)';
1874
        }
1875
        if (strcasecmp($toc[$prev]['keyword'], $page) === 0) {
1876
            $pageset['prev']['link'] = 'javascript:void(0)';
1877
        }
@@ 1875-1877 (lines=3) @@
1872
        if (strcasecmp($toc[$first]['keyword'], $page) === 0) {
1873
            $pageset['first']['link'] = 'javascript:void(0)';
1874
        }
1875
        if (strcasecmp($toc[$prev]['keyword'], $page) === 0) {
1876
            $pageset['prev']['link'] = 'javascript:void(0)';
1877
        }
1878
        if (strcasecmp($toc[$home]['keyword'], $page) === 0) {
1879
            $pageset['home']['link'] = 'javascript:void(0)';
1880
        }
@@ 1878-1880 (lines=3) @@
1875
        if (strcasecmp($toc[$prev]['keyword'], $page) === 0) {
1876
            $pageset['prev']['link'] = 'javascript:void(0)';
1877
        }
1878
        if (strcasecmp($toc[$home]['keyword'], $page) === 0) {
1879
            $pageset['home']['link'] = 'javascript:void(0)';
1880
        }
1881
        if (strcasecmp($toc[$next]['keyword'], $page) === 0) {
1882
            $pageset['next']['link'] = 'javascript:void(0)';
1883
        }
@@ 1881-1883 (lines=3) @@
1878
        if (strcasecmp($toc[$home]['keyword'], $page) === 0) {
1879
            $pageset['home']['link'] = 'javascript:void(0)';
1880
        }
1881
        if (strcasecmp($toc[$next]['keyword'], $page) === 0) {
1882
            $pageset['next']['link'] = 'javascript:void(0)';
1883
        }
1884
        if (strcasecmp($toc[$last]['keyword'], $page) === 0) {
1885
            $pageset['last']['link'] = 'javascript:void(0)';
1886
        }
@@ 1884-1886 (lines=3) @@
1881
        if (strcasecmp($toc[$next]['keyword'], $page) === 0) {
1882
            $pageset['next']['link'] = 'javascript:void(0)';
1883
        }
1884
        if (strcasecmp($toc[$last]['keyword'], $page) === 0) {
1885
            $pageset['last']['link'] = 'javascript:void(0)';
1886
        }
1887
1888
        return $pageset;
1889
    }