Changeset 29706 for trunk/src/wp-admin/about.php
- Timestamp:
- 09/04/2014 03:04:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r29684 r29706 12 12 wp_enqueue_style( 'wp-mediaelement' ); 13 13 wp_enqueue_script( 'wp-mediaelement' ); 14 add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 ); 14 wp_localize_script( 'mediaelement', '_wpmejsSettings', array( 15 'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ), 16 'pauseOtherPlayers' => '' 17 ) ); 15 18 16 19 $title = __( 'About' ); … … 41 44 <div class="changelog"> 42 45 <div class="about-overview"> 43 <h2 class="about-headline-callout"><?php _e( 'Manage your media with style' ); ?></h2> 44 <!-- media-grid-cropped.png --> 45 <img class="about-overview-img" src="https://i.cloudup.com/gFjdHZjkbI.png" /> 46 <p><?php _e( 'Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap.' ); ?></p> 46 <?php if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?> 47 <embed src="//v.wordpress.com/bUdzKMro" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true" wmode="transparent"></embed> 48 <?php else : ?> 49 <img class="about-overview-img" src="//s.w.org/images/core/4.0/wp40.png" width="640" height="360" /> 50 <?php endif; ?> 47 51 </div> 48 52 … … 51 55 <div class="feature-section col two-col"> 52 56 <div class="col-1"> 53 <!-- oembed.mp4 --> 54 <?php 55 echo wp_video_shortcode( array( 56 'mp4' => 'https://i.cloudup.com/IdZ7t3ixES.mp4', 57 // 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv', 58 // 'webm' => '//s.w.org/images/core/3.9/widgets.webm', 59 'loop' => true, 60 'autoplay' => true, 61 'width' => 499 62 ) ); 63 ?> 57 <h3><?php _e( 'Manage your media with style' ); ?></h3> 58 <p><?php _e( 'Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap.' ); ?></p> 59 </div> 60 <div class="col-2 last-feature"> 61 <img src="//s.w.org/images/core/4.0/media.jpg" /> 62 </div> 63 </div> 64 65 <hr /> 66 67 <div class="feature-section col two-col"> 68 <div class="col-1"> 69 <div class="about-video about-video-embed"> 70 <?php 71 echo wp_video_shortcode( array( 72 'mp4' => '//s.w.org/images/core/4.0/embed.mp4', 73 'ogv' => '//s.w.org/images/core/4.0/embed.ogv', 74 'webm' => '//s.w.org/images/core/4.0/embed.webm', 75 'loop' => true, 76 'autoplay' => true, 77 'width' => 500, 78 'height' => 352 79 ) ); 80 ?> 81 </div> 64 82 </div> 65 83 <div class="col-2 last-feature"> … … 78 96 </div> 79 97 <div class="col-2 last-feature"> 80 <!-- focus.png --> 81 <img src="https://i.cloudup.com/DhokGXMLmR.png" /> 98 <div class="about-video about-video-focus"> 99 <?php 100 echo wp_video_shortcode( array( 101 'mp4' => '//s.w.org/images/core/4.0/focus.mp4', 102 'ogv' => '//s.w.org/images/core/4.0/focus.ogv', 103 'webm' => '//s.w.org/images/core/4.0/focus.webm', 104 'loop' => true, 105 'autoplay' => true, 106 'width' => 500, 107 'height' => 281 108 ) ); 109 ?> 110 </div> 82 111 </div> 83 112 </div> … … 87 116 <div class="feature-section col two-col"> 88 117 <div class="col-1"> 89 <!-- plugins.png --> 90 <img src="https://i.cloudup.com/6hlYGuLiTq.png" /> 118 <img src="//s.w.org/images/core/4.0/plugins.png" /> 91 119 </div> 92 120 <div class="col-2 last-feature"> 93 <h3 ><?php _e( 'Finding the right plugin' ); ?></h3>121 <h3 class="higher"><?php _e( 'Finding the right plugin' ); ?></h3> 94 122 <p><?php _e( 'There are more than 30,000 free and open source plugins in the WordPress plugin directory. WordPress 4.0 makes it easier to find the right one for your needs, with new metrics, improved search, and a more visual browsing experience.' ); ?></p> 95 123 <a href="<?php echo admin_url( 'plugin-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse plugins' ); ?></a>
Note: See TracChangeset
for help on using the changeset viewer.