Add theme back

This commit is contained in:
Nick Bebout 2010-12-25 13:23:08 -06:00
parent 01082395a4
commit 1dc30ecd8b
17 changed files with 1051 additions and 0 deletions

View file

@ -0,0 +1,116 @@
<?php
/* Don't remove these lines. */
add_filter('comment_text', 'popuplinks');
while( have_posts()) : the_post();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo get_option('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
body { margin: 3px; }
</style>
</head>
<body id="commentspopup">
<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
<h2 id="comments"><?php _e("Comments"); ?></h2>
<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p>
<?php if ('open' == $post->ping_status) { ?>
<p><?php _e("The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
<?php } ?>
<?php
// this line is WordPress' motor, do not delete it.
$commenter = wp_get_current_commenter();
extract($commenter);
$comments = get_approved_comments($id);
$commentstatus = get_post($id);
if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie
echo(get_the_password_form());
} else { ?>
<?php if ($comments) { ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) { ?>
<li id="comment-<?php comment_ID() ?>">
<?php comment_text() ?>
<p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
</li>
<?php } // end for each comment ?>
</ol>
<?php } else { // this is displayed if there are no comments so far ?>
<p><?php _e("No comments yet."); ?></p>
<?php } ?>
<?php if ('open' == $commentstatus->comment_status) { ?>
<h2><?php _e("Leave a comment"); ?></h2>
<p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php echo attribute_escape(__('Log out of this account')); ?>"><?php _e('Log out &raquo;'); ?></a></p>
<?php else : ?>
<p>
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
<label for="author"><?php _e("Name"); ?></label>
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
</p>
<p>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
<label for="email"><?php _e("E-mail"); ?></label>
</p>
<p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
<label for="url"><?php _e("<abbr title=\"Universal Resource Locator\">URL</abbr>"); ?></label>
</p>
<?php endif; ?>
<p>
<label for="comment"><?php _e("Your Comment"); ?></label>
<br />
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
</p>
<p>
<input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php } else { // comments are closed ?>
<p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
<?php }
} // end password check
?>
<div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div>
<?php // if you delete this the sky will fall on your head
endwhile;
?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php //} ?>
<p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>WordPress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p>
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
<script type="text/javascript">
<!--
document.onkeypress = function esc(e) {
if(typeof(e) == "undefined") { e=event; }
if (e.keyCode == 27) { self.close(); }
}
// -->
</script>
</body>
</html>

View file

@ -0,0 +1,76 @@
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
<?php if ( comments_open() ) : ?>
<a href="#postcomment" title="<?php _e("Leave a comment"); ?>">&raquo;</a>
<?php endif; ?>
</h2>
<?php if ( $comments ) : ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID() ?>">
<?php echo get_avatar( $comment, 32 ); ?>
<?php comment_text() ?>
<p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
</li>
<?php endforeach; ?>
</ol>
<?php else : // If there are no comments yet ?>
<p><?php _e('No comments yet.'); ?></p>
<?php endif; ?>
<p><?php post_comments_feed_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?>
<?php if ( pings_open() ) : ?>
<a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a>
<?php endif; ?>
</p>
<?php if ( comments_open() ) : ?>
<h2 id="postcomment"><?php _e('Leave a comment'); ?></h2>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Log out &raquo;'); ?></a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website'); ?></small></label></p>
<?php endif; ?>
<!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>-->
<p><textarea name="comment" id="comment" cols="75%" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo attribute_escape(__('Submit Comment')); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
<?php endif; ?>

View file

