Changeset 28150 for trunk/src/wp-admin/about.php
- Timestamp:
- 04/16/2014 05:39:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r28146 r28150 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 12 wp_playlist_scripts( 'audio' ); 11 13 12 14 $title = __( 'About' ); … … 36 38 <div class="changelog"> 37 39 <div class="about-overview"> 38 <img class="about-overview-img" src="//wordpress.org/images/core/3.9/overview.png?0" /> 40 <?php 41 if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?> 42 <embed src="//v0.wordpress.com/player.swf?v=1.03" type="application/x-shockwave-flash" width="640" height="360" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=sAiXhCfV&isDynamicSeeking=true" title=""></embed> 43 <?php else : ?> 44 <img class="about-overview-img" src="//s.w.org/images/core/3.9/overview.png?0" /> 45 <?php endif; ?> 39 46 </div> 40 47 <h2 class="about-headline-callout"><?php _e( 'A smoother media editing experience' ); ?></h2> 41 48 <div class="feature-section col three-col"> 42 49 <div class="col-1"> 43 <img src="// wordpress.org/images/core/3.9/editor.jpg?0" />50 <img src="//s.w.org/images/core/3.9/editor.jpg?0" /> 44 51 <h4><?php _e( 'Improved visual editing' ); ?></h4> 45 52 <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' ); … … 47 54 </div> 48 55 <div class="col-2"> 49 <img src="// wordpress.org/images/core/3.9/image.jpg?0" />56 <img src="//s.w.org/images/core/3.9/image.gif?0" /> 50 57 <h4><?php _e( 'Edit images easily' ); ?></h4> 51 58 <p><?php _e( 'With quicker access to crop and rotation tools, it’s now much easier to edit your images while editing posts. You can also scale images directly in the editor to find just the right fit.' ); ?></p> 52 59 </div> 53 60 <div class="col-3 last-feature"> 54 <img src="// wordpress.org/images/core/3.9/drop.jpg?0" />61 <img src="//s.w.org/images/core/3.9/drop.jpg?0" /> 55 62 <h4><?php _e( 'Drag and drop your images' ); ?></h4> 56 63 <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p> … … 62 69 <div class="feature-section col two-col"> 63 70 <div class="col-1"> 64 <img src="// wordpress.org/images/core/3.9/gallery.jpg?0" />71 <img src="//s.w.org/images/core/3.9/gallery.jpg?0" /> 65 72 <h4><?php _e( 'Gallery previews' ); ?></h4> 66 73 <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p> 67 74 </div> 68 75 <div class="col-2 last-feature"> 69 <img src="//wordpress.org/images/core/3.9/gallery.jpg?0" /> 76 <div class="wp-playlist wp-audio-playlist wp-playlist-light"> 77 <div class="wp-playlist-current-item"></div> 78 <audio controls="controls" preload="metadata"></audio> 79 <div class="wp-playlist-next"></div> 80 <div class="wp-playlist-prev"></div> 81 <?php 82 $audio_icon_js = esc_js( includes_url( 'images/media/audio.png' ) ); 83 $wp_host = '//s.w.org/images/core/3.9/'; 84 ?> 85 86 <script type="application/json">{ 87 "type":"audio", 88 "tracklist":true, 89 "tracknumbers":true, 90 "images":true, 91 "artists":true, 92 "tracks":[{ 93 "src":"<?php echo $wp_host ?>AintMisbehavin.mp3", 94 "type":"audio\/mpeg","title":"Ain't Misbehavin'","caption":"","description":"", 95 "meta":{ 96 "artist":"Louis Armstrong & His Orchestra", 97 "album":"78 RPMs & Cylinder Recordings", 98 "genre":"Jazz", 99 "length_formatted":"3:21" 100 }, 101 "image":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240}, 102 "thumb":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240} 103 }, 104 { 105 "src":"<?php echo $wp_host ?>JellyRollMorton-BuddyBoldensBlues.mp3", 106 "type":"audio\/mpeg","title":"Buddy Bolden's Blues","caption":"","description":"", 107 "meta":{ 108 "artist":"Jelly Roll Morten", 109 "album":"78 RPMs & Cylinder Recordings", 110 "genre":"Jazz", 111 "length_formatted":"2:09" 112 }, 113 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 114 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 115 }, 116 { 117 "src":"<?php echo $wp_host ?>DavenportBlues.mp3", 118 "type":"audio\/mpeg","title":"Davenport Blues","caption":"","description":"", 119 "meta":{ 120 "artist":"Bix Beiderbecke & His Rhythm Jugglers", 121 "album":"78 RPMs & Cylinder Recordings", 122 "genre":"Jazz", 123 "length_formatted":"2:48" 124 }, 125 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 126 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 127 }, 128 { 129 "src":"<?php echo $wp_host ?>WolverineBlues.mp3", 130 "type":"audio\/mpeg","title":"Wolverine Blues","caption":"","description":"", 131 "meta":{ 132 "artist":"Benny Goodman's Boys", 133 "album":"78 RPMs & Cylinder Recordings", 134 "genre":"Jazz", 135 "length_formatted":"2:55" 136 }, 137 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 138 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 139 }, 140 { 141 "src":"<?php echo $wp_host ?>Louisiana_Five-Dixie_Blues-1919.mp3", 142 "type":"audio\/mpeg","title":"Dixie Blues","caption":"","description":"", 143 "meta":{ 144 "artist":"Louisiana Five", 145 "album":"78 RPMs & Cylinder Recordings", 146 "genre":"Jazz", 147 "length_formatted":"3:01" 148 }, 149 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 150 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 151 }, 152 { 153 "src":"<?php echo $wp_host ?>Johnny_Hodges_Orchestra-Squaty_Roo-1941.mp3", 154 "type":"audio\/mpeg","title":"Squaty Roo","caption":"","description":"", 155 "meta":{ 156 "artist":"Johnny Hodges Orchestra", 157 "album":"78 RPMs & Cylinder Recordings", 158 "genre":"Jazz", 159 "length_formatted":"2:24" 160 }, 161 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 162 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 163 }] 164 }</script> 165 </div> 70 166 <h4><?php _e( 'Do more with audio and video' ); ?></h4> 71 167 <p><?php _e( 'Images have galleries; now we’ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p> … … 79 175 <div class="feature-section col two-col"> 80 176 <div> 81 <img src="//wordpress.org/images/core/3.9/theme.jpg?0" /> 177 <?php 178 echo wp_video_shortcode( array( 179 'mp4' => '//s.w.org/images/core/3.9/widgets.mp4', 180 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv', 181 'webm' => '//s.w.org/images/core/3.9/widgets.webm', 182 'loop' => true, 183 'autoplay' => true, 184 'width' => 499 185 ) ); 186 ?> 82 187 <h4><?php _e( 'Live widget and header previews' ); ?></h4> 83 188 <p><?php _e( 'Add, edit, and rearrange your site’s widgets right in the theme customizer. No “save and surprise” — preview your changes live and only save them when you’re ready.' ); ?></p> … … 85 190 </div> 86 191 <div class="last-feature"> 87 <img src="// wordpress.org/images/core/3.9/theme.jpg?0" />192 <img src="//s.w.org/images/core/3.9/theme.jpg?0" /> 88 193 <h4><?php _e( 'Stunning new theme browser' ); ?></h4> 89 194 <p><?php _e( 'Looking for a new theme should be easy and fun. Lose yourself in the boundless supply of free WordPress.org themes with the beautiful new theme browser.' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.