Make WordPress Core

Changeset 2013


Ignore:
Timestamp:
12/30/2004 11:25:15 AM (21 years ago)
Author:
saxmatt
Message:

Some Kubrick cleanups.

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

Legend:

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

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="narrowcolumn">
     
    77    </div>
    88
    9 <?php include "sidebar.php"; ?>
    10 <?php include "footer.php"; ?>
     9<?php get_sidebar(); ?>
     10
     11<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/archive.php

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="narrowcolumn">
     
    6161
    6262        <h2 class="center">Not Found</h2>
    63         <?php include "searchform.php"; ?>
     63        <?php include (TEMPLATEPATH . "/searchform.php"; ?>
    6464
    6565    <?php endif; ?>
     
    6767    </div>
    6868
    69 <?php include "sidebar.php"; ?>
    70 <?php include "footer.php"; ?>
     69<?php get_sidebar(); ?>
     70
     71<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/archives.php

    r2012 r2013  
    1 <?php /*
    2              Template Name: Archives
    3             */
    4 ?>
    5 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    62
    73<div id="content" class="widecolumn">
    84
    9 <?php include "searchform.php"; ?>
     5<?php include (TEMPLATEPATH . '/searchform.php'; ?>
    106
    117<h2>Archives by Month:</h2>
     
    2117</div> 
    2218
    23 <?php include "footer.php"; ?>
     19<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/comments.php

    r2012 r2013  
    1515
    1616        /* This variable is for alternating comment background */
    17         $oddcomment = "graybox";
     17        $oddcomment = 'graybox';
    1818?>
    1919
     
    2727    <?php foreach ($comments as $comment) : ?>
    2828
    29         <li class="<?=$oddcomment;?>">
     29        <li class="<?php echo $oddcomment; ?>">
    3030            <a name="comment-<?php comment_ID() ?>"></a><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>-->
     
    3737       
    3838        <?php /* Changes every other comment to a different class */   
    39             if("graybox" == $oddcomment) {$oddcomment="";}
    40             else { $oddcomment="graybox"; }
     39            if('graybox' == $oddcomment) {$oddcomment="";}
     40            else { $oddcomment = "graybox"; }
    4141        ?>
    4242
     
    6565<p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    6666<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    67 <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
    6867<label for="author"><small>Name</small></label></p>
    6968
     
    7877<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
    7978
    80 <?php if ('none' != get_settings("comment_moderation")) { ?>
    81     <p><small><strong>Please note:</strong> Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.</small></p>
    82 <?php } ?>
    83 
    8479<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p>
    8580
     
    8782</form>
    8883
    89 <?php // if you delete this the sky will fall on your head
    90 endif; ?>
     84<?php endif; // if you delete this the sky will fall on your head ?>
  • trunk/wp-content/themes/kubrick/footer.php

    r2012 r2013  
    1 <? // Begin Footer ?>
     1
    22<hr />
    33<div id="footer">
     
    1616</div>
    1717</div>
    18 <? // End Footer ?>
    1918
    2019
  • trunk/wp-content/themes/kubrick/header.php

    r2012 r2013  
    5656<div id="page">
    5757
    58 <? // Begin Header ?>
     58
    5959<div id="header">
    6060    <div id="headerimg">
     
    6464</div>
    6565<hr />
    66 <? // End Header ?>
  • trunk/wp-content/themes/kubrick/index.php

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="narrowcolumn">
     
    3333        <h2 class="center">Not Found</h2>
    3434        <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
    35         <?php include "searchform.php"; ?>
     35        <?php include (TEMPLATEPATH . "/searchform.php"; ?>
    3636
    3737    <?php endif; ?>
     
    3939    </div>
    4040
    41 <?php include "sidebar.php"; ?>
    42 <?php include "footer.php"; ?>
     41<?php get_sidebar(); ?>
     42
     43<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/links.php

    r2012 r2013  
    1 <?php /*
    2              Template Name: Links
    3             */
    4 ?>
    5 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    62
    73<div id="content" class="widecolumn">
     
    1410</div> 
    1511
    16 <?php include "footer.php"; ?>
     12<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/page.php

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="widecolumn">
     
    1515    </div>
    1616
    17 <?php include "footer.php"; ?>
     17<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/search.php

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="narrowcolumn">
     
    4040
    4141        <h2 class="center">Not Found</h2>
    42         <?php include "searchform.php"; ?>
     42        <?php include (TEMPLATEPATH . "/searchform.php"; ?>
    4343
    4444    <?php endif; ?>
     
    4646    </div>
    4747
    48 <?php include "sidebar.php"; ?>
    49 <?php include "footer.php"; ?>
     48<?php get_sidebar(); ?>
     49
     50<?php get_footer(); ?>
  • trunk/wp-content/themes/kubrick/searchform.php

    r2012 r2013  
    1         <form method="get" id="searchform" action="<?php echo $PHP_SELF; ?>">
    2             <input type="text" value="<?=$s; ?>" name="s" id="s" />
    3             <input type="submit" id="searchsubmit" name="Submit" value="<?php _e('Go!'); ?>" />
    4         </form>
     1<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
     2<div><input type="text" value="<?php echo bb_specialchars($s, 1); ?>" name="s" id="s" />
     3<input type="submit" id="searchsubmit" name="Submit" value="Go!" />
     4</div>
     5</form>
  • trunk/wp-content/themes/kubrick/sidebar.php

    r2012 r2013  
    33           
    44            <li>
    5                 <?php include "searchform.php"; ?>
     5                <?php include (TEMPLATEPATH . "/searchform.php"; ?>
    66            </li>
    77
  • trunk/wp-content/themes/kubrick/single.php

    r2012 r2013  
    1 <?php include "header.php"; ?>
     1<?php get_header(); ?>
    22
    33    <div id="content" class="widecolumn">
     
    6464    </div>
    6565
    66 <?php include "footer.php"; ?>
     66<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.