@ -0,0 +1,363 @@
/*
Theme Name: WordPress Classic
Theme URI: http://wordpress.org/
Description: The original WordPress theme that graced versions 1.2.x and prior.
Version: 1.5
Author: Dave Shea
Tags: mantle color, variable width, two columns, widgets
Default WordPress by Dave Shea || http://mezzoblue.com
Modifications by Matthew Mullenweg || http://photomatt.net
This is just a basic layout, with only the bare minimum defined.
Please tweak this and make it your own. :)
*/
a {
color: #675;
}
a img {
border: none;
}
a:visited {
color: #342;
}
a:hover {
color: #9a8;
}
acronym, abbr {
border-bottom: 1px dashed #333;
}
acronym, abbr, span.caps {
font-size: 90%;
letter-spacing: .07em;
}
acronym, abbr {
cursor: help;
}
blockquote {
border-left: 5px solid #ccc;
margin-left: 1.5em;
padding-left: 5px;
}
body {
background: #fff;
border: 2px solid #565;
border-bottom: 1px solid #565;
border-top: 3px solid #565;
color: #000;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
margin: 0;
padding: 0;
}
cite {
font-size: 90%;
font-style: normal;
}
h2 {
border-bottom: 1px dotted #ccc;
font: 95% "Times New Roman", Times, serif;
letter-spacing: 0.2em;
margin: 15px 0 2px 0;
padding-bottom: 2px;
}
h3 {
border-bottom: 1px dotted #eee;
font-family: "Times New Roman", Times, serif;
margin-top: 0;
}
ol#comments li p {
font-size: 100%;
}
p, li, .feedback {
font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
letter-spacing: -1px;
}
/* classes used by the_meta() */
ul.post-meta {
list-style: none;
}
ul.post-meta span.post-meta-key {
font-weight: bold;
}
.credit {
background: #90a090;
border-top: 3px double #aba;
color: #fff;
font-size: 11px;
margin: 10px 0 0 0;
padding: 3px;
text-align: center;
}
.credit a:link, .credit a:hover {
color: #fff;
}
.feedback {
color: #ccc;
text-align: right;
clear: both;
}
.meta {
font-size: .75em;
}
.meta li, ul.post-meta li {
display: inline;
}
.meta ul {
display: inline;
list-style: none;
margin: 0;
padding: 0;
}
.meta, .meta a {
color: #808080;
font-weight: normal;
letter-spacing: 0;
}
.storytitle {
margin: 0;
}
.storytitle a {
text-decoration: none;
}
#commentform #author, #commentform #email, #commentform #url, #commentform textarea {
background: #fff;
border: 1px solid #333;
padding: .2em;
}
#commentform textarea {
width: 100%;
}
#commentlist li ul {
border-left: 1px solid #ddd;
font-size: 110%;
list-style-type: none;
}
#commentlist li .avatar {
float: right;
margin-right: 25px;
border: 1px dotted #ccc;
padding: 2px;
}
#content {
margin: 30px 13em 0 3em;
padding-right: 60px;
}
#header {
background: #90a090;
border-bottom: 3px double #aba;
border-left: 1px solid #9a9;
border-right: 1px solid #565;
border-top: 1px solid #9a9;
font: italic normal 230% 'Times New Roman', Times, serif;
letter-spacing: 0.2em;
margin: 0;
padding: 15px 10px 15px 60px;
}
#header a {
color: #fff;
text-decoration: none;
}
#header a:hover {
text-decoration: underline;
}
#menu {
background: #fff;
border-left: 1px dotted #ccc;
border-top: 3px solid #e0e6e0;
padding: 20px 0 10px 30px;
position: absolute;
right: 2px;
top: 0;
width: 11em;
}
#menu form {
margin: 0 0 0 13px;
}
#menu input#s {
width: 80%;
background: #eee;
border: 1px solid #999;
color: #000;
}
#menu ul {
color: #ccc;
font-weight: bold;
list-style-type: none;
margin: 0;
padding-left: 3px;
text-transform: lowercase;
}
#menu ul li {
font: italic normal 110% 'Times New Roman', Times, serif;
letter-spacing: 0.1em;
margin-top: 10px;
padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
}
#menu ul ul {
font-variant: normal;
font-weight: normal;
line-height: 100%;
list-style-type: none;
margin: 0;
padding: 0;
text-align: left;
}
#menu ul ul li {
border: 0;
font: normal normal 12px/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
letter-spacing: 0;
margin-top: 0;
padding: 0;
padding-left: 12px;
}
#menu ul ul li a {
color: #000;
text-decoration: none;
}
#menu ul ul li a:hover {
border-bottom: 1px solid #809080;
}
#menu ul ul ul.children {
font-size: 142%;
padding-left: 4px;
}
#wp-calendar {
border: 1px solid #ddd;
empty-cells: show;
font-size: 14px;
margin: 0;
width: 90%;
}
#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}
#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}
#wp-calendar a {
display: block;
text-decoration: none;
}
#wp-calendar a:hover {
background: #e0e6e0;
color: #333;
}
#wp-calendar caption {
color: #999;
font-size: 16px;
text-align: left;
}
#wp-calendar td {
color: #ccc;
font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
letter-spacing: normal;
padding: 2px 0;
text-align: center;
}
#wp-calendar td.pad:hover {
background: #fff;
}
#wp-calendar td:hover, #wp-calendar #today {
background: #eee;
color: #bbb;
}
#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}
/* Captions & aligment */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions & aligment */

