comments [GV2]

Gadget TypeDefault Gadget VersionLayouts VersionUpdate Version
Blog
2
3
Révision 1.3.0
comments [Blog GV2]
comments est le nom d'une inclusion du modèle par défaut de gadget version 2 dans le gadget Blog.
L'inclusion reconstruit l'ossature principale du module de commentaires cumulés.


Contenu de l'inclusion

<b:includable id='comments' var='post'>
  <section expr:class='"comments" + (data:post.embedCommentForm ? " embed" : "")'
           expr:data-num-comments='data:post.numberOfComments'
           id='comments'>
    <a name='comments'/>
    <b:if cond='data:post.allowComments'>

      <b:include name='commentsTitle'/>

      <div expr:id='data:widget.instanceId + "_comments-block-wrapper"'>
        <b:include cond='data:post.comments' data='post.comments' name='commentList'/>
      </div>

      <b:if cond='data:post.commentPagingRequired'>
        <div class='paging-control-container'>
          <b:if cond='data:post.hasOlderLinks'>
            <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
              <data:messages.oldest/>
            </a>
            <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
              <data:messages.older/>
            </a>
          </b:if>

          <span class='comment-range-text'>
            <data:post.commentRangeText/>
          </span>

          <b:if cond='data:post.hasNewerLinks'>
            <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
              <data:messages.newer/>
            </a>
            <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
              <data:messages.newest/>
            </a>
          </b:if>
        </div>
      </b:if>

      <div class='footer'>
        <b:if cond='data:post.embedCommentForm'>
          <b:if cond='data:post.allowNewComments'>
            <b:include data='post' name='commentForm'/>
          <b:else/>
            <data:post.noNewCommentsText/>
          </b:if>
        <b:else/>
          <b:if cond='data:post.allowComments'>
            <b:include data='post' name='addComments'/>
          </b:if>
        </b:if>
      </div>
    </b:if>
    <b:if cond='data:showCmtPopup'>
      <div id='comment-popup'>
        <iframe allowtransparency='true'
                frameborder='0'
                id='comment-actions'
                name='comment-actions'
                scrolling='no'/>
      </div>
    </b:if>
  </section>
</b:includable>


Disponibilité par thème

Original Contempo Emporio Notable Soho
XML Explicite
Version serveur


Inclusions parentes

Gadget Type Inclusion Gadget Version Thème
Blog
Blog
commentPicker 2


Les autres versions

Gadget Type Inclusion Gadget Version Thème
Blog
Blog
comments 1

Posts les plus consultés de ce blog

Character DATA [CDATA]