diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-content | |
parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content')
-rw-r--r-- | wp-content/themes/classic/comments-popup.php | 8 | ||||
-rw-r--r-- | wp-content/themes/classic/comments.php | 4 | ||||
-rw-r--r-- | wp-content/themes/classic/header.php | 2 | ||||
-rw-r--r-- | wp-content/themes/classic/sidebar.php | 6 | ||||
-rw-r--r-- | wp-content/themes/default/archives.php | 12 | ||||
-rw-r--r-- | wp-content/themes/default/comments-popup.php | 8 | ||||
-rw-r--r-- | wp-content/themes/default/comments.php | 24 | ||||
-rw-r--r-- | wp-content/themes/default/header.php | 6 | ||||
-rw-r--r-- | wp-content/themes/default/page.php | 4 | ||||
-rw-r--r-- | wp-content/themes/default/sidebar.php | 4 | ||||
-rw-r--r-- | wp-content/themes/default/single.php | 6 |
11 files changed, 42 insertions, 42 deletions
diff --git a/wp-content/themes/classic/comments-popup.php b/wp-content/themes/classic/comments-popup.php index b39c8c5..5d9101b 100644 --- a/wp-content/themes/classic/comments-popup.php +++ b/wp-content/themes/classic/comments-popup.php @@ -1,7 +1,7 @@ -<?php +<?php /* Don't remove these lines. */ add_filter('comment_text', 'popuplinks'); -foreach ($posts as $post) { start_wp(); +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"> @@ -93,11 +93,11 @@ if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH <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 //} ?> +<?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"> diff --git a/wp-content/themes/classic/comments.php b/wp-content/themes/classic/comments.php index 860e634..6154aed 100644 --- a/wp-content/themes/classic/comments.php +++ b/wp-content/themes/classic/comments.php @@ -2,7 +2,7 @@ <p><?php _e('Enter your password to view comments.'); ?></p> <?php return; endif; ?> -<h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?> +<h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?> <?php if ( comments_open() ) : ?> <a href="#postcomment" title="<?php _e("Leave a comment"); ?>">»</a> <?php endif; ?> @@ -25,7 +25,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 comments_rss_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; ?> diff --git a/wp-content/themes/classic/header.php b/wp-content/themes/classic/header.php index 7052ae7..92c995f 100644 --- a/wp-content/themes/classic/header.php +++ b/wp-content/themes/classic/header.php @@ -17,7 +17,7 @@ <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> - <?php wp_get_archives('type=monthly&format=link'); ?> + <?php wp_get_archives('type=monthly&format=link'); ?> <?php //comments_popup_script(); // off by default ?> <?php wp_head(); ?> </head> diff --git a/wp-content/themes/classic/sidebar.php b/wp-content/themes/classic/sidebar.php index 8e34c73..49d476f 100644 --- a/wp-content/themes/classic/sidebar.php +++ b/wp-content/themes/classic/sidebar.php @@ -26,12 +26,12 @@ </form> </li> <li id="archives"><?php _e('Archives:'); ?> - <ul> + <ul> <?php wp_get_archives('type=monthly'); ?> - </ul> + </ul> </li> <li id="meta"><?php _e('Meta:'); ?> - <ul> + <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> diff --git a/wp-content/themes/default/archives.php b/wp-content/themes/default/archives.php index de6c07c..dba8dbd 100644 --- a/wp-content/themes/default/archives.php +++ b/wp-content/themes/default/archives.php @@ -11,14 +11,14 @@ Template Name: Archives <?php include (TEMPLATEPATH . '/searchform.php'); ?> <h2>Archives by Month:</h2> - <ul> - <?php wp_get_archives('type=monthly'); ?> - </ul> + <ul> + <?php wp_get_archives('type=monthly'); ?> + </ul> <h2>Archives by Subject:</h2> - <ul> - <?php wp_list_categories(); ?> - </ul> + <ul> + <?php wp_list_categories(); ?> + </ul> </div> diff --git a/wp-content/themes/default/comments-popup.php b/wp-content/themes/default/comments-popup.php index 42c9bc5..46662b2 100644 --- a/wp-content/themes/default/comments-popup.php +++ b/wp-content/themes/default/comments-popup.php @@ -1,7 +1,7 @@ -<?php +<?php /* Don't remove these lines. */ add_filter('comment_text', 'popuplinks'); -foreach ($posts as $post) { start_wp(); +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"> @@ -93,11 +93,11 @@ if (!empty($post->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $pos <div><strong><a href="javascript:window.close()">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 //} ?> +<?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> <?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 ecf0b34..8352f0f 100644 --- a/wp-content/themes/default/comments.php +++ b/wp-content/themes/default/comments.php @@ -2,25 +2,25 @@ if ('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 - if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie - ?> + if (!empty($post->post_password)) { // if there's a password + if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie + ?> - <p class="nocomments">This post is password protected. Enter the password to view comments.<p> + <p class="nocomments">This post is password protected. Enter the password to view comments.<p> - <?php - return; - } - } + <?php + return; + } + } - /* This variable is for alternating comment background */ - $oddcomment = 'alt'; + /* This variable is for alternating comment background */ + $oddcomment = 'alt'; ?> <!-- You can start editing here. --> <?php if ($comments) : ?> - <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> + <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> <ol class="commentlist"> @@ -50,7 +50,7 @@ <?php else : // this is displayed if there are no comments so far ?> - <?php if ('open' == $post->comment_status) : ?> + <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> diff --git a/wp-content/themes/default/header.php b/wp-content/themes/default/header.php index e642de4..774d6d2 100644 --- a/wp-content/themes/default/header.php +++ b/wp-content/themes/default/header.php @@ -14,13 +14,13 @@ <style type="text/css" media="screen"> -<?php +<?php // Checks to see whether it needs a sidebar or not -if ( !$withcomments && !is_single() ) { +if ( !$withcomments && !is_single() ) { ?> #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?> - #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } + #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?> </style> diff --git a/wp-content/themes/default/page.php b/wp-content/themes/default/page.php index 9c3838d..8580681 100644 --- a/wp-content/themes/default/page.php +++ b/wp-content/themes/default/page.php @@ -2,7 +2,7 @@ <div id="content" class="narrowcolumn"> - <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> @@ -12,7 +12,7 @@ </div> </div> - <?php endwhile; endif; ?> + <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> diff --git a/wp-content/themes/default/sidebar.php b/wp-content/themes/default/sidebar.php index a45b1bb..64238c1 100644 --- a/wp-content/themes/default/sidebar.php +++ b/wp-content/themes/default/sidebar.php @@ -32,11 +32,11 @@ <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> - <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> + <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> - <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> + <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> diff --git a/wp-content/themes/default/single.php b/wp-content/themes/default/single.php index ee040d5..967a065 100644 --- a/wp-content/themes/default/single.php +++ b/wp-content/themes/default/single.php @@ -2,7 +2,7 @@ <div id="content" class="widecolumn"> - <?php if (have_posts()) : while (have_posts()) : the_post(); ?> + <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="navigation"> <div class="alignleft"><?php previous_post_link('« %link') ?></div> @@ -23,10 +23,10 @@ <?php /* This is commented, because it requires a little adjusting sometimes. You'll need to download this plugin, and follow the instructions: http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ - /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> + /* $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 comments_rss_link('RSS 2.0'); ?> feed. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> |