|
@@ 497-501 (lines=5) @@
|
| 494 |
|
|
| 495 |
|
if ( 1 < $pages ) { |
| 496 |
|
$html .= '<p class="tools" style="float: right;">'; |
| 497 |
|
if ( 1 == $current ) { |
| 498 |
|
$html .= '<button class="button-primary" disabled="disabled">' . __( '‹ Previous', 'woocommerce' ) . '</button> '; |
| 499 |
|
} else { |
| 500 |
|
$html .= '<a class="button-primary" href="' . admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&log_page=' . ( $current - 1 ) ) . '#webhook-logs">' . __( '‹ Previous', 'woocommerce' ) . '</a> '; |
| 501 |
|
} |
| 502 |
|
|
| 503 |
|
if ( $pages == $current ) { |
| 504 |
|
$html .= '<button class="button-primary" disabled="disabled">' . __( 'Next ›', 'woocommerce' ) . '</button>'; |
|
@@ 503-507 (lines=5) @@
|
| 500 |
|
$html .= '<a class="button-primary" href="' . admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&log_page=' . ( $current - 1 ) ) . '#webhook-logs">' . __( '‹ Previous', 'woocommerce' ) . '</a> '; |
| 501 |
|
} |
| 502 |
|
|
| 503 |
|
if ( $pages == $current ) { |
| 504 |
|
$html .= '<button class="button-primary" disabled="disabled">' . __( 'Next ›', 'woocommerce' ) . '</button>'; |
| 505 |
|
} else { |
| 506 |
|
$html .= '<a class="button-primary" href="' . admin_url( 'admin.php?page=wc-settings&tab=api§ion=webhooks&edit-webhook=' . $webhook->id . '&log_page=' . ( $current + 1 ) ) . '#webhook-logs">' . __( 'Next ›', 'woocommerce' ) . '</a>'; |
| 507 |
|
} |
| 508 |
|
$html .= '</p>'; |
| 509 |
|
} |
| 510 |
|
|