View file

@ -0,0 +1,26 @@
<!-- begin footer -->
<?php get_sidebar(); ?>
</div>
</div>
<div id="bottom">
<div id="footer">
<?php wp_footer(); ?>
<p class="copy">Copyright © 2010 Red Hat, Inc. and others. Please send any comments or corrections to the <a
href="mailto:webmaster@fedoraproject.org">websites team</a>.</p>
<p class="disclaimer">The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is
not responsible for content.</p>
<p class="disclaimer">Your words are your own, duh. Nothing here represents Fedora™, Red Hat, Inc, or pretty much anything else. If you think it does then you
are badly misled.</p>
<ul>
<li class="first"><a href="/en/sponsors">Sponsors</a></li>
<li><a href="http://fedoraproject.org/wiki/Legal">Legal</a></li>
<li><a href="http://fedoraproject.org/wiki/Legal/TrademarkGuidelines">Trademark Guidelines</a></li>
</ul>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,10 @@
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '',
'after_title' => '',
));
?>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<link type="text/css" rel="stylesheet" href="http://fedoraproject.org/static/css/fedora.css" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body class="home">
<div id="wrapper">
<div id="head">
<h1><a href="/">Fedora Blogs</a></h1>
<h1 id="blogname"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
</div>
<?php get_sidebar(); ?>
<div id="content">
<!-- end header -->

View file

