Make WordPress Core


Ignore:
Timestamp:
04/16/2014 05:39:18 PM (11 years ago)
Author:
nacin
Message:

Final about page.

props melchoyce, helen, wonderboymusic, nacin, and the illustrious Michael Pick.
fixes #27713, #27837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r28146 r28150  
    99/** WordPress Administration Bootstrap */
    1010require_once( dirname( __FILE__ ) . '/admin.php' );
     11
     12wp_playlist_scripts( 'audio' );
    1113
    1214$title = __( 'About' );
     
    3638<div class="changelog">
    3739    <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&amp;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; ?>
    3946    </div>
    4047    <h2 class="about-headline-callout"><?php _e( 'A smoother media editing&nbsp;experience' ); ?></h2>
    4148    <div class="feature-section col three-col">
    4249        <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" />
    4451            <h4><?php _e( 'Improved visual editing' ); ?></h4>
    4552            <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' );
     
    4754        </div>
    4855        <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" />
    5057            <h4><?php _e( 'Edit images easily' ); ?></h4>
    5158            <p><?php _e( 'With quicker access to crop and rotation tools, it&#8217;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>
    5259        </div>
    5360        <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" />
    5562            <h4><?php _e( 'Drag and drop your images' ); ?></h4>
    5663            <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p>
     
    6269    <div class="feature-section col two-col">
    6370        <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" />
    6572            <h4><?php _e( 'Gallery previews' ); ?></h4>
    6673            <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p>
    6774        </div>
    6875        <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>
    70166            <h4><?php _e( 'Do more with audio and video' ); ?></h4>
    71167            <p><?php _e( 'Images have galleries; now we&#8217;ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p>
     
    79175    <div class="feature-section col two-col">
    80176        <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            ?>
    82187            <h4><?php _e( 'Live widget and header previews' ); ?></h4>
    83188            <p><?php _e( 'Add, edit, and rearrange your site&#8217;s widgets right in the theme customizer. No &#8220;save and surprise&#8221; &mdash; preview your changes live and only save them when you&#8217;re ready.' ); ?></p>
     
    85190        </div>
    86191        <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" />
    88193            <h4><?php _e( 'Stunning new theme browser' ); ?></h4>
    89194            <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.