Code Duplication    Length = 7-12 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 2805-2811 (lines=7) @@
2802
                <?php
2803
                    }
2804
2805
                    if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2806
                        ?>
2807
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2808
                            <?php $this->pagination( 1 ); ?>
2809
                        </div>
2810
                        <?php
2811
                    }
2812
2813
                    if ( true === $reorder ) {
2814
						$link = pods_query_arg( array( 'action' . $this->num => 'manage', 'id' . $this->num => '' ), self::$allowed, $this->exclusion() );
@@ 2852-2863 (lines=12) @@
2849
            }
2850
            else
2851
                $this->table( $reorder );
2852
            if ( !empty( $this->data ) ) {
2853
                if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2854
                    ?>
2855
                    <div class="tablenav">
2856
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2857
                            <?php $this->pagination( 0 ); ?>
2858
                            <br class="clear" />
2859
                        </div>
2860
                    </div>
2861
                    <?php
2862
                }
2863
            }
2864
2865
            ?>
2866
        </form>