Changeset 2013 for trunk/wp-content/themes/kubrick/comments.php
- Timestamp:
- 12/30/2004 11:25:15 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/kubrick/comments.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/kubrick/comments.php
r2012 r2013 15 15 16 16 /* This variable is for alternating comment background */ 17 $oddcomment = "graybox";17 $oddcomment = 'graybox'; 18 18 ?> 19 19 … … 27 27 <?php foreach ($comments as $comment) : ?> 28 28 29 <li class="<? =$oddcomment;?>">29 <li class="<?php echo $oddcomment; ?>"> 30 30 <a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br /> 31 31 <!--<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>--> … … 37 37 38 38 <?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"; } 41 41 ?> 42 42 … … 65 65 <p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> 66 66 <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"]); ?>" />68 67 <label for="author"><small>Name</small></label></p> 69 68 … … 78 77 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> 79 78 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 84 79 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p> 85 80 … … 87 82 </form> 88 83 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.