Make WordPress Core


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

Some Kubrick cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 ?>
Note: See TracChangeset for help on using the changeset viewer.