Make WordPress Core

Changeset 2135


Ignore:
Timestamp:
01/24/2005 08:15:10 AM (22 years ago)
Author:
saxmatt
Message:

Some Kubrick cleanups

Location:
trunk/wp-content/themes/default
Files:
6 edited

Legend:

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

    r2093 r2135  
    1515
    1616                /* This variable is for alternating comment background */
    17                 $oddcomment = 'graybox';
     17                $oddcomment = 'alt';
    1818?>
    1919
     
    2121
    2222<?php if ($comments) : ?>
    23         <h3 id="comments"><?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 &#8220;<?php the_title(); ?>&#8221;</h3>
    2424
    2525        <ol class="commentlist">
     
    3737               
    3838                <?php /* Changes every other comment to a different class */   
    39                         if('graybox' == $oddcomment) {$oddcomment="";}
    40                         else { $oddcomment = "graybox"; }
     39                        if ('alt' == $oddcomment) $oddcomment = '';
     40                        else $oddcomment = 'alt';
    4141                ?>
    4242
     
    6363<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    6464
    65 <p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
     65<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    6666<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    67 <label for="author"><small>Name</small></label></p>
     67<label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label></p>
    6868
    6969<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    70 <label for="email"><small>Mail (will not be published)</small></label></p>
     70<label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p>
    7171
    7272<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
  • trunk/wp-content/themes/default/page.php

    r2123 r2135  
    1414                </div>
    1515          <?php endwhile; endif; ?>
     16        <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
    1617        </div>
    1718
  • trunk/wp-content/themes/default/searchform.php

    r2040 r2135  
    11<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    22<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    3 <input type="submit" id="searchsubmit" name="Submit" value="Go!" />
     3<input type="submit" id="searchsubmit" name="Submit" value="Search" />
    44</div>
    55</form>
  • trunk/wp-content/themes/default/sidebar.php

    r2079 r2135  
    3737                        <?php } ?>
    3838                        </li>
    39                        
    40                
    41                
    42                        
    43                         <!-- The Calendar is disabled per default. Uncomment if you want to use it.
    44                         <li><h2><?php _e('Calendar'); ?></h2>
    45                                 <?php get_calendar(); ?>
    46                         </li>
    47                         -->
    4839
    4940                        <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
     
    6152                        </li>
    6253
    63                         <?php /* If this is the frontpage */ if (is_home()) { ?>                               
    64                                 <li><h2><?php _e('Links'); ?></h2>
    65                                         <ul>
    66                                                 <?php get_links('-1', '<li>', '</li>', '<br />'); ?>
    67                                         </ul>
    68                                 </li>
     54                        <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>                         
     55                                <?php get_links_list(); ?>
    6956                               
    7057                                <li><h2><?php _e('Meta'); ?></h2>
  • trunk/wp-content/themes/default/single.php

    r2040 r2135  
    1818                                <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    1919       
    20                                 <p class="postmetadata graybox">
     20                                <p class="postmetadata alt">
    2121                                        <small>
    2222                                                This entry was posted
    23                                                 <?php /* This is uncommented, because it requires a little adjusting sometimes.
     23                                                <?php /* This is commented, because it requires a little adjusting sometimes.
    2424                                                        You'll need to download this plugin, and follow the instructions:
    2525                                                        http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
  • trunk/wp-content/themes/default/style.css

    r2041 r2135  
    6565        }
    6666
    67 .graybox {
     67.alt {
    6868        background-color: #f8f8f8;
    6969        border-top: 1px solid #ddd;
     
    438438
    439439#sidebar #searchform #s {
    440         width: 130px;
     440        width: 115px;
    441441        padding: 2px;
    442442        }
     
    474474
    475475/* Begin Comments*/
    476 .graybox {
     476.alt {
    477477        margin: 0;
    478478        padding: 10px;
Note: See TracChangeset for help on using the changeset viewer.