| @@ 583-593 (lines=11) @@ | ||
| 580 | */ |
|
| 581 | do_action( 'wordpoints_points_type_form_top', $slug ); |
|
| 582 | ||
| 583 | if ( 'hook-content' === $wrap ) { |
|
| 584 | ||
| 585 | // Mark the prefix and suffix optional on the add new form. |
|
| 586 | $prefix = _x( 'Prefix (optional):', 'points type', 'wordpoints' ); |
|
| 587 | $suffix = _x( 'Suffix (optional):', 'points type', 'wordpoints' ); |
|
| 588 | ||
| 589 | } else { |
|
| 590 | ||
| 591 | $prefix = _x( 'Prefix:', 'points type', 'wordpoints' ); |
|
| 592 | $suffix = _x( 'Suffix:', 'points type', 'wordpoints' ); |
|
| 593 | } |
|
| 594 | ||
| 595 | ?> |
|
| 596 | ||
| @@ 284-294 (lines=11) @@ | ||
| 281 | */ |
|
| 282 | do_action( 'wordpoints_points_type_form_top', $slug ); |
|
| 283 | ||
| 284 | if ( $add_new ) { |
|
| 285 | ||
| 286 | // Mark the prefix and suffix optional on the add new form. |
|
| 287 | $prefix = _x( 'Prefix (optional):', 'points type', 'wordpoints' ); |
|
| 288 | $suffix = _x( 'Suffix (optional):', 'points type', 'wordpoints' ); |
|
| 289 | ||
| 290 | } else { |
|
| 291 | ||
| 292 | $prefix = _x( 'Prefix:', 'points type', 'wordpoints' ); |
|
| 293 | $suffix = _x( 'Suffix:', 'points type', 'wordpoints' ); |
|
| 294 | } |
|
| 295 | ||
| 296 | ?> |
|
| 297 | ||