@@ 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> |
@@ 354-357 (lines=4) @@ | ||
351 | <div class="alignleft"> |
|
352 | <?php |
|
353 | ||
354 | if ( ! $add_new ) { |
|
355 | wp_nonce_field( "wordpoints_delete_points_type-{$slug}", 'delete-points-type-nonce' ); |
|
356 | submit_button( _x( 'Delete', 'points type', 'wordpoints' ), 'delete', 'delete-points-type', false, array( 'id' => "delete_points_type-{$slug}" ) ); |
|
357 | } |
|
358 | ||
359 | ?> |
|
360 | </div> |