Code Duplication    Length = 7-12 lines in 2 locations

classes/PodsUI.php 2 locations

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