| @@ 635-638 (lines=4) @@ | ||
| 632 | <div class="alignleft"> |
|
| 633 | <?php |
|
| 634 | ||
| 635 | if ( ! $add_new ) { |
|
| 636 | wp_nonce_field( "wordpoints_delete_points_type-{$slug}", 'delete-points-type-nonce' ); |
|
| 637 | submit_button( _x( 'Delete', 'points type', 'wordpoints' ), 'delete', 'delete-points-type', false, array( 'id' => "delete_points_type-{$slug}" ) ); |
|
| 638 | } |
|
| 639 | ||
| 640 | ?> |
|
| 641 | <a class="hook-control-close" href="#close"><?php esc_html_e( 'Close', 'wordpoints' ); ?></a> |
|
| @@ 361-364 (lines=4) @@ | ||
| 358 | <div class="alignleft"> |
|
| 359 | <?php |
|
| 360 | ||
| 361 | if ( ! $add_new ) { |
|
| 362 | wp_nonce_field( "wordpoints_delete_points_type-{$slug}", 'delete-points-type-nonce' ); |
|
| 363 | submit_button( _x( 'Delete', 'points type', 'wordpoints' ), 'delete', 'delete-points-type', false, array( 'id' => "delete_points_type-{$slug}" ) ); |
|
| 364 | } |
|
| 365 | ||
| 366 | ?> |
|
| 367 | </div> |
|