Make WordPress Core

Changeset 9336


Ignore:
Timestamp:
10/24/2008 09:06:30 PM (16 years ago)
Author:
ryan
Message:

comments-popup template updates from DD32. fixes #6391

Location:
trunk/wp-content/themes
Files:
2 edited

Legend:

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

    r9025 r9336  
    44 * @subpackage Classic_Theme
    55 */
    6 
    7 /* Don't remove these lines. */
    8 add_filter('comment_text', 'popuplinks');
    9 while( have_posts()) : the_post();
    10 ?>
    11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     6?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    127<html xmlns="http://www.w3.org/1999/xhtml">
    138<head>
     
    2419
    2520<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
     21
     22<?php
     23/* Don't remove these lines. */
     24add_filter('comment_text', 'popuplinks');
     25if ( have_posts() ) :
     26while( have_posts()) : the_post();
     27?>
    2628
    2729<h2 id="comments"><?php _e("Comments"); ?></h2>
     
    6870      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    6971       <label for="author"><?php _e("Name"); ?></label>
    70     <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    71     <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    7272    </p>
    7373
     
    9090
    9191    <p>
     92      <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
     93      <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    9294      <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
    9395    </p>
     
    103105
    104106<?php // if you delete this the sky will fall on your head
    105 endwhile;
     107endwhile; //endwhile have_posts()
     108else: //have_posts()
    106109?>
     110<p>Sorry, no posts matched your criteria.</p>
     111<?php endif; ?>
    107112
    108113<!-- // this is just the end of the motor - don't touch that line either :) -->
  • trunk/wp-content/themes/default/comments-popup.php

    r9025 r9336  
    44 * @subpackage Default_Theme
    55 */
    6 
    7 /* Don't remove these lines. */
    8 add_filter('comment_text', 'popuplinks');
    9 while ( have_posts()) : the_post();
    10 ?>
    11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     6?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    127<html xmlns="http://www.w3.org/1999/xhtml">
    138<head>
     
    2520<h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
    2621
     22<?php
     23/* Don't remove these lines. */
     24add_filter('comment_text', 'popuplinks');
     25if ( have_posts() ) :
     26while ( have_posts() ) : the_post();
     27?>
    2728<h2 id="comments">Comments</h2>
    2829
     
    6869      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
    6970       <label for="author">Name</label>
    70     <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    71     <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    7271    </p>
    7372
     
    9089
    9190    <p>
     91      <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
     92      <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
    9293      <input name="submit" type="submit" tabindex="5" value="Say It!" />
    9394    </p>
     
    103104
    104105<?php // if you delete this the sky will fall on your head
    105 endwhile;
     106endwhile; //endwhile have_posts()
     107else: //have_posts()
    106108?>
    107 
     109<p>Sorry, no posts matched your criteria.</p>
     110<?php endif; ?>
    108111<!-- // this is just the end of the motor - don't touch that line either :) -->
    109112<?php //} ?>
Note: See TracChangeset for help on using the changeset viewer.