Make WordPress Core

Changeset 2039


Ignore:
Timestamp:
01/04/2005 05:07:57 AM (20 years ago)
Author:
rboren
Message:

Backport of Michael's 1.2.6 changes. Ported by bcrow. Bug 619.

Location:
trunk/wp-content/themes/kubrick
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/kubrick/comments.php

    r2013 r2039  
    2121
    2222<?php if ($comments) : ?>
    23     <a name="comments"></a><h3><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
     23    <h3 id="comments"><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
    2424
    2525    <ol class="commentlist">
     
    2727    <?php foreach ($comments as $comment) : ?>
    2828
    29         <li class="<?php echo $oddcomment; ?>">
    30             <a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br />
     29        <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
     30            <cite><?php comment_author_link() ?></cite> Says:<br />
    3131            <!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>-->
    3232            <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
     
    6060<?php if ('open' == $post-> comment_status) : ?>
    6161
    62 <a name="respond"></a><h3>Leave a Comment</h3>
     62<h3 id="respond">Leave a Reply</h3>
    6363<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    6464
  • trunk/wp-content/themes/kubrick/header.php

    r2017 r2039  
    88    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    99
    10     <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
     10    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    1111
    1212    <style type="text/css" media="screen">
     
    2727                If you don't want to use the template's images, you can also delete the following two lines. */
    2828           
    29             #header { padding: 1px; height: 198px; width: 758px; }
     29            #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
    3030            #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
    3131        /* END IMAGE CSS */
     
    5757<div id="header">
    5858    <div id="headerimg">
    59         <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
     59        <h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    6060        <div class="description"><?php bloginfo('description'); ?></div>
    6161    </div>
  • trunk/wp-content/themes/kubrick/sidebar.php

    r2016 r2039  
    1414            <li>
    1515            <?php /* If this is a category archive */ if (is_category()) { ?>               
    16             <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     16            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    1717            for the '<?php echo single_cat_title(); ?>' category.</p>
    1818           
    1919            <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
    20             <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     20            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2121            for the day <?php the_time('l, F jS, Y'); ?>.</p>
    2222           
    2323            <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    24             <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     24            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2525            for <?php the_time('F, Y'); ?>.</p>
    2626
    2727      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    28             <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     28            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    2929            for the year <?php the_time('Y'); ?>.</p>
    3030           
    3131         <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
    32             <p>You have searched the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
    33             for <strong>'<?php echo $s; ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
     32            <p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
     33            for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
    3434
    3535            <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    36             <p>You are currently browsing the <a href="<?php bloginfo('url'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
     36            <p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
    3737
    3838            <?php } ?>
     
    5656            <li><h2><?php _e('Categories'); ?></h2>
    5757                <ul>
    58                 <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','28') ?>
     58                <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
    5959                </ul>
    6060            </li>
Note: See TracChangeset for help on using the changeset viewer.