options->commentBackground) > 0): ?> user->hasLogin(); $GLOBALS['rememberEmail'] = $this->remember('mail',true); function threadedComments($comments, $options) { $commentClass = ''; $Identity = ''; if ($comments->authorId) { if ($comments->authorId == $comments->ownerId) { $commentClass .= ' comment-by-author'; //如果是文章作者的评论添加 .comment-by-author 样式 $Identity = ''; } else { $commentClass .= ' comment-by-user'; //如果是评论作者的添加 .comment-by-user 样式 //$Identity = ''; } }else{ $Identity = ''; } $commentLevelClass = $comments->_levels > 0 ? ' comment-child' : ' comment-parent'; //评论层数大于0为子级,否则是父级 $depth = $comments->levels +1; //添加的一句 if ($comments->url) { $author = '' . $comments->author . ''; } else { $author = $comments->author; } ?>
  • coid)?> content,$GLOBALS['isLogin'],$GLOBALS['rememberEmail'],$comments->mail,$parentMail); ?>
    reply(_mt('回复')); ?>
    children) { ?>
    threadedComments($options); ?>
  • comments()->to($comments); ?> options->commentPosition == 'bottom' || $this->options->commentPosition == ""): ?> allow('comment')): ?>

    cancelReply(_mt('取消回复')); ?>

    ">
    user->hasLogin()): ?>

     user->screenName(); ?> ! »

    remember('author',true) != "" && $this->remember('mail',true) != "") : ?>

     remember('author'); ?> 

    remember('mail',true); ?> ">
    ">

    options->commentPosition == 'top'): ?>
    need('usr/third_party_comments.php') ?>