Changeset 9336
- Timestamp:
- 10/24/2008 09:06:30 PM (16 years ago)
- Location:
- trunk/wp-content/themes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments-popup.php
r9025 r9336 4 4 * @subpackage Classic_Theme 5 5 */ 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"> 12 7 <html xmlns="http://www.w3.org/1999/xhtml"> 13 8 <head> … … 24 19 25 20 <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. */ 24 add_filter('comment_text', 'popuplinks'); 25 if ( have_posts() ) : 26 while( have_posts()) : the_post(); 27 ?> 26 28 27 29 <h2 id="comments"><?php _e("Comments"); ?></h2> … … 68 70 <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> 69 71 <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"]); ?>" />72 72 </p> 73 73 … … 90 90 91 91 <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"]); ?>" /> 92 94 <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" /> 93 95 </p> … … 103 105 104 106 <?php // if you delete this the sky will fall on your head 105 endwhile; 107 endwhile; //endwhile have_posts() 108 else: //have_posts() 106 109 ?> 110 <p>Sorry, no posts matched your criteria.</p> 111 <?php endif; ?> 107 112 108 113 <!-- // this is just the end of the motor - don't touch that line either :) --> -
trunk/wp-content/themes/default/comments-popup.php
r9025 r9336 4 4 * @subpackage Default_Theme 5 5 */ 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"> 12 7 <html xmlns="http://www.w3.org/1999/xhtml"> 13 8 <head> … … 25 20 <h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1> 26 21 22 <?php 23 /* Don't remove these lines. */ 24 add_filter('comment_text', 'popuplinks'); 25 if ( have_posts() ) : 26 while ( have_posts() ) : the_post(); 27 ?> 27 28 <h2 id="comments">Comments</h2> 28 29 … … 68 69 <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> 69 70 <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"]); ?>" />72 71 </p> 73 72 … … 90 89 91 90 <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"]); ?>" /> 92 93 <input name="submit" type="submit" tabindex="5" value="Say It!" /> 93 94 </p> … … 103 104 104 105 <?php // if you delete this the sky will fall on your head 105 endwhile; 106 endwhile; //endwhile have_posts() 107 else: //have_posts() 106 108 ?> 107 109 <p>Sorry, no posts matched your criteria.</p> 110 <?php endif; ?> 108 111 <!-- // this is just the end of the motor - don't touch that line either :) --> 109 112 <?php //} ?>
Note: See TracChangeset
for help on using the changeset viewer.