|
@@ 616-622 (lines=7) @@
|
| 613 |
|
* |
| 614 |
|
* @param array $tags The global tags to be posted. |
| 615 |
|
*/ |
| 616 |
|
public function global_tags_render( $tags ) { |
| 617 |
|
WP2D_Helpers::arr_to_str( $tags ); |
| 618 |
|
?> |
| 619 |
|
<input type="text" class="wp2dtags" name="wp_to_diaspora_settings[global_tags]" value="<?php echo esc_attr( $tags ); ?>" placeholder="<?php esc_attr_e( 'Global tags', 'wp-to-diaspora' ); ?>" class="regular-text"> |
| 620 |
|
<p class="description"><?php esc_html_e( 'Custom tags to add to all posts being posted to diaspora*.', 'wp-to-diaspora' ); ?></p> |
| 621 |
|
<?php |
| 622 |
|
} |
| 623 |
|
|
| 624 |
|
/** |
| 625 |
|
* Render the "Custom tags" field. |
|
@@ 629-638 (lines=10) @@
|
| 626 |
|
* |
| 627 |
|
* @param array $tags The custom tags to be posted. |
| 628 |
|
*/ |
| 629 |
|
public function custom_tags_render( $tags ) { |
| 630 |
|
WP2D_Helpers::arr_to_str( $tags ); |
| 631 |
|
?> |
| 632 |
|
<label title="<?php esc_attr_e( 'Custom tags to add to this post when it\'s posted to diaspora*.', 'wp-to-diaspora' ); ?>"> |
| 633 |
|
<?php esc_html_e( 'Custom tags', 'wp-to-diaspora' ); ?> |
| 634 |
|
<input type="text" class="wp2dtags" name="wp_to_diaspora_settings[custom_tags]" value="<?php echo esc_attr( $tags ); ?>" class="widefat"> |
| 635 |
|
</label> |
| 636 |
|
<p class="description"><?php esc_html_e( 'Separate tags with commas' ); ?></p> |
| 637 |
|
<?php |
| 638 |
|
} |
| 639 |
|
|
| 640 |
|
/** |
| 641 |
|
* Render the "Aspects" and "Services" checkboxes. |