Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.