<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[465] sites/trunk/global.wordpress.org/public_html: International Sites: initial import of the Rosetta theme.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://meta.trac.wordpress.org/changeset/465">465</a></dd>
<dt>Author</dt> <dd>yoavf</dd>
<dt>Date</dt> <dd>2014-03-06 12:32:13 +0000 (Thu, 06 Mar 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>International Sites: initial import of the Rosetta theme. See <a href="http://meta.trac.wordpress.org/ticket/392">#392</a></pre>
<h3>Added Paths</h3>
<ul>
<li>sites/trunk/global.wordpress.org/public_html/wp-content/</li>
<li>sites/trunk/global.wordpress.org/public_html/wp-content/themes/</li>
<li>sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/</li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaarchivephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettacommentsphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettacontactphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadsidebarphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafooterphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/footer.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafunctionsphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaheaderphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php</a></li>
<li>sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/</li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbackgroundpng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbutton_bottompng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbutton_toppng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimageslogopng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesscreenpng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaindexphp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettapagephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettartlcss">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/rtl.css</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettascreenshotpng">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasinglephp">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php</a></li>
<li><a href="#sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettastylecss">sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/style.css</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaarchivephp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/archive.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+<?php get_header(); ?>
+ <div class="outer" id="mid-wrapper">
+ <div class="wrapper">
+ <div class="section blog">
+ <h3><?php _e('Blog', 'rosetta');?></h3>
+ </div>
+ </div>
+ </div>
+ <?php if (have_posts()) : ?>
+ <div class="wrapper">
+ <div class="section">
+ <h2 class="fancy"><?php printf(__('Archives for %s', 'rosetta'), get_the_time(__('F, Y', 'rosetta')));?></h2>
+ <a href="/#blog"><?php _e('« Back to blog', 'rosetta');?></a>
+ </div>
+ </div>
+ <?php while (have_posts()) : the_post(); ?>
+ <div class="wrapper">
+ <div class="section blog">
+ <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
+
+ <p><small><em><?php the_time(__('F j, Y', 'rosetta')); ?>, <?php the_author_link(); ?></em></small></p>
+
+ <?php the_content(__('Read the rest of this entry »', 'rosetta')); ?>
+
+ <?php comments_popup_link(); ?>
+ <div class="navigation">
+ <div class="nav-previous"><?php previous_posts_link(__('← Older Posts', 'rosetta')) ?></div>
+ <div class="nav-next"><?php next_posts_link(__('Newer Posts →', 'rosetta')) ?></div>
+ </div>
+
+ </div>
+ </div>
+
+ <?php endwhile; ?>
+ <?php endif; ?>
+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettacommentsphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/comments.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+<?php if ( $comments ) : ?>
+<h2 id="commentheader" class="fancy"><?php _e('Comments', 'rosetta'); ?></h2>
+<ol id="comments" class="commentlist">
+ <?php foreach ($comments as $comment) : ?>
+ <li id="comment-<?php comment_ID() ?>" class="comment">
+ <div class="narrow">
+ <span class="author"><?php echo preg_replace('%href=([\"|\'])(?!http://)%i', "href=$1http://", get_comment_author_link()); ?></span>
+ <span class="date"><?php comment_date(__('F j, Y', 'rosetta')) ?>, <?php comment_time(__('g:i a', 'rosetta')) ?></span>
+ <span class="permlink"><a href="#comment-<?php comment_ID() ?>" title="<?php esc_attr_e('Permanent link to this comment', 'rosetta'); ?>">#</a></span>
+ <?php edit_comment_link(__("Edit This", 'rosetta'), ''); ?>
+ </div>
+ <div class="wide">
+ <?php comment_text() ?>
+ </div>
+ </li>
+ <?php endforeach; ?>
+</ol>
+<?php endif; ?>
+
+<?php if ( comments_open() ) : ?>
+
+<form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
+ <h3><?php _e('Add a Comment', 'rosetta'); ?></h3>
+
+ <?php if ( $user_ID ) : ?>
+
+ <div id="loggedin"><?php printf(__('Logged in as %s.', 'rosetta'), '<a href="' . admin_url( 'profile.php' ) .'">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php esc_attr_e('Log out of this account.', 'rosetta') ?>"><?php _e('Logout »', 'rosetta'); ?></a></div>
+
+ <?php else : ?>
+
+ <div class="narrow">
+ <input id="author" name="author" type="text" value="<?php echo esc_attr( $comment_author ) ?>" tabindex="1" />
+ <label for="author"><?php _e('Name <em>(required)</em>', 'rosetta') ?></label>
+
+ <input id="email" name="email" type="text" value="<?php echo esc_attr( $comment_author_email ) ?>" tabindex="2" />
+ <label for="email"><?php _e('Email <em>(required)</em>', 'rosetta') ?></label>
+
+ <input id="url" name="url" type="text" value="<?php echo esc_attr( $comment_author_url ) ?>" tabindex="3" />
+ <label for="url"><?php _e('Web Site', 'rosetta') ?></label>
+ </div>
+
+<?php endif; ?>
+
+ <div class="wide">
+ <textarea id="comment" name="comment" cols="45" rows="8" tabindex="4"></textarea>
+ <input id="submit" name="submit" type="submit" value="<?php esc_attr_e('Post Comment »', 'rosetta') ?>" tabindex="5" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
+ </div>
+
+<?php do_action('comment_form', $post->ID); ?>
+
+</form> <!-- end commentform -->
+
+<?php else : // Comments are closed ?>
+<?php endif; ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettacontactphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/contact.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,209 @@
</span><ins>+<?php
+/*
+Template Name: Contact Page
+*/
+
+
+function rosetta_set_sender( &$phpmailer ) {
+ $phpmailer->Sender = $_POST['your_email'];
+}
+
+?>
+<?php get_header(); ?>
+<div class="wrapper">
+ <div class="section">
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+
+<?php
+if ($_POST['submit']) {
+
+// Check values
+$error = $your_name = $blog_name = $your_email = $blog_url = $message = false;
+if ('' == $_POST['your_name']) {
+ $your_name = true;
+ $error = true;
+}
+
+if (!validate_email($_POST['your_email'])) {
+ $your_email = true;
+ $error = true;
+}
+
+if ('' == $_POST['message']) {
+ $blog_description = true;
+ $error = true;
+}
+
+if ('' == $_POST['subject']) {
+ $subject = true;
+ $error = true;
+}
+
+if ($error) {
+?>
+<h3 id="return"><?php _e('Error', 'rosetta'); ?></h3>
+<p class="error"><?php _e('There seems to have been a problem with the information you entered. Please fix the field indicated and resubmit.', 'rosetta'); ?></p>
+<form id="contactme" method="post" action="/contact/#return">
+ <table id="form">
+<?php if ($your_name) { ?>
+ <tr class="error">
+ <td class="label"><label for="your_name"><?php _e('Your Name:', 'rosetta'); ?> </label></td>
+ <td><span><input name="your_name" type="text" id="your_name" value="<?php echo esc_attr( $_POST['your_name'], 1 ); ?>" /></span>
+ <?php _e('Let us know your name.', 'rosetta'); ?></td>
+ </tr>
+<?php } else { ?>
+ <tr>
+ <td class="label"><label for="your_name"><?php _e('Your Name:', 'rosetta'); ?></label></td>
+ <td><span><input name="your_name" type="text" id="your_name" value="<?php echo esc_attr( $_POST['your_name'], 1 ); ?>" /></span></td>
+ </tr>
+<?php } ?>
+
+<?php if ($your_email) { ?>
+ <tr class="error">
+ <td class="label"><label for="your_email"><?php _e('Your Email:', 'rosetta'); ?></label></td>
+ <td><span><input name="your_email" type="text" id="your_email" value="<?php echo esc_attr( $_POST['your_email'], 1 ); ?>" /></span>
+<?php _e('Your email address did not appear to be valid. Please check it.', 'rosetta'); ?></td>
+ </tr>
+<?php } else { ?>
+ <tr>
+ <td class="label"><label for="your_email"><?php _e('Your Email:', 'rosetta'); ?></label></td>
+ <td><span><input name="your_email" type="text" id="your_email" value="<?php echo esc_attr( $_POST['your_email'], 1 ); ?>" /></span></td>
+ </tr>
+<?php } ?>
+
+ <tr>
+ <td class="label"><label for="blog_url"><?php _e('URI of your blog:', 'rosetta'); ?></label></td>
+ <td><span><input name="blog_url" type="text" id="blog_url" value="<?php echo esc_attr( $_POST['blog_url'], 1 ); ?>" /></span></td>
+ </tr>
+<?php if ($subject) { ?>
+ <tr class="error">
+ <td class="label"><label for="subject"><?php _e('What’s this about?', 'rosetta'); ?></label></td>
+ <td><span><input name="subject" type="text" id="subject" value="<?php echo esc_attr( $_POST['subject'], 1 ); ?>" /></span> <?php _e('Write something!', 'rosetta'); ?></td>
+ </tr>
+<?php } else { ?>
+ <tr>
+ <td class="label"><label for="subject"><?php _e('What’s this about?', 'rosetta'); ?></label></td>
+ <td><span><input name="subject" type="text" id="subject" value="<?php echo esc_attr( $_POST['subject'], 1 ); ?>" /></span></td>
+ </tr>
+<?php } ?>
+
+<?php if ($blog_description) { ?>
+ <tr class="error">
+ <td class="label"><label for="message"><?php _e('Your Message:', 'rosetta'); ?></label></td>
+ <td><span class="message"><textarea name="message" id="message"><?php echo esc_textarea( $_POST['message'], 1 ); ?></textarea></span>
+<?php _e('Say something!', 'rosetta'); ?></td>
+ </tr>
+<?php } else { ?>
+ <tr>
+ <td class="label"><label for="message"><?php _e('Your Message:', 'rosetta'); ?></label></td>
+ <td><span class="message"><textarea name="message" id="message"><?php echo esc_textarea( $_POST['message'], 1 ); ?></textarea></span></td>
+ </tr>
+<?php } ?>
+ <tr class="submit">
+ <td class="label"></td>
+ <td><input type="submit" name="submit" value="<?php esc_attr_e('Submit Form Again', 'rosetta'); ?>" /></td>
+ </tr>
+ </table>
+</form>
+
+<?php } else { // If all the info is good
+
+// Akismet checking
+ $comment['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
+ $comment['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
+ $comment['referrer'] = $_SERVER['HTTP_REFERER'];
+ $comment['blog'] = home_url();
+ $comment['comment_type'] = 'contact_form';
+ $comment['comment_author'] = '';
+ $comment['comment_author_email'] = $_POST['your_email'];
+ $comment['comment_author_url'] = $_POST['blog_url'];
+ $comment['comment_content'] = stripslashes($_POST['message']);
+ $query_string = '';
+ foreach ( $comment as $key => $data )
+ $query_string .= $key . '=' . urlencode( stripslashes($data) ) . '&';
+ $response = akismet_http_post($query_string, $akismet_api_host, '/1.1/comment-check', $akismet_api_port);
+ if ( 'true' == $response[1] )
+ die();
+// end Akismet checking
+
+
+
+//sanitization
+ $message_data = array();
+ $message_data['ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
+ $message_data['name'] = sanitize_text_field( $_POST['your_name'] );
+ $message_data['email'] = sanitize_email( $_POST['your_email'] );
+ $message_data['blog_url'] = esc_url_raw( $_POST['blog_url'] );
+ $message_data['subject'] = sanitize_text_field( $_POST['subject'] );
+ $message_data['message'] = wp_kses( stripslashes( $_POST['message'] ), array() );
+
+// Let's send an email
+$message = $message_data['message'] . '
+--
+Name: ' . $message_data['name'] . '
+Email: ' . $message_data['email'] . '
+Blog URI: ' . $message_data['blog_url'] . '
+IP Address: ' . $message_data['ip'] . '
+Browser: ' . sanitize_text_field( $_SERVER['HTTP_USER_AGENT'] ) . '
+Sent From: ' . esc_url_raw( $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
+
+$headers = array();
+$headers[] = 'From: ' . $message_data['name'] . ' <' . $message_data['email'].'>';
+$headers[] = 'Return-Path: '. $message_data['email'];
+
+add_action('phpmailer_init', 'rosetta_set_sender');
+wp_mail(get_option('admin_email'), '[wordpress.org] ' . $message_data['subject'], $message, implode("\r\n", $headers));
+remove_action('phpmailer_init', 'rosetta_set_sender');
+?>
+<div id="return">
+<h3><?php _e('Submitted!', 'rosetta'); ?></h3>
+<p><strong><?php _e('Thank you!', 'rosetta'); ?></strong></p>
+</div>
+<?php } ?>
+<?php } else { ?>
+
+<h3><?php _e('Contact', 'rosetta'); ?></h3>
+<p><?php _e('You can contact translators and this site administrators via this form:', 'rosetta'); ?></p>
+<p><?php /* translators: feel free to add links to places, where one can get support in your language. */ _e('<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta');?></p>
+<form id="contactme" method="post" action="/contact/#return">
+ <table id="form">
+ <tr>
+ <td class="label"><label for="your_name"><?php _e('Your Name:', 'rosetta'); ?></label> <?php _e('(required)', 'rosetta'); ?></td>
+ <td><span><input name="your_name" type="text" id="your_name" /></span></td>
+ </tr>
+ <tr>
+ <td class="label"><label for="your_email"><?php _e('Your Email:', 'rosetta'); ?></label> <?php _e('(required)', 'rosetta'); ?></td>
+ <td><span><input name="your_email" type="text" id="your_email" /></span></td>
+ </tr>
+ <tr>
+ <td class="label"><label for="blog_url"><?php _e('URI of your blog:', 'rosetta'); ?></label></td>
+ <td><span><input name="blog_url" type="text" id="blog_url" /></span></td>
+ </tr>
+ <tr>
+ <td class="label"><label for="subject"><?php _e('What’s this about?', 'rosetta'); ?></label> <?php _e('(required)', 'rosetta'); ?></td>
+ <td><span><input name="subject" type="text" id="subject" /></span></td>
+ </tr>
+ <tr>
+ <td class="label"><label for="message"><?php _e('Tell us something:', 'rosetta'); ?></label> <?php _e('(required)', 'rosetta'); ?></td>
+ <td><span class="message"><textarea name="message" id="message"></textarea></span></td>
+ </tr>
+ <tr class="submit">
+ <td class="label"></td>
+ <td><input type="submit" name="submit" value="<?php esc_attr_e('Submit Contact Form', 'rosetta'); ?>" /></td>
+ </tr>
+ </table>
+</form>
+<?php } ?>
+
+ </div>
+ </div>
+ <?php endwhile; endif; ?>
+ </div>
+
+ </div><!-- .section -->
+</div><!-- .wrapper -->
+<script type="text/javascript">
+var your_name = document.getElementById('your_name');
+if (your_name) your_name.focus();
+</script>
+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadsidebarphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download-sidebar.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+<?php
+ $latest_release = $rosetta->rosetta->get_latest_release();
+ if (false !== $latest_release):
+?>
+
+ <a class="download-button" href="<?php echo $latest_release['zip_url']; ?>">
+ <strong><?php echo apply_filters( 'no_orphans', sprintf(__('Download WordPress %s', 'rosetta'), $latest_release['version']) ); ?></strong>
+ <br />
+ <span><?php printf(__('.zip — %s MB', 'rosetta'), $latest_release['zip_size_mb']); ?></span>
+ </a>
+ <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>
+
+ <h5><?php _e("More download options", 'rosetta'); ?></h5>
+ <ul>
+ <li><a href="/releases/#latest"><?php _e('Other file formats', 'rosetta'); ?></a></li>
+ <li><a href="/releases/#older"><?php _e('Older versions', 'rosetta'); ?></a></li>
+ <li><a href="/releases/#beta"><?php _e('Beta & RC versions', 'rosetta'); ?></a></li>
+ </ul>
+<?php
+ endif;
+?>
+ <h5><?php _e('Resources', 'rosetta'); ?></h5>
+
+ <p><?php _e('For help with installing or using WordPress, consult our documentation in your language.', 'rosetta'); ?></p>
+
+ <ul>
+ <?php wp_list_bookmarks('categorize=0&category_before=&category_after=&title_li=&'); ?>
+ </ul>
+
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettadownloadphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/download.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+<?php
+/*
+Template Name: Releases page
+*/
+
+get_header();
+$releases = $rosetta->rosetta->get_releases_breakdown();
+?>
+ <div class="wrapper">
+ <div class="section releases">
+<?php
+ if (!empty($releases)):
+ if (isset($releases['latest'])):
+ release_row(null, null, null, true);
+?>
+ <h3 id="latest"><?php _e('Latest release', 'rosetta'); ?></h3>
+ <table class="releases latest">
+ <?php echo release_row($releases['latest'], 'alt'); ?>
+ </table>
+<?php
+ endif;
+ if (is_array($releases['branches'])):
+?>
+ <a name="older" id="older"></a>
+<?php
+ foreach ($releases['branches'] as $branch => $branch_rels):
+ release_row(null, null, null, true);
+?>
+ <h3><?php printf(__('%s Branch', 'rosetta'), $branch);?></h3>
+ <table class="releases">
+<?php
+ foreach($branch_rels as $release):
+?>
+ <?php release_row($release, 'alt');?>
+<?php
+ endforeach;
+?>
+ </table>
+<?php
+ endforeach;
+ endif; # any branches
+ if (is_array($releases['betas'])):
+?>
+ <h3 id="betas"><?php _e('Beta & RC releases', 'rosetta'); ?></h3>
+ <table id="beta" class="releases">
+<?php
+ release_row(null, null, null, true);
+ foreach($releases['betas'] as $release):
+?>
+ <?php release_row($release, 'alt', 'beta-first');?>
+<?php
+ endforeach;
+?>
+ </table>
+
+<?php
+ endif; # any betas
+ else: # no releases
+?>
+ <p><?php _e('There are no releases'); ?></p>
+<?php endif; # if releases?>
+ </div>
+ </div>
+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafooterphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/footer.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/footer.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/footer.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+ <div class="wrapper">
+ <div id="footer">
+ <p><?php _e('Code is Poetry.', 'rosetta'); ?></p>
+ </div>
+ </div>
+ <?php wp_footer(); ?>
+ </body>
+</html>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettafunctionsphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,72 @@
</span><ins>+<?php
+
+
+function rosetta_after_setup_theme() {
+ add_theme_support( 'automatic-feed-links' );
+
+ add_theme_support( 'custom-header', array(
+ 'default-image' => false,
+ 'header-text' => false,
+ 'width' => 466,
+ 'height' => 303,
+ ) );
+
+ register_nav_menu( 'rosetta_main', __( 'Main Menu', 'rosetta' ) );
+}
+add_action( 'after_setup_theme', 'rosetta_after_setup_theme' );
+
+function rosetta_wp_page_menu_args( $args ) {
+ $args['show_home'] = true;
+ return $args;
+}
+add_filter( 'wp_page_menu_args', 'rosetta_wp_page_menu_args' );
+
+function rosetta_admin_footer_nav_menus() {
+ echo '<script> wpNavMenu.options.globalMaxDepth = 0; </script>';
+}
+add_action( 'admin_footer-nav-menus.php', 'rosetta_admin_footer_nav_menus' );
+
+function release_row( $release, $alt_class=false, $first_of_branch_class=false, $reset = false) {
+ static $even = true;
+ static $last_branch='';
+
+ if ($reset) {
+ $even = true;
+ $last_branch = '';
+ return;
+ }
+ $classes = array();
+ if (!$even && $alt_class) {
+ $classes[] = $alt_class;
+ }
+ $even = !$even;
+ if ($release['branch'] != $last_branch && $first_of_branch_class) {
+ $classes[] = $first_of_branch_class;
+ }
+ $last_branch = $release['branch'];
+ $classes_str = implode(' ', $classes);
+ print "<tr class='$classes_str'>";
+ print "\t<td>".$release['version']."</td>";
+ print "\t<td>".date_i18n(__('Y-M-d', 'rosetta'), $release['builton'])."</td>";
+ print "\t<td><a href='".$release['zip_url']."'>zip</a> <small>(<a href='".$release['zip_url'].".md5'>md5</a>)</small></td>";
+ print "\t<td><a href='".$release['targz_url']."'>tar.gz</a> <small>(<a href='".$release['targz_url'].".md5'>md5</a>)</small></td>";
+ print "</tr>";
+
+}
+
+function is_locale_css() {
+ global $rosetta;
+ return file_exists( WP_LANG_DIR . '/css/' . $rosetta->locale . '.css' );
+}
+
+function get_locale_css_url() {
+ global $rosetta;
+ return set_url_scheme( WP_LANG_URL . '/css/' . $rosetta->locale . '.css?' . filemtime( WP_LANG_DIR . '/css/' . $rosetta->locale . '.css' ) );
+}
+
+// Makes final space a non-breaking one, to prevent orphaned word.
+function rosetta_orphan_control( $string ) {
+ return substr_replace( $string, ' ', strrpos( $string, ' ' ), 1 );
+}
+add_filter( 'no_orphans', 'rosetta_orphan_control' );
+
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaheaderphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+<?php
+
+global $pagetitle;
+$pagetitle = get_bloginfo( 'name', 'display' ) . wp_title( '«', false, 'left' );
+
+$GLOBALS['wporg_global_header_options'] = array(
+ 'rosetta_site' => get_bloginfo( 'name', 'display' ),
+ 'search' => false,
+ 'menu' => wp_nav_menu( array( 'theme_location' => 'rosetta_main', 'container' => false, 'echo' => false ) ),
+);
+
+wp_enqueue_style( 'rosetta', get_bloginfo( 'stylesheet_url' ), array(), 14, 'screen' );
+if ( is_locale_css() ) {
+ wp_enqueue_style( 'rosetta-locale', get_locale_css_url(), array(), 1 );
+}
+
+require WPORGPATH . 'header.php';
+
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbackgroundpng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/background.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbutton_bottompng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_bottom.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesbutton_toppng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/button_top.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimageslogopng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/logo.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaimagesscreenpng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/images/screen.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettaindexphp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,126 @@
</span><ins>+<?php get_header(); ?>
+ <div class="outer" id="mid-wrapper">
+ <div class="wrapper">
+ <div class="section">
+<?php
+ query_posts('pagename=txt-welcome');
+ while(have_posts()):
+ the_post();
+?>
+ <h3><?php the_title(); ?></h3>
+
+<?php
+ $hw = image_hwstring( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT );
+ if ( ! $header_image = get_header_image() ) {
+ $header_image = content_url( '/languages/shots/shot-' . $rosetta->locale . '.png' );
+ $hw = '';
+ }
+?>
+ <img class="shot" <?php echo $hw; ?>src="<?php echo esc_url( $header_image ); ?>" alt="Localized version screenshot" />
+ <?php the_content(); ?>
+<?php endwhile; ?>
+ </div>
+ </div>
+ </div>
+<?php
+ $latest_release = $rosetta->rosetta->get_latest_release();
+ if (false !== $latest_release):
+?>
+ <div class="wrapper">
+ <div class="section">
+ <div class="main">
+<?php
+ query_posts('pagename=txt-download');
+ while(have_posts()):
+ the_post();
+?>
+ <h3><?php the_title(); ?></h3>
+ <?php the_content(); ?>
+<?php endwhile; ?>
+ </div>
+ <div class="sidebar">
+<?php
+ require_once dirname( __FILE__ ) . '/download-sidebar.php';
+?>
+ </div>
+ </div>
+ </div>
+<?php
+ endif; # at least one no-beta release
+ $showcase = $rosetta->showcase->front();
+ if ( $showcase ) :
+?>
+ <div class="wrapper">
+ <div class="section">
+ <h3><?php _e( 'Showcase', 'rosetta' ); ?></h3>
+ <ul id="showcase">
+<?php
+ foreach ( $showcase as $item ) :
+ $url = get_permalink( $item->ID );
+?>
+ <li>
+ <a class="shot" href="<?php echo esc_url( $url ); ?>">
+ <img src="<?php echo esc_url( $rosetta->screenshot_url( $url, 230 ) ); ?>" width="230" alt="screenshot" />
+ </a>
+ <?php echo esc_html( $item->post_title ); ?>
+ <br />
+ <a href="<?php echo esc_url( $url ); ?>"><?php _e( 'Visit the site →', 'rosetta' ); ?></a>
+ </li>
+<?php
+ endforeach;
+?>
+ </ul>
+ </div>
+ </div>
+<?php
+ elseif( current_user_can('edit_posts') ):
+?>
+ <div class="wrapper">
+ <div class="section">
+ <h3><?php _e('Showcase', 'rosetta'); ?></h3>
+ <span id="showcase-front-slate">You can <a href="<?php echo admin_url('edit.php?post_type=showcase'); ?>">add notable sites</a> in your language and screenshot and description of random three of them will show here.</span>
+ </div>
+ </div>
+<?php
+ endif;
+?>
+<?php
+ query_posts('pagename=txt-install');
+ while(have_posts()):
+ the_post();
+?>
+ <div class="wrapper">
+ <div class="section">
+ <h3><?php the_title(); ?></h3>
+ <?php the_content(); ?>
+ </div>
+ </div>
+<?php endwhile; ?>
+ <div class="wrapper">
+ <div id="blog" class="section">
+ <div class="main">
+ <h3><?php _e('Blog', 'rosetta'); ?></h3>
+<?php
+ wp_reset_query();
+ while (have_posts()) : the_post();
+?>
+ <div class="post" id="post-<?php the_ID(); ?>">
+ <h4><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( esc_attr__('Permanent Link to %s', 'rosetta'), get_the_title()); ?>"><?php the_title(); ?></a></h4>
+ <h6><?php the_time(__('F j, Y', 'rosetta')); ?></h6>
+ <div class="entry">
+ <?php the_excerpt(); ?>
+ </div>
+ </div>
+<?php endwhile; ?>
+ </div>
+
+ <div class="sidebar">
+ <h5><?php _e('Blog Archives', 'rosetta'); ?></h5>
+ <ul>
+ <?php wp_get_archives('type=monthly&limit=12'); ?>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettapagephp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/page.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<?php get_header(); ?>
+ <div class="wrapper">
+ <div class="section">
+<?php
+ while(have_posts()):
+ the_post();
+?>
+ <div class="main">
+ <h3><?php the_title(); ?></h3>
+
+ <?php the_content(); ?>
+ </div>
+
+ <div class="sidebar">
+<?php
+ include 'download-sidebar.php';
+?>
+ </div>
+ </div>
+ </div>
+<?php
+ endwhile;
+ get_footer();
+?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettartlcss"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/rtl.css (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/rtl.css (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/rtl.css 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+/* Better RTL for Rosetta WP theme */
+
+#footer { margin-left: 0; }
+
+.section img.shot {
+ float: left; margin: 0 25px 5px 0; }
+
+.main { float: right; padding: 0 0 0 30px; }
+
+.download-button span, .download-tar { direction: ltr; unicode-bidi: embed; }
+
+h4, h6 { float: none; margin-right: 0; }
+
+ul, ol { margin: 0 25px 0 0; }
+#wporg-header ul { margin-right: 0; }
+
+.narrow { float: right; margin: 0 0 0 20px; }
+
+span.author { display: block; }
+
+#footer p { direction: ltr; text-align: left; }
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettascreenshotpng"></a>
<div class="binary"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png 2014-03-06 07:28:41 UTC (rev 464)
</del><ins>+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png 2014-03-06 12:32:13 UTC (rev 465)
</ins><span class="cx">Property changes on: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/screenshot.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+application/octet-stream
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettasinglephp"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+<?php get_header(); ?>
+ <div class="outer" id="mid-wrapper">
+ <div class="wrapper">
+ <div class="section blog">
+ <h3><?php _e('Blog', 'rosetta');?></h3>
+ </div>
+ </div>
+ </div>
+ <?php if (have_posts()) : ?>
+ <?php while (have_posts()) : the_post(); ?>
+ <div class="wrapper">
+ <div class="section blog">
+ <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
+
+ <p><small><em><?php the_time(__('F j, Y', 'rosetta')); ?>, <?php the_author_link(); ?></em></small></p>
+
+ <?php the_content(__('Read the rest of this entry »', 'rosetta')); ?>
+
+ <?php comments_template(); ?>
+ <div class="navigation">
+ <div class="nav-previous"><?php previous_post_link('← %link') ?></div>
+ <div class="nav-next"><?php next_post_link('%link →') ?></div>
+ </div>
+
+ </div>
+ </div>
+
+ <?php endwhile; ?>
+
+ <?php endif; ?>
+<?php get_footer(); ?>
</ins></span></pre></div>
<a id="sitestrunkglobalwordpressorgpublic_htmlwpcontentthemesrosettastylecss"></a>
<div class="addfile"><h4>Added: sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/style.css (0 => 465)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/style.css (rev 0)
+++ sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/style.css 2014-03-06 12:32:13 UTC (rev 465)
</span><span class="lines">@@ -0,0 +1,399 @@
</span><ins>+/*
+Theme Name: Rosetta
+Theme URI: http://wordpress.org
+Version: 1.0
+Description: The default theme for new official foreign-language WordPress sites.
+Author: Matt Thomas
+*/
+
+/* The Reset ---------------------------------- */
+/* -------------------------------------------- */
+body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,
+h6,pre,form,fieldset,input,p,blockquote,table,
+th,td { margin: 0; padding: 0; }
+fieldset,img,abbr { border: 0; }
+address,caption,cite,code,dfn,em,h1,h2,h3,
+h4,h5,h6,th,var { font-style: normal; font-weight: normal; }
+caption,th { text-align: left; }
+q:before,q:after { content: ''; }
+a { text-decoration: none; }
+ul { list-style: none; }
+
+/* STRUCTURE AND PAGEBODY */
+
+body {
+ color: #555;
+ margin: 0;
+ padding: 0;
+ font-size: 13px;
+ font-family: "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
+}
+pre a { font-weight: normal; }
+
+a { color: #2583ad; text-decoration: none; font-weight: bold; }
+
+a:hover, a:active { color: #d54e21; }
+
+h3 {
+ font-size: 25px;
+ color: #555;
+ margin-bottom: 16px;
+ font-family: Georgia,Times,"Times New Roman",serif;
+ font-weight: normal;
+}
+h4 {
+ font-size: 15px;
+ float: left;
+ margin-right: 7px;
+}
+h6 {
+ padding-top: 2px;
+ color: #999;
+ font: 11px/1.8em "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
+ float: left;
+ font-style: italic;
+}
+h5 {
+ margin-top: 30px;
+ font-size: 14px;
+ font-weight: bold;
+ padding: 4px 0;
+}
+p {
+ font-size: 13px;
+ line-height: 1.6em;
+ margin-top: 16px;
+ margin-bottom: 16px;
+}
+em {
+ font-style: italic;
+}
+ul {
+ list-style-type: square;
+}
+ul, ol {
+ margin-left: 25px;
+}
+#wporg-header ul {
+ margin-left: 0;
+}
+ul li, ol li {
+ line-height: 1.6em;
+}
+blockquote {
+ margin-left: 40px;
+ font-style: italic;
+ font-family: Georgia,Times,"Times New Roman",serif;
+}
+.wrapper {
+ width: 960px;
+ margin: 0 auto;
+ padding: 0;
+}
+.outer {
+ width: 100%;
+ margin: 0 auto;
+ padding: 0;
+}
+#mid-wrapper {
+ background-color: #f7f7f7;
+ border-bottom: 1px solid #dfdfdf;
+}
+.section {
+ padding-top: 27px;
+ padding-bottom: 17px;
+ clear: both;
+ width: 960px;
+ border-bottom: 1px solid #DADADA;
+}
+#mid-wrapper .section {
+ border-bottom: none;
+}
+.section:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
+.section img.shot {
+ float: right;
+ border: 1px solid #ccc;
+ padding: 2px;
+ margin: 0 0 5px 25px;
+}
+img.wp-smiley {
+ border: 0;
+ display: inline;
+ float: none;
+ margin: 0;
+ padding: 0;
+ vertical-align: text-top;
+}
+.main {
+ width: 685px;
+ padding-right: 50px;
+ float: left;
+}
+.sidebar {
+ width: 225px;
+ float: left;
+ font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
+}
+.sidebar p {
+ font-size: 10px;
+ line-height: 1.6em;
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.sidebar ul {
+ font-size: 12px;
+ margin-left: 15px;
+ margin-top: 10px;
+}
+
+.download-button {
+ white-space: normal;
+ height: auto;
+ display: block;
+ text-align: center;
+ line-height: 1.6em;
+ padding: 8px 10px;
+}
+
+.download-button strong {
+ font-size: 13px;
+}
+.download-button span {
+ font-weight: normal;
+}
+.download-tar {
+ font-size: 10px;
+ text-align: center;
+ margin-bottom: 14px !important;
+}
+
+#footer {
+ clear: both;
+ margin-left: 102px;
+ margin-bottom: 60px;
+ text-align: right;
+ letter-spacing: 0.3em;
+ text-transform: uppercase;
+}
+#footer p {
+ margin-top: 7px;
+ font-size: 13px;
+}
+form#commentform {
+ margin-top: 40px;
+ width: 100%;
+}
+h2.fancy, h2.fancy a {
+ font-size: 18px;
+ color: #555;
+}
+#commentheader {
+ margin-top: 40px;
+}
+#commentform input {
+ width: 90%;
+ margin-bottom: 3px;
+}
+#commentform textarea {
+ height: 20em;
+ margin-bottom: 5px;
+ width: 100%;
+}
+#commentform label {
+ padding-bottom: 12px;
+ display: block;
+ font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
+}
+.narrow {
+ width: 180px;
+ margin-right: 20px;
+ float: left;
+}
+.wide {
+ width: 640px;
+ float: left;
+}
+#commentform .wide {
+ margin-bottom: 40px;
+}
+ol#comments {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+ol#comments p {
+ margin-top: 3px;
+}
+ol#comments .narrow {
+ font: 11px/1.8em "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
+ padding-top: 5px;
+}
+#loggedin {
+ font: 11px/1.8em "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
+ margin-bottom: 5px;
+}
+ol#comments .narrow .author {
+ font-size: 14px;
+}
+li.comment {
+ clear: both;
+ padding: 10px 0 20px;
+ border-bottom: 1px solid #ccc;
+ height: 100%;
+}
+li.comment:after {
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
+}
+input#submit {
+ width: 150px;
+}
+table.releases {
+ clear: left;
+ margin: 5px 5px 24px 5px;
+}
+table.releases td {
+ width: 120px;
+ text-align: center;
+ padding: 8px;
+}
+table.releases tr {
+ background-color: rgb(238, 238, 238);
+ text-align: center;
+}
+table.releases tr.alt {
+ background-color: white;
+}
+table.releases tr.beta-first {
+ font-weight: bold;
+}
+table.releases small, table.releases small a {
+ font-size: 9px;
+}
+table.latest tr {
+ background-color: #d54e21;
+ color: white;
+}
+table.latest a {
+ color: white;
+ font-weight: bold;
+}
+table.latest a:hover {
+ text-decoration: underline;
+}
+div .entry {
+ clear: left;
+}
+.releases h3 {
+ margin-bottom: 8px;
+}
+.section.blog h2 {
+ font-size: 18px;
+ margin-bottom: 8px;
+}
+.navigation {
+ clear: left;
+}
+.nav-previous {
+ float: left;
+}
+.nav-next {
+ float: right;
+}
+
+table.widefat {
+ border: 1px solid #ccc;
+ border-collapse: collapse;
+ width: 100%;
+ clear: both;
+ margin-bottom: 11px;
+}
+
+table.widefat a {
+ text-decoration: none;
+}
+
+table.widefat tr.alt {
+ background-color: #f9f9f9;
+}
+
+table.widefat thead {
+ background-color: #464646;
+ color: #d7d7d7;
+}
+
+table.widefat td, table.widefat th {
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+ border-bottom-color: #ccc;
+ font-size: 12px;
+ padding: 6px;
+ vertical-align: text-top;
+}
+
+table.widefat th {
+ padding-bottom: 4px;
+ padding-top: 8px;
+ text-align: left;
+}
+
+table.widefat .check-column {
+ text-align: center;
+ vertical-align: text-top;
+ width: 3%;
+}
+form#contactme td {
+ padding: 6px;
+}
+form#contactme input, textarea {
+ padding: 3px;
+}
+form#contactme input {
+ width: 20em;
+}
+form#contactme textarea {
+ width: 30em;
+ height: 10em;
+ line-height: 1.5em;
+}
+tr.error {
+ background-color: #E4F2FD;
+}
+#showcase {
+ text-align: center;
+ margin: 0 -7px 0 0;
+ font-size: 85%;
+}
+#showcase li {
+ float: left;
+ list-style-type: none;
+ display: block;
+ margin-right: 7px;
+ width: 235px;
+}
+#showcase li:last-child {
+ margin-right: 0;
+}
+#showcase a.shot {
+ display: block;
+ margin-bottom: 6px;
+ background-color: rgb(245, 245, 245);
+ border: 1px solid rgb(204, 204, 204);
+ padding: 0;
+}
+#showcase a {
+ font-size: 110%;
+}
+span#showcase-front-slate {
+ font-style: italic;
+ font-weight: bold;
+}
</ins></span></pre>
</div>
</div>
</body>
</html>