| | 1 | <?php |
| | 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; |
| | 35 | ?> |
| | 36 | |
| | 37 | <h3><?php _e( 'Resources', 'rosetta' ); ?></h3> |
| | 38 | |
| | 39 | <p><?php _e( 'For help with installing or using WordPress, consult our documentation in your language.', 'rosetta' ); ?></p> |
| | 40 | |
| | 41 | <ul> |
| | 42 | <?php wp_list_bookmarks( 'categorize=0&category_before=&category_after=&title_li=&' ); ?> |
| | 43 | </ul> |