diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-04 16:44:15 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-04-04 16:44:15 +0000 |
commit | 7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc (patch) | |
tree | c6fd23b598f3994eddb18cb1c0f2e8d95ff054fa /wp-content | |
parent | f650f48c048bfbbb2ae702b6425d87e39358d748 (diff) | |
download | wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.gz wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.tar.xz wordpress-mu-7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc.zip |
Merged with WordPress 2.5, unstable, only for testing
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1218 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content')
-rw-r--r-- | wp-content/themes/classic/comments-popup.php | 4 | ||||
-rw-r--r-- | wp-content/themes/classic/comments.php | 5 | ||||
-rw-r--r-- | wp-content/themes/classic/header.php | 4 | ||||
-rw-r--r-- | wp-content/themes/classic/style.css | 8 | ||||
-rw-r--r-- | wp-content/themes/default/archive.php | 2 | ||||
-rw-r--r-- | wp-content/themes/default/comments-popup.php | 8 | ||||
-rw-r--r-- | wp-content/themes/default/comments.php | 5 | ||||
-rw-r--r-- | wp-content/themes/default/functions.php | 24 | ||||
-rw-r--r-- | wp-content/themes/default/header.php | 4 | ||||
-rw-r--r-- | wp-content/themes/default/image.php | 6 | ||||
-rw-r--r-- | wp-content/themes/default/links.php | 2 | ||||
-rw-r--r-- | wp-content/themes/default/rtl.css | 160 | ||||
-rw-r--r-- | wp-content/themes/default/single.php | 4 | ||||
-rw-r--r-- | wp-content/themes/default/style.css | 38 |
14 files changed, 160 insertions, 114 deletions
diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php index e7f6876..4e0a605 100644 --- a/wp-content/themes/classic/comments-popup.php +++ b/wp-content/themes/classic/comments-popup.php @@ -57,7 +57,7 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH <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('Logout »'); ?></a></p> +<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 »'); ?></a></p> <?php else : ?> <p> <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> @@ -102,7 +102,7 @@ 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> +<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"> <!-- diff --git a/wp-content/themes/classic/comments.php b/wp-content/themes/classic/comments.php index ddb7543..bf02bed 100644 --- a/wp-content/themes/classic/comments.php +++ b/wp-content/themes/classic/comments.php @@ -13,6 +13,7 @@ <?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() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p> </li> @@ -25,7 +26,7 @@ <p><?php _e('No comments yet.'); ?></p> <?php endif; ?> -<p><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.')); ?> +<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; ?> @@ -42,7 +43,7 @@ <?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('Logout »'); ?></a></p> +<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 »'); ?></a></p> <?php else : ?> diff --git a/wp-content/themes/classic/header.php b/wp-content/themes/classic/header.php index 2c02a89..4a3e0b4 100644 --- a/wp-content/themes/classic/header.php +++ b/wp-content/themes/classic/header.php @@ -6,15 +6,13 @@ <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> - <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> - <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 0.3" href="<?php bloginfo('atom_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'); ?> diff --git a/wp-content/themes/classic/style.css b/wp-content/themes/classic/style.css index f5436b2..5c8bd4a 100644 --- a/wp-content/themes/classic/style.css +++ b/wp-content/themes/classic/style.css @@ -4,6 +4,7 @@ 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 @@ -159,6 +160,13 @@ ul.post-meta span.post-meta-key { 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; diff --git a/wp-content/themes/default/archive.php b/wp-content/themes/default/archive.php index 769f9ab..8ec2e2b 100644 --- a/wp-content/themes/default/archive.php +++ b/wp-content/themes/default/archive.php @@ -1,7 +1,7 @@ <?php get_header(); ?> <div id="content" class="narrowcolumn"> -<?php is_tag(); ?> + <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> diff --git a/wp-content/themes/default/comments-popup.php b/wp-content/themes/default/comments-popup.php index 9ad28b5..a57ff21 100644 --- a/wp-content/themes/default/comments-popup.php +++ b/wp-content/themes/default/comments-popup.php @@ -56,9 +56,9 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos <p>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>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p> -<?php else : ?> +<?php if ( $user_ID ) : ?> + <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out »</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">Name</label> @@ -102,7 +102,7 @@ endwhile; <!-- // this is just the end of the motor - don't touch that line either :) --> <?php //} ?> -<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>Wordpress</strong></a></cite></p> +<p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p> <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> <script type="text/javascript"> <!-- diff --git a/wp-content/themes/default/comments.php b/wp-content/themes/default/comments.php index 33534ff..08b1be1 100644 --- a/wp-content/themes/default/comments.php +++ b/wp-content/themes/default/comments.php @@ -1,5 +1,5 @@ <?php // Do not delete these lines - if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) + if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if (!empty($post->post_password)) { // if there's a password @@ -27,6 +27,7 @@ <?php foreach ($comments as $comment) : ?> <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> + <?php echo get_avatar( $comment, 32 ); ?> <cite><?php comment_author_link() ?></cite> Says: <?php if ($comment->comment_approved == '0') : ?> <em>Your comment is awaiting moderation.</em> @@ -73,7 +74,7 @@ <?php if ( $user_ID ) : ?> -<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p> +<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out »</a></p> <?php else : ?> diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php index 1ea54fc..e0451e7 100644 --- a/wp-content/themes/default/functions.php +++ b/wp-content/themes/default/functions.php @@ -80,8 +80,8 @@ function kubrick_header_display_string() { add_action('admin_menu', 'kubrick_add_theme_page'); function kubrick_add_theme_page() { - if ( $_GET['page'] == basename(__FILE__) ) { - if ( 'save' == $_REQUEST['action'] ) { + if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) { + if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) { check_admin_referer('kubrick-header'); if ( isset($_REQUEST['njform']) ) { if ( isset($_REQUEST['defaults']) ) { @@ -157,7 +157,7 @@ function kubrick_theme_page_head() { kUpdate(ColorPicker_targetInput.id); } function PopupWindow_populate(contents) { - contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>'; + contents += '<br /><p style="text-align:center;margin-top:0px;"><input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Close Color Picker')); ?>" onclick="cp.hidePopup(\'prettyplease\')"></input></p>'; this.contents = contents; this.populated = false; } @@ -354,7 +354,7 @@ function kubrick_theme_page_head() { } function kubrick_theme_page() { - if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.').'</strong></p></div>'; + if ( isset( $_REQUEST['saved'] ) ) echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.').'</strong></p></div>'; ?> <div class='wrap'> <div id="kubrick-header"> @@ -386,18 +386,18 @@ function kubrick_theme_page() { <div id="jsForm"> <form style="display:inline;" method="post" name="hicolor" id="hicolor" action="<?php echo attribute_escape($_SERVER['REQUEST_URI']); ?>"> <?php wp_nonce_field('kubrick-header'); ?> - <input type="button" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input> - <input type="button" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input> - <input type="button" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input> - <input type="button" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" /> - <input type="button" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" /> + <input type="button" class="button-secondary" onclick="tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;" name="pick1" id="pick1" value="<?php echo attribute_escape(__('Font Color')); ?>"></input> + <input type="button" class="button-secondary" onclick="tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;" name="pick2" id="pick2" value="<?php echo attribute_escape(__('Upper Color')); ?>"></input> + <input type="button" class="button-secondary" onclick="tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;" name="pick3" id="pick3" value="<?php echo attribute_escape(__('Lower Color')); ?>"></input> + <input type="button" class="button-secondary" name="revert" value="<?php echo attribute_escape(__('Revert')); ?>" onclick="kRevert()" /> + <input type="button" class="button-secondary" value="<?php echo attribute_escape(__('Advanced')); ?>" onclick="toggleAdvanced()" /> <input type="hidden" name="action" value="save" /> <input type="hidden" name="fontdisplay" id="fontdisplay" value="<?php echo attribute_escape(kubrick_header_display()); ?>" /> <input type="hidden" name="fontcolor" id="fontcolor" value="<?php echo attribute_escape(kubrick_header_color()); ?>" /> <input type="hidden" name="uppercolor" id="uppercolor" value="<?php echo attribute_escape(kubrick_upper_color()); ?>" /> <input type="hidden" name="lowercolor" id="lowercolor" value="<?php echo attribute_escape(kubrick_lower_color()); ?>" /> <input type="hidden" name="headerimage" id="headerimage" value="<?php echo attribute_escape(kubrick_header_image()); ?>" /> - <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header »')); ?>" onclick="cp.hidePopup('prettyplease')" /></p> + <p class="submit"><input type="submit" name="submitform" class="defbutton" value="<?php echo attribute_escape(__('Update Header')); ?>" onclick="cp.hidePopup('prettyplease')" /></p> </form> <div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div> <div id="advanced"> @@ -406,8 +406,8 @@ function kubrick_theme_page() { <label for="advfontcolor"><?php _e('Font Color (CSS):'); ?> </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo attribute_escape(kubrick_header_color()); ?>" /><br /> <label for="advuppercolor"><?php _e('Upper Color (HEX):');?> </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo attribute_escape(kubrick_upper_color()); ?>" /><br /> <label for="advlowercolor"><?php _e('Lower Color (HEX):'); ?> </label><input type="text" id="advlowercolor" onchange="advUpdate(this.value, 'lowercolor')" value="#<?php echo attribute_escape(kubrick_lower_color()); ?>" /><br /> - <input type="button" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br /> - <input type="button" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br /> + <input type="button" class="button-secondary" name="default" value="<?php echo attribute_escape(__('Select Default Colors')); ?>" onclick="kDefaults()" /><br /> + <input type="button" class="button-secondary" onclick="toggleDisplay();return false;" name="pick" id="pick" value="<?php echo attribute_escape(__('Toggle Text Display')); ?>"></input><br /> </form> </div> </div> diff --git a/wp-content/themes/default/header.php b/wp-content/themes/default/header.php index 99d3962..b881290 100644 --- a/wp-content/themes/default/header.php +++ b/wp-content/themes/default/header.php @@ -6,8 +6,6 @@ <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> -<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> - <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> @@ -16,7 +14,7 @@ <?php // Checks to see whether it needs a sidebar or not -if ( !$withcomments && !is_single() ) { +if ( !empty($withcomments) && !is_single() ) { ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?> diff --git a/wp-content/themes/default/image.php b/wp-content/themes/default/image.php index d8e36fd..5e03980 100644 --- a/wp-content/themes/default/image.php +++ b/wp-content/themes/default/image.php @@ -7,12 +7,11 @@ <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <?php the_title(); ?></h2> <div class="entry"> - <p class="attachment"><?php echo wp_get_attachment_link(0, 'medium', false); ?></p> + <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> + <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> - <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> - <div class="navigation"> <div class="alignleft"><?php previous_image_link() ?></div> <div class="alignright"><?php next_image_link() ?></div> @@ -23,6 +22,7 @@ <small> This entry was posted on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. + <?php the_taxonomies(); ?> You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { diff --git a/wp-content/themes/default/links.php b/wp-content/themes/default/links.php index 3b2ad81..e253e09 100644 --- a/wp-content/themes/default/links.php +++ b/wp-content/themes/default/links.php @@ -10,7 +10,7 @@ Template Name: Links <h2>Links:</h2> <ul> -<?php get_links_list(); ?> +<?php wp_list_bookmarks(); ?> </ul> </div> diff --git a/wp-content/themes/default/rtl.css b/wp-content/themes/default/rtl.css index daa5bba..a345c3c 100644 --- a/wp-content/themes/default/rtl.css +++ b/wp-content/themes/default/rtl.css @@ -1,78 +1,106 @@ -/* Based on Arabic (RTL) version of Kubrick theme, converted by Serdal (Serdal.com) */ - -.narrowcolumn, .alignleft, .widecolumn .smallattachment { float: right; } -.alignright, #commentform #submit { float: left; } - -#page, .post, #wp-calendar #prev a { text-align: right; } - -body, #commentform p { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -small { font-family: 'Geeza Pro', Tahoma, Arial, Helvetica, Sans-Serif; } - -h1, h2, h3 { font-family: 'Al Bayan', 'Traditional Arabic', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#sidebar h2 { font-family: 'Al Bayan', 'Traditional Arabic', 'Lucida Grande', Verdana, Sans-Serif; } - -.commentlist li, #commentform input, #commentform textarea { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#sidebar { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -#wp-calendar caption { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; } - -acronym, abbr, span.caps { letter-spacing: normal; } - -#header { margin: 0 1px 0 0; } - -.narrowcolumn { padding: 0 45px 20px 0; } - -.widecolumn { margin: 5px 150px 0 0; } - -.widecolumn .smallattachment { margin: 5px 0px 5px 5px; } - -.postmetadata { clear: right; } - -img.alignright { margin: 0 7px 2px 0; } - -img.alignleft { margin: 0 0 2px 7px; } - -.entry ol { padding: 0 35px 0 0; } - -#sidebar ul ul, #sidebar ul ol { margin: 5px 10px 0 0; } - -#sidebar ul ul ul, #sidebar ul ol { margin: 0 10px 0 0; } - -#commentform input { margin: 5px 0 1px 5px; } - -.commentlist p { margin: 10px 0 10px 5px; } - -html>body .entry li { margin: 7px 10px 8px 0; } - -html>body .entry ul { - margin-left: auto; - margin-right: 0px; - padding: 0 30px 0 0; +/* +Theme name: WordPress Default - kubrick - +Editors: Navid Kashani +Persian Wordpress Project : wp-persian.com +*/ +body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption { + font-family:tahoma, arial; +} +#page { + text-align:right; + direction:rtl; +} +h1, h2, h3, #sidebar h2 { + font-family:arial, tahoma; +} +.commentlist li .avatar { + float:left; +} +#header { + margin:0 1px 0 0; +} +.narrowcolumn { + float:right; + padding: 0 45px 20px 0; +} +.widecolumn { + margin: 5px 150px 0 0; +} +.widecolumn .smallattachment { + margin: 5px 0 5px 5px; +} +.postmetadata { + clear:right; } - #sidebar { - margin-left: auto; + margin-left: 0; margin-right: 545px; } +img.alignright { + margin: 0 7px 2px 0; +} -#wp-calendar #prev a, html>body .entry ul { - padding-left: 0; - padding-right: 10px; +img.alignleft { + margin: 0 0 2px 7px; +} + +.alignright { + float: left; } +.alignleft { + float: right; +} +code { + display:block; + direction:ltr; + text-align:left; +} +acronym, abbr, span.caps { + letter-spacing:0; /* fix opera bug */ +} +html>body .entry ul { + padding:0 10px 0 0; + text-indent:10px; +} +html>body .entry li { + margin: 7px 10px 8px 0; +} +.entry ol { + padding: 0 35px 0 0; +} +#sidebar ul ul, #sidebar ul ol { + margin: 5px 10px 0 0; +} +#sidebar ul ul ul, #sidebar ul ol { + margin: 0 10px 0 0; +} +#commentform input { + margin: 5px 0 1px 5px; +} +#commentform #submit { + float:left; +} +.commentlist p { + margin: 10px 0 10px 5px; +} +#wp-calendar #next a { + padding-right:0; + padding-left:10px; + text-align:left; +} +#wp-calendar #prev a { + padding-left:0; + padding-right:10px; + text-align:right; +} blockquote { - border-left: 0; - border-right: 5px solid #ddd; + margin: 15px 10px 0 30px; padding-left: 0; padding-right: 20px; - margin: 15px 10px 0 30px; + border-left: 0 none; + border-right: 5px solid #ddd; } - -#wp-calendar #next a { - padding-right: 0; - padding-left: 10px; - text-align: left; +#email, #url { + direction:ltr; } diff --git a/wp-content/themes/default/single.php b/wp-content/themes/default/single.php index d270c05..313b52e 100644 --- a/wp-content/themes/default/single.php +++ b/wp-content/themes/default/single.php @@ -10,7 +10,7 @@ </div> <div class="post" id="post-<?php the_ID(); ?>"> - <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> + <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> @@ -27,7 +27,7 @@ /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. - You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. + You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> diff --git a/wp-content/themes/default/style.css b/wp-content/themes/default/style.css index b097efb..3641f37 100644 --- a/wp-content/themes/default/style.css +++ b/wp-content/themes/default/style.css @@ -1,10 +1,11 @@ -/* +/* Theme Name: WordPress mu Default Theme URI: http://mu.wordpress.org/ Description: The default WordPress mu theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>. Version: 1.6 Author: Michael Heilemann Author URI: http://binarybonsai.com/ +Tags: blue, custom header, fixed width, two columns, widgets Kubrick v1.5 http://binarybonsai.com/kubrick/ @@ -38,11 +39,11 @@ body { background: #73a0c5 url('images/kubrickheader.jpg') no-repeat bottom center; } -#headerimg { - margin: 7px 9px 0; - height: 192px; - width: 740px; - } +#headerimg { + margin: 7px 9px 0; + height: 192px; + width: 740px; + } #content { font-size: 1.2em @@ -71,7 +72,7 @@ body { } #footer { - background: #eee url('images/kubrickfooter.jpg') no-repeat top; + background: #eee url('images/kubrickfooter.jpg') no-repeat top; border: none; } @@ -138,6 +139,13 @@ h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar font-weight: bold; } +.commentlist li .avatar { + float: right; + border: 1px solid #eee; + padding: 2px; + background: #fff; + } + .commentlist cite, .commentlist cite a { font-weight: bold; font-style: normal; @@ -210,7 +218,7 @@ a:hover { /* Begin Structure */ body { margin: 0 0 20px 0; - padding: 0; + padding: 0; } #page { @@ -223,9 +231,9 @@ body { #header { background-color: #73a0c5; - margin: 0 0 0 1px; - padding: 0; - height: 200px; + margin: 0 0 0 1px; + padding: 0; + height: 200px; width: 758px; } @@ -285,6 +293,10 @@ body { clear: left; } +.clear { + clear: both; +} + #footer { padding: 0; margin: 0 auto; @@ -385,7 +397,7 @@ html>body .entry ul { list-style: none; padding-left: 10px; text-indent: -10px; - } + } html>body .entry li { margin: 7px 0 8px 10px; @@ -449,7 +461,7 @@ ol li, #sidebar ul ol li { /* Begin Form Elements */ #searchform { margin: 10px auto; - padding: 5px 3px; + padding: 5px 3px; text-align: center; } |