|
@@ 216-234 (lines=19) @@
|
| 213 |
|
|
| 214 |
|
|
| 215 |
|
// Publicize |
| 216 |
|
function publicize_more_info() { ?> |
| 217 |
|
<div class="jp-info-img"> |
| 218 |
|
<a href="http://en.support.wordpress.com/publicize/"> |
| 219 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/publicize.jpg' ) ?>" alt="<?php esc_attr_e( 'Publicize', 'jetpack' ) ?>" width="328" height="123" /> |
| 220 |
|
</a> |
| 221 |
|
</div> |
| 222 |
|
|
| 223 |
|
<p><?php esc_html_e( 'Publicize allows you to connect your blog to popular social networking sites and automatically share new posts with your friends. You can make a connection for just yourself or for all users on your blog.', 'jetpack' ) ?></p> |
| 224 |
|
<p><?php esc_html_e( 'Publicize allows you to share your posts on Facebook, Twitter, Tumblr, Yahoo!, and Linkedin.', 'jetpack' ); ?></p> |
| 225 |
|
|
| 226 |
|
<?php if ( 'jetpack_module_more_info_connected_publicize' == current_filter() ) : ?> |
| 227 |
|
|
| 228 |
|
<p><?php printf( __( 'Manage your <a href="%s">Publicize settings</a>.', 'jetpack' ), menu_page_url( 'sharing', false ) ); ?> |
| 229 |
|
|
| 230 |
|
<?php endif; ?> |
| 231 |
|
|
| 232 |
|
<p>→ <a href="http://jetpack.me/support/publicize/"><?php esc_html_e( 'More information on using Publicize.', 'jetpack' ); ?></a></p> |
| 233 |
|
<?php |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' ); |
| 237 |
|
add_action( 'jetpack_module_more_info_connected_publicize', 'publicize_more_info' ); |
|
@@ 657-673 (lines=17) @@
|
| 654 |
|
|
| 655 |
|
|
| 656 |
|
// Post by Email: START |
| 657 |
|
function jetpack_post_by_email_more_info() { ?> |
| 658 |
|
<div class="jp-info-img"> |
| 659 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/post-by-email.jpg' ) ?>" alt="<?php esc_attr_e( 'Post by Email', 'jetpack' ) ?>" width="300" height="115" /> |
| 660 |
|
</div> |
| 661 |
|
|
| 662 |
|
<p><?php esc_html_e( 'Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.', 'jetpack' ); ?></p> |
| 663 |
|
|
| 664 |
|
<?php if ( 'jetpack_module_more_info_connected_post-by-email' == current_filter() ) : ?> |
| 665 |
|
|
| 666 |
|
<p><?php printf( __( 'Manage your Post By Email address from your <a href="%s">profile settings</a>.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) . '#post-by-email' ) ); ?> |
| 667 |
|
|
| 668 |
|
<?php endif; ?> |
| 669 |
|
|
| 670 |
|
<p>→ <a href="http://jetpack.me/support/post-by-email/"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p> |
| 671 |
|
|
| 672 |
|
<?php |
| 673 |
|
} |
| 674 |
|
|
| 675 |
|
function jetpack_post_by_email_more_link() { |
| 676 |
|
echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/post-by-email/">' . __( 'Learn More', 'jetpack' ) . '</a>'; |