@ -0,0 +1,33 @@
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_date('','<h3 class="date">','</h3>'); ?>
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
</div>
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,82 @@
/* Based on Arabic (RTL) version of WordPress Classic theme, converted by Serdal (Serdal.com) */
#menu ul ul, #wp-calendar caption, #wp-calendar #prev a { text-align: right; }
#wp-calendar #next a, .feedback { text-align: left; }
blockquote {
border-left: 0;
border-right: 5px solid #ccc;
margin-left: auto;
margin-right: 1.5em;
padding-left: 0;
padding-right: 5px;
}
body { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; }
h2 { font: 95% 'Al Bayan', 'Traditional Arabic', "Times New Roman", Times, serif; }
p, li, .feedback {
font: 90%/175% 'Geeza Pro', Tahoma, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
text-align: justify;
}
acronym, abbr, span.caps, h2, p, li, #header, #menu ul li, #menu ul ul li, #wp-calendar td, .feedback, .meta, .meta a { letter-spacing: normal; }
#commentlist li ul {
border-left: 0;
border-right: 1px solid #ddd;
}
#content {
margin: 30px 3em 0 13em;
padding-right: 0;
padding-left: 60px;
}
#header {
border-left: solid 1px #9a9;
border-right: solid 1px #565;
font: normal normal 230% 'Al Bayan', 'Traditional Arabic', 'Times New Roman', Times, serif;
padding: 15px 60px 15px 10px;
}
#menu {
border-left: 0;
border-right: 1px dotted #ccc;
padding: 20px 30px 10px 0;
right: auto;
left: 2px;
}
#menu form { margin: 0 13px 0 0; }
#menu ul {
padding-left: 0;
padding-right: 3px;
}
#menu ul li { font: normal normal 110% 'Geeza Pro', Tahoma, 'Times New Roman', Times, serif; }
#menu ul ul li {
font: normal normal 12px/115% 'Geeza Pro', Tahoma, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
padding-left: 0;
padding-right: 12px;
}
#menu ul ul ul.children {
padding-left: 0;
padding-right: 4px;
}
#wp-calendar #next a {
padding-right: 0;
padding-left: 10px;
}
#wp-calendar #prev a {
padding-left: 0;
padding-right: 10px;
}
#wp-calendar td { font: normal normal 12px 'Geeza Pro', Tahoma, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -0,0 +1,46 @@
<!-- begin sidebar -->
<div id="sidebar">
<div id="nav">
<ul id="wp-sidebar-list">
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php wp_list_pages('title_li=' . __('<h2>Pages:</h2>')); ?>
<?php wp_list_bookmarks('title_after=</h2>&title_before=<h2>'); ?>
<?php wp_list_categories('title_li=' . __('<h2>Categories:</h2>')); ?>
</ul>
<h2><label for="s"><?php _e('Search:'); ?></label></h2>
<form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
<div>
<input type="text" name="s" id="s" size="15" /><br />
<input type="submit" value="<?php _e('Search'); ?>" />
</div>
</form>
<h2><?php _e('Archives:'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h2><?php _e('Meta:'); ?></h2>
<ul>
<li><a href="https://blogs.fedoraproject.org/wp/wp-signup.php">Create a Blog</a></li>
<?php if (is_user_logged_in()) { ?> <li><a href="/wp/wp-admin/">Control Panel</a></li><?php } ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
</ul>
<h2><?php _e('Fedora Links:'); ?></h2>
<ul>
<li><a href="http://fedoraproject.org/">Fedora Project</a></li>
<li><a href="http://planet.fedoraproject.org/">Planet Fedora</a></li>
<li><a href="http://join.fedoraproject.org/">Join Fedora</a></li>
<li><a href="http://fedoraproject.org/get-fedora">Get Fedora</a></li>
<?php wp_meta(); ?>
</ul>
<?php endif; ?>
</div>
</div>
<!-- end sidebar -->

View file

@ -0,0 +1,154 @@
#footer
{
position: relative;
font: normal 0.8em/1.5 sans-serif;
text-align: center;
background: #FFFFFF url(http://fedoraproject.org/static/images/line-bottom.png) 0 0 repeat-x;
margin: -90px 0 0;
border-bottom: 10px solid #337ACC;
height: 50px;
padding-bottom: 30px;
color: #888888;
}
#content
{
padding: 4ex 2ex 120px;
}
#content a
{
color: #337ACC;
}
.download-sidebar a:link,
.download-sidebar a:active,
.download-sidebar a:visited {
color: #FFFFFF!important;
font-size: medium;
text-decoration: none;
font-weight: bold;
line-height: 1.5;
}
h1 {
float: left;
width: 113px;
}
h1#blogname {
float: none;
width: 400px;
background-image: none !important;
margin-left: 150px;
}
#head h1 a {
background: transparent url(wp-admin_images_wordpress-logo.png) no-repeat scroll 20px 50% !important;
margin-left: -8px;
}
h1#blogname a {
text-indent: 0px !important;
background-image: none !important;
width: 100%;
margin-top: 44px;
margin-bottom: -40px;
}
h1#blogname a:link,
h1#blogname a:visited,
h1#blogname a:active {
color: #bbb;
}
ul#wp-sidebar-list {
margin-left: -10px;
list-style-image: none;
list-style-type: none;
list-style-position: side !important;
}
ul#wp-sidebar-list li {
margin-left: 8px !important;
text-transform: uppercase;
font-size: 0.9em;
font-weight: normal;
margin: 2ex 0 1ex;
}
ul#wp-sidebar-list li:first-line {
background-color: yellow;
}
ul#wp-sidebar-list > li > ul li {
text-transform: none;
border: none;
margin: auto;
}
div#nav {
margin-left: 20px !important;
}
h3.date {
color: #aaa !important;
font-size: 8pt !important;
padding-top: none !important;
margin-top: none !important;
}
div.post .meta {
color: #aaa;
padding-bottom: 5px;
border-bottom: 1px dotted #ddd;
margin-bottom: 10px;
font-size: 6pt;
}
div.post {
width: 90%;
}
div.post h2 {
text-transform: uppercase;
}
/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions */

View file

