Changeset 1615 for sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php
- Timestamp:
- 05/24/2015 08:06:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php
r465 r1615 1 1 <?php 2 $latest_release = $rosetta->rosetta->get_latest_release(); 3 if (false !== $latest_release): 2 global $rosetta; 3 $latest_release = $rosetta->rosetta->get_latest_release(); 4 if ( false !== $latest_release ) : 5 ?> 6 <p class="download-meta"> 7 <a class="button download-button button-large button-large" href="<?php echo $latest_release['zip_url']; ?>"> 8 <strong><?php 9 echo apply_filters( 'no_orphans', 10 sprintf( 11 __( 'Download WordPress %s', 'rosetta' ), 12 $latest_release['version'] 13 ) 14 ); 15 ?></strong> 16 </a> 17 <span><?php printf( __( '.zip — %s MB', 'rosetta' ), $latest_release['zip_size_mb'] ); ?></span> 18 </p> 19 20 <p class="download-tar"> 21 <a href="<?php echo $latest_release['targz_url']; ?>"><?php printf( 22 __( 'Download .tar.gz — %s MB', 'rosetta' ), 23 $latest_release['tar_size_mb'] ); 24 ?></a> 25 </p> 26 27 <h3><?php _e( 'More download options', 'rosetta' ); ?></h3> 28 <ul> 29 <li><a href="/releases/#latest"><?php _e( 'Other file formats', 'rosetta' ); ?></a></li> 30 <li><a href="/releases/#older"><?php _e( 'Older versions', 'rosetta' ); ?></a></li> 31 <li><a href="/releases/#beta"><?php _e( 'Beta & RC versions', 'rosetta' ); ?></a></li> 32 </ul> 33 <?php 34 endif; 4 35 ?> 5 36 6 <a class="download-button" href="<?php echo $latest_release['zip_url']; ?>"> 7 <strong><?php echo apply_filters( 'no_orphans', sprintf(__('Download WordPress %s', 'rosetta'), $latest_release['version']) ); ?></strong> 8 <br /> 9 <span><?php printf(__('.zip — %s MB', 'rosetta'), $latest_release['zip_size_mb']); ?></span> 10 </a> 11 <p class="download-tar"><a href="<?php echo $latest_release['targz_url']; ?>"><?php printf(__('Download .tar.gz — %s MB', 'rosetta'), $latest_release['tar_size_mb']);?></a></p> 37 <h3><?php _e( 'Resources', 'rosetta' ); ?></h3> 12 38 13 <h5><?php _e("More download options", 'rosetta'); ?></h5> 14 <ul> 15 <li><a href="/releases/#latest"><?php _e('Other file formats', 'rosetta'); ?></a></li> 16 <li><a href="/releases/#older"><?php _e('Older versions', 'rosetta'); ?></a></li> 17 <li><a href="/releases/#beta"><?php _e('Beta & RC versions', 'rosetta'); ?></a></li> 18 </ul> 19 <?php 20 endif; 21 ?> 22 <h5><?php _e('Resources', 'rosetta'); ?></h5> 39 <p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p> 23 40 24 <p><?php _e('For help with installing or using WordPress, consult our documentation in your language.', 'rosetta'); ?></p> 25 26 <ul> 27 <?php wp_list_bookmarks('categorize=0&category_before=&category_after=&title_li=&'); ?> 28 </ul> 29 41 <ul> 42 <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?> 43 </ul>
Note: See TracChangeset
for help on using the changeset viewer.