Code Duplication    Length = 7-12 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 3099-3105 (lines=7) @@
3096
				<?php
3097
					}//end if
3098
3099
					if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
3100
						?>
3101
						<div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
3102
							<?php $this->pagination( 1 ); ?>
3103
						</div>
3104
						<?php
3105
					}
3106
3107
					if ( true === $reorder ) {
3108
						$link = pods_query_arg(
@@ 3163-3174 (lines=12) @@
3160
				<?php
3161
			} else {
3162
				$this->table( $reorder );}
3163
			if ( ! empty( $this->data ) ) {
3164
				if ( true !== $reorder && ( false !== $this->pagination_total || false !== $this->pagination ) ) {
3165
					?>
3166
					<div class="tablenav">
3167
						<div class="tablenav-pages<?php echo esc_attr( ( $this->limit < $this->total_found || 1 < $this->page ) ? '' : ' one-page' ); ?>">
3168
							<?php $this->pagination( 0 ); ?>
3169
							<br class="clear" />
3170
						</div>
3171
					</div>
3172
					<?php
3173
				}
3174
			}
3175
3176
			?>
3177
		</form>