Code Duplication    Length = 7-12 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 2785-2791 (lines=7) @@
2782
                <?php
2783
                    }
2784
2785
                    if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2786
                        ?>
2787
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2788
                            <?php $this->pagination( 1 ); ?>
2789
                        </div>
2790
                        <?php
2791
                    }
2792
2793
                    if ( true === $reorder ) {
2794
						$link = pods_query_arg( array( 'action' . $this->num => 'manage', 'id' . $this->num => '' ), self::$allowed, $this->exclusion() );
@@ 2832-2843 (lines=12) @@
2829
            }
2830
            else
2831
                $this->table( $reorder );
2832
            if ( !empty( $this->data ) ) {
2833
                if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
2834
                    ?>
2835
                    <div class="tablenav">
2836
                        <div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
2837
                            <?php $this->pagination( 0 ); ?>
2838
                            <br class="clear" />
2839
                        </div>
2840
                    </div>
2841
                    <?php
2842
                }
2843
            }
2844
2845
            ?>
2846
        </form>