@ -0,0 +1,56 @@
Summary: Wordpress Theme for Fedora
URL: http://mu.wordpress.org/latest.tar.gz
Name: wordpress-theme-fedora
Version: 1.0.2
Release: 1%{?dist}
Group: Applications/Publishing
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php >= 4.1.0, httpd, php-mysql, wordpress
BuildArch: noarch
%description
This is a theme developed for the Fedora Project for
blogs.fedoraproject.org
%prep
%setup -q -n wordpress-theme-fedora
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/wordpress-mu/wp-content/themes/fedora
cp -pr * %{buildroot}%{_datadir}/wordpress-mu/wp-content/themes/fedora
# Remove empty files to make rpmlint happy
find %{buildroot} -empty -exec rm -f {} \;
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{_datadir}/wordpress-mu/wp-content/themes/fedora
%{_datadir}/wordpress-mu/wp-content/themes/fedora/comments.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/comments-popup.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/foo.css
%{_datadir}/wordpress-mu/wp-content/themes/fedora/footer.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/functions.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/header.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/index.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/rtl.css
%{_datadir}/wordpress-mu/wp-content/themes/fedora/screenshot.png
%{_datadir}/wordpress-mu/wp-content/themes/fedora/sidebar.php
%{_datadir}/wordpress-mu/wp-content/themes/fedora/style.css
%{_datadir}/wordpress-mu/wp-content/themes/fedora/wp-admin_images_logo-ghost.png
%{_datadir}/wordpress-mu/wp-content/themes/fedora/wp-admin_images_logo.gif
%{_datadir}/wordpress-mu/wp-content/themes/fedora/wp-admin_images_wordpress-logo.png
%{_datadir}/wordpress-mu/wp-content/themes/fedora/wp-includes_images_wlw_wp-icon.png
%changelog
* Wed Jun 24 2009 Nick Bebout <nb@fedoraproject.org> - 1.0-1
- initial version of wordpress-mu-theme-fedora

View file

@ -0,0 +1,56 @@
Summary: Wordpress-MU Theme for Fedora
URL: http://mu.wordpress.org/latest.tar.gz
Name: wordpress-theme-fedora
Version: 1.0.2
Release: 1%{?dist}
Group: Applications/Publishing
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php >= 4.1.0, httpd, php-mysql, wordpress
BuildArch: noarch
%description
This is a theme developed for the Fedora Project for
blogs.fedoraproject.org
%prep
%setup -q -n wordpress-theme-fedora
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/wordpress/wp-content/themes/fedora
cp -pr * %{buildroot}%{_datadir}/wordpress/wp-content/themes/fedora
# Remove empty files to make rpmlint happy
find %{buildroot} -empty -exec rm -f {} \;
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{_datadir}/wordpress/wp-content/themes/fedora
%{_datadir}/wordpress/wp-content/themes/fedora/comments.php
%{_datadir}/wordpress/wp-content/themes/fedora/comments-popup.php
%{_datadir}/wordpress/wp-content/themes/fedora/foo.css
%{_datadir}/wordpress/wp-content/themes/fedora/footer.php
%{_datadir}/wordpress/wp-content/themes/fedora/functions.php
%{_datadir}/wordpress/wp-content/themes/fedora/header.php
%{_datadir}/wordpress/wp-content/themes/fedora/index.php
%{_datadir}/wordpress/wp-content/themes/fedora/rtl.css
%{_datadir}/wordpress/wp-content/themes/fedora/screenshot.png
%{_datadir}/wordpress/wp-content/themes/fedora/sidebar.php
%{_datadir}/wordpress/wp-content/themes/fedora/style.css
%{_datadir}/wordpress/wp-content/themes/fedora/wp-admin_images_logo-ghost.png
%{_datadir}/wordpress/wp-content/themes/fedora/wp-admin_images_logo.gif
%{_datadir}/wordpress/wp-content/themes/fedora/wp-admin_images_wordpress-logo.png
%{_datadir}/wordpress/wp-content/themes/fedora/wp-includes_images_wlw_wp-icon.png
%changelog
* Wed Jun 24 2009 Nick Bebout <nb@fedoraproject.org> - 1.0.2-1
- initial version of wordpress-theme-fedora

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B