| 1 |
<?php |
| 2 |
/** |
| 3 |
* Outputs an upgrade notice below the table of statuses for an action (publish,update,repost,bulk publish), |
| 4 |
* when the Free version of the Plugin is used. |
| 5 |
* |
| 6 |
* @package WPZinc\Social |
| 7 |
* @author WP Zinc |
| 8 |
*/ |
| 9 |
|
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
exit; // Exit if accessed directly. |
| 12 |
} |
| 13 |
?> |
| 14 |
<div class="wpzinc-option highlight"> |
| 15 |
<div class="full"> |
| 16 |
<h4> |
| 17 |
<?php |
| 18 |
echo esc_html( |
| 19 |
sprintf( |
| 20 |
/* translators: Social Media Service Name (Buffer, Hootsuite) */ |
| 21 |
__( 'Want to %1$s multiple status updates to %2$s?', 'wp-to-buffer' ), |
| 22 |
$post_action, |
| 23 |
$this->base->plugin->displayName |
| 24 |
) |
| 25 |
); |
| 26 |
?> |
| 27 |
</h4> |
| 28 |
|
| 29 |
<p> |
| 30 |
<?php |
| 31 |
echo esc_html( |
| 32 |
sprintf( |
| 33 |
/* translators: Plugin Name */ |
| 34 |
__( 'Define additional unique statuses, each with publishing conditions and custom scheduling, per social network with %s.', 'wp-to-buffer' ), |
| 35 |
$this->base->plugin->displayName |
| 36 |
) |
| 37 |
); |
| 38 |
?> |
| 39 |
</p> |
| 40 |
|
| 41 |
<a href="<?php echo esc_attr( $this->base->dashboard->get_upgrade_url( 'settings_inline_upgrade' ) ); ?>" class="button button-primary" target="_blank"><?php esc_html_e( 'Upgrade', 'wp-to-buffer' ); ?></a> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|