Code Duplication    Length = 7-12 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 2747-2753 (lines=7) @@
2744
                <?php
2745
                    }
2746
2747
                    if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2748
                        ?>
2749
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2750
                            <?php $this->pagination( 1 ); ?>
2751
                        </div>
2752
                        <?php
2753
                    }
2754
2755
                    if ( true === $reorder ) {
2756
						$link = pods_query_arg( array( 'action' . $this->num => 'manage', 'id' . $this->num => '' ), self::$allowed, $this->exclusion() );
@@ 2801-2812 (lines=12) @@
2798
            }
2799
            else
2800
                $this->table( $reorder );
2801
            if ( !empty( $this->data ) ) {
2802
                if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2803
                    ?>
2804
                    <div class="tablenav">
2805
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2806
                            <?php $this->pagination( 0 ); ?>
2807
                            <br class="clear" />
2808
                        </div>
2809
                    </div>
2810
                    <?php
2811
                }
2812
            }
2813
2814
            ?>
2815
        </form>