Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 11 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
0 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
71 lignes
Copier tout
3 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
71 lignes
Copier tout
<?php
<?php
/**
/**
* COMMENTS
* COMMENTS
*
*
* The template for displaying Comments.
* The template for displaying Comments.
*
*
* @package PageLines Framework
* @package PageLines Framework
* @since 1.0
* @since 1.0
*
*
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/
* @link http://www.pagelines.com/tour
* @link http://www.pagelines.com/tour
*
*
* @author PageLines http://www.pagelines.com/
* @author PageLines http://www.pagelines.com/
* @copyright Copyright (c) 2012, PageLines hello@pagelines.com
* @copyright Copyright (c) 2012, PageLines hello@pagelines.com
*
*
* @internal last revised February 23, 2012
* @internal last revised February 23, 2012
* @version 2.1.1
* @version 2.1.1
*/
*/
Copier
Copié
Copier
Copié
if(!have_comments(
) && !comments_open())
//
if(!have_comments(
)
) && !comments_open())
return;
//
return;
?>
?>
<div id="comments" class="wp-comments">
<div id="comments" class="wp-comments">
<div class="wp-comments-pad">
<div class="wp-comments-pad">
<?php
<?php
/* Stop the rest of comments.php from being processed,
/* Stop the rest of comments.php from being processed,
* but don't kill the script entirely -- we still have
* but don't kill the script entirely -- we still have
* to fully load the template.
* to fully load the template.
*/
*/
if ( post_password_required() ){
if ( post_password_required() ){
printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) );
printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) );
return;
return;
}
}
if ( have_comments() ) : ?>
if ( have_comments() ) : ?>
<h3 id="comments-title"><?php
<h3 id="comments-title"><?php
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ),
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
?></h3>
?></h3>
<ol class="commentlist">
<ol class="commentlist">
<?php wp_list_comments(array('avatar_size' => 65)); ?>
<?php wp_list_comments(array('avatar_size' => 65)); ?>
</ol>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="navigation fix">
<div class="navigation fix">
<div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div>
<div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div>
<div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div>
<div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div>
</div> <!-- .navigation -->
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php endif; // check for comment navigation ?>
<?php else : // or, if we don't have comments:
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed,
/* If there are no comments and comments are closed,
* let's leave a little note, shall we?
* let's leave a little note, shall we?
*/
*/
if ( ! comments_open() ) :
if ( ! comments_open() ) :
?>
?>
<p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p>
<p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p>
<?php endif; // end ! comments_open() ?>
<?php endif; // end ! comments_open() ?>
<?php
<?php
endif; // end have_comments()
endif; // end have_comments()
comment_form(); ?>
comment_form(); ?>
</div>
</div>
</div>
</div>
Différences enregistrées
Texte d'origine
Ouvrir un fichier
<?php /** * COMMENTS * * The template for displaying Comments. * * @package PageLines Framework * @since 1.0 * * @link http://www.pagelines.com/ * @link http://www.pagelines.com/tour * * @author PageLines http://www.pagelines.com/ * @copyright Copyright (c) 2012, PageLines hello@pagelines.com * * @internal last revised February 23, 2012 * @version 2.1.1 */ if(!have_comments() && !comments_open()) return; ?> <div id="comments" class="wp-comments"> <div class="wp-comments-pad"> <?php /* Stop the rest of comments.php from being processed, * but don't kill the script entirely -- we still have * to fully load the template. */ if ( post_password_required() ){ printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) ); return; } if ( have_comments() ) : ?> <h3 id="comments-title"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ), number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); ?></h3> <ol class="commentlist"> <?php wp_list_comments(array('avatar_size' => 65)); ?> </ol> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> <div class="navigation fix"> <div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div> <div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div> </div> <!-- .navigation --> <?php endif; // check for comment navigation ?> <?php else : // or, if we don't have comments: /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ if ( ! comments_open() ) : ?> <p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p> <?php endif; // end ! comments_open() ?> <?php endif; // end have_comments() comment_form(); ?> </div> </div>
Texte modifié
Ouvrir un fichier
<?php /** * COMMENTS * * The template for displaying Comments. * * @package PageLines Framework * @since 1.0 * * @link http://www.pagelines.com/ * @link http://www.pagelines.com/tour * * @author PageLines http://www.pagelines.com/ * @copyright Copyright (c) 2012, PageLines hello@pagelines.com * * @internal last revised February 23, 2012 * @version 2.1.1 */ //if(!have_comments()) && !comments_open()) // return; ?> <div id="comments" class="wp-comments"> <div class="wp-comments-pad"> <?php /* Stop the rest of comments.php from being processed, * but don't kill the script entirely -- we still have * to fully load the template. */ if ( post_password_required() ){ printf('<p class="nopassword">%s</p></div></div>', __( 'This post is password protected. Enter the password to view any comments.', 'pagelines' ) ); return; } if ( have_comments() ) : ?> <h3 id="comments-title"><?php printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'pagelines' ), number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); ?></h3> <ol class="commentlist"> <?php wp_list_comments(array('avatar_size' => 65)); ?> </ol> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> <div class="navigation fix"> <div class="alignleft"><?php previous_comments_link( __( "<span class='meta-nav'>←</span> Older Comments", 'pagelines' ) ); ?></div> <div class="alignright"><?php next_comments_link( __( "Newer Comments <span class='meta-nav'>→</span>", 'pagelines' ) ); ?></div> </div> <!-- .navigation --> <?php endif; // check for comment navigation ?> <?php else : // or, if we don't have comments: /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ if ( ! comments_open() ) : ?> <p class="nocomments"><?php _e('Comments are closed.', 'pagelines');?></p> <?php endif; // end ! comments_open() ?> <?php endif; // end have_comments() comment_form(); ?> </div> </div>
Trouver la différence