|
@@ 277-288 (lines=12) @@
|
| 274 |
|
|
| 275 |
|
|
| 276 |
|
// LaTeX |
| 277 |
|
function latex_more_info() { ?> |
| 278 |
|
<div class="jp-info-img"> |
| 279 |
|
<a href="http://support.wordpress.com/latex/"> |
| 280 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/beautifulmath.jpg' ) ?>" alt="<?php esc_attr_e( 'LaTeX', 'jetpack' ) ?>" width="300" height="150" /> |
| 281 |
|
</a> |
| 282 |
|
</div> |
| 283 |
|
|
| 284 |
|
<p><?php printf( esc_html__( '%s is a powerful markup language for writing complex mathematical equations, formulas, etc.', 'jetpack' ), '<a href="http://www.latex-project.org/" target="_blank"><img src="//s0.wp.com/latex.php?latex=%5CLaTeX&bg=transparent&fg=000&s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /></a>' ); ?></p> |
| 285 |
|
<p><?php printf( esc_html__( 'Jetpack combines the power of %s and the simplicity of WordPress to give you the ultimate in math blogging platforms.', 'jetpack' ), '<img src="//s0.wp.com/latex.php?latex=%5CLaTeX&bg=transparent&fg=000&s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" />' ); ?></p> |
| 286 |
|
<p><?php esc_html_e( 'Wow, that sounds nerdy.', 'jetpack' ) ?></p> |
| 287 |
|
<?php |
| 288 |
|
} |
| 289 |
|
add_action( 'jetpack_module_more_info_latex', 'latex_more_info' ); |
| 290 |
|
|
| 291 |
|
function latex_more_info_connected() { ?> |
|
@@ 291-301 (lines=11) @@
|
| 288 |
|
} |
| 289 |
|
add_action( 'jetpack_module_more_info_latex', 'latex_more_info' ); |
| 290 |
|
|
| 291 |
|
function latex_more_info_connected() { ?> |
| 292 |
|
<div class="jp-info-img"> |
| 293 |
|
<a href="http://support.wordpress.com/latex/"> |
| 294 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/beautifulmath.jpg' ) ?>" alt="<?php esc_attr_e( 'LaTeX', 'jetpack' ) ?>" width="300" height="150" /> |
| 295 |
|
</a> |
| 296 |
|
</div> |
| 297 |
|
|
| 298 |
|
<p><?php printf( esc_html__( '%s is a powerful markup language for writing complex mathematical equations, formulas, etc.', 'jetpack' ), '<a href="http://www.latex-project.org/" target="_blank"><img src="//s0.wp.com/latex.php?latex=%5CLaTeX&bg=transparent&fg=000&s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /></a>' ); ?></p> |
| 299 |
|
<p><?php printf( __( 'Use <code>$latex your latex code here$</code> or <code>[latex]your latex code here[/latex]</code> to include %s in your posts and comments. There are <a href="%s" target="_blank">all sorts of options</a> available.', 'jetpack' ), '<img src="//s0.wp.com/latex.php?latex=%5CLaTeX&bg=transparent&fg=000&s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" />', 'http://support.wordpress.com/latex/' ); ?></p> |
| 300 |
|
<?php |
| 301 |
|
} |
| 302 |
|
add_action( 'jetpack_module_more_info_connected_latex', 'latex_more_info_connected' ); |
| 303 |
|
|
| 304 |
|
function latex_load_more_link( $description ) { |
|
@@ 311-329 (lines=19) @@
|
| 308 |
|
|
| 309 |
|
|
| 310 |
|
// Sharedaddy |
| 311 |
|
function sharedaddy_more_info() { ?> |
| 312 |
|
<div class="jp-info-img"> |
| 313 |
|
<a href="http://en.support.wordpress.com/sharing/"> |
| 314 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/sharing.jpg' ) ?>" alt="<?php esc_attr_e( 'Sharing', 'jetpack' ) ?>" width="300" height="150" /> |
| 315 |
|
</a> |
| 316 |
|
</div> |
| 317 |
|
<p><?php esc_html_e( 'Share your posts with Twitter, Facebook, and a host of other services. You can configure services to appear as icons, text, or both. Some services have additional options to display smart buttons, such as Twitter, which will update the number of times the post has been shared.', 'jetpack' ); ?></p> |
| 318 |
|
|
| 319 |
|
<p><?php |
| 320 |
|
if ( is_multisite() ) { |
| 321 |
|
esc_html_e( 'The following services are included: Twitter, Facebook, Reddit, PressThis, Digg, LinkedIn, Google +1, Print, and Email.' , 'jetpack' ); |
| 322 |
|
} else { |
| 323 |
|
esc_html_e( 'The following services are included: Twitter, Facebook, Reddit, Digg, LinkedIn, Google +1, Print, and Email.' , 'jetpack' ); |
| 324 |
|
} |
| 325 |
|
?></p> |
| 326 |
|
|
| 327 |
|
<p><?php esc_html_e( 'Additionally you can define your own custom services.', 'jetpack' ); ?></p> |
| 328 |
|
<?php |
| 329 |
|
} |
| 330 |
|
add_action( 'jetpack_module_more_info_sharedaddy', 'sharedaddy_more_info' ); |
| 331 |
|
|
| 332 |
|
function sharedaddy_more_info_connected() { ?> |
|
@@ 522-539 (lines=18) @@
|
| 519 |
|
echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>'; |
| 520 |
|
} |
| 521 |
|
|
| 522 |
|
function jetpack_comments_more_info() { |
| 523 |
|
?> |
| 524 |
|
<div class="jp-info-img"> |
| 525 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/comments.jpg' ) ?>" alt="<?php esc_attr_e( 'Comments Screenshot', 'jetpack' ) ?>" width="300" height="150" /> |
| 526 |
|
</div> |
| 527 |
|
|
| 528 |
|
<p><?php esc_html_e( 'Comments enables your visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on your site.', 'jetpack' ); ?></p> |
| 529 |
|
|
| 530 |
|
<?php if ( 'jetpack_module_more_info_connected_comments' == current_filter() ) : ?> |
| 531 |
|
|
| 532 |
|
<p><?php printf( |
| 533 |
|
__( "Jetpack tries to match your site's color scheme automatically, but you can make manual adjustments at the bottom of the <a href='%s'>Discussion Settings</a> page.", 'jetpack' ), |
| 534 |
|
admin_url( 'options-discussion.php#jetpack-comments-settings' ) |
| 535 |
|
); ?></p> |
| 536 |
|
|
| 537 |
|
<?php endif; ?> |
| 538 |
|
<?php |
| 539 |
|
} |
| 540 |
|
|
| 541 |
|
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' ); |
| 542 |
|
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' ); |
|
@@ 708-717 (lines=10) @@
|
| 705 |
|
// Photon: STOP |
| 706 |
|
|
| 707 |
|
// Tiled Galleries: START |
| 708 |
|
function jetpack_tiled_gallery_more_info() { ?> |
| 709 |
|
<div class="jp-info-img"> |
| 710 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/tiled-gallery.jpg' ) ?>" alt="<?php esc_attr_e( 'Tiled Galleries', 'jetpack' ) ?>" width="300" height="150" /> |
| 711 |
|
</div> |
| 712 |
|
|
| 713 |
|
<p><?php esc_html_e( 'Create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor.', 'jetpack' ); ?></p> |
| 714 |
|
<p><?php printf( __( 'When adding a gallery to your post, you now have the option to select a layout style for your images. We\'ve added support for Rectangular, Square, and Circular galleries. By default, galleries will continue to display using the standard thumbnail grid layout. To make the rectangular layout the default for all of your site\'s galleries, head over to <a href="%s">Settings → Media</a> and check the box next to "Display all your gallery pictures in a cool mosaic."', 'jetpack' ), admin_url( 'options-media.php' ) ); ?></p> |
| 715 |
|
<p><em><?php esc_html_e( 'Note: Images in tiled galleries require extra-special processing, so they will be served from WordPress.com\'s CDN even if the Photon module is disabled.', 'jetpack' ); ?></em></p> |
| 716 |
|
<?php |
| 717 |
|
} |
| 718 |
|
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' ); |
| 719 |
|
|
| 720 |
|
function jetpack_tiled_gallery_more_link() { |