Changeset 43938
- Timestamp:
- 11/22/2018 06:02:35 PM (6 years ago)
- Location:
- branches/5.0/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/css/about.css
r43913 r43938 477 477 } 478 478 479 .freedoms-php .about-wrap .col .freedoms-image { 480 background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png'); 481 background-size: 100%; 482 padding-top: 100%; 483 } 484 .freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image { 485 background-position: 0 34%; 486 } 487 .freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image { 488 background-position: 0 66%; 489 } 490 .freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image { 491 background-position: 0 100%; 492 } 493 479 494 /*------------------------------------------------------------------------------ 480 495 4.0 - Media Queries … … 508 523 min-width: 48% !important; 509 524 } 510 525 511 526 .about-wrap .eight-col .col { 512 527 min-width: 24% !important; … … 519 534 margin: 0 auto; 520 535 } 521 536 522 537 .about-wrap figcaption { 523 538 position: relative; -
branches/5.0/src/wp-admin/freedoms.php
r43937 r43938 46 46 <?php else : ?> 47 47 <div class="about-wrap-content"> 48 <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p> 48 <div class="feature-section one-col"> 49 <div class="col"> 50 <h2><?php _e( 'Freedoms' ); ?></h2> 51 <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p> 52 </div> 53 </div> 49 54 50 <ol start="0"> 51 <li><p><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></p></li> 52 <li><p><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></p></li> 53 <li><p><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></p></li> 54 <li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li> 55 </ol> 55 <div class="feature-section four-col"> 56 <div class="col"> 57 <div class="freedoms-image"></div> 58 <h3><?php _e( 'The 1st Freedom' ); ?></h3> 59 <p><?php _e( 'To run the program for any purpose.' ); ?></p> 60 </div> 61 <div class="col"> 62 <div class="freedoms-image"></div> 63 <h3><?php _e( 'The 2nd Freedom' ); ?></h3> 64 <p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p> 65 </div> 66 <div class="col"> 67 <div class="freedoms-image"></div> 68 <h3><?php _e( 'The 3rd Freedom' ); ?></h3> 69 <p><?php _e( 'To redistribute.' ); ?></p> 70 </div> 71 <div class="col"> 72 <div class="freedoms-image"></div> 73 <h3><?php _e( 'The 4th Freedom' ); ?></h3> 74 <p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p> 75 </div> 76 </div> 56 77 57 <p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p> 78 <div class="feature-section one-col"> 79 <div class="col"> 80 <p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p> 58 81 59 <p><?php82 <p><?php 60 83 61 $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );62 $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );84 $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' ); 85 $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' ); 63 86 64 printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p>87 printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?></p> 65 88 66 <p><?php _e( 'Don’t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p> 89 <p><?php _e( 'Don’t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p> 90 </div> 91 </div> 67 92 </div> 68 93
Note: See TracChangeset
for help on using the changeset viewer.