[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/wp/ -> entries.tpl (source)

   1      {serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
   2  
   3      {foreach from=$entries item="dategroup"}
   4        {if $dategroup.is_sticky}
   5          <h2>{$CONST.STICKY_POSTINGS}</h2>
   6        {else}
   7          <h2>{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h2>
   8        {/if}
   9  
  10        {foreach from=$dategroup.entries item="entry"}
  11          <div class="post">
  12          <h3 class="storytitle" id="post-{$entry.id}"><a href="{$entry.link}" rel="bookmark" title="Permanent Link: {$entry.title}">{$entry.title}</a></h3>
  13  
  14          <div class="meta">Filed under:
  15            <ul class="post-categories">{foreach from=$entry.categories item="entry_category"}
  16              <li><a title="View all posts in {$entry_category.category_name}" href="{$serendipityHTTPPath}{$serendipityRewritePrefix}{$CONST.PATH_CATEGORIES}/{$entry_category.category_id}-{$entry_category.category_name|@makeFilename}">{$entry_category.category_name}</a></li>
  17            {/foreach}</ul>
  18            &#8212; {$entry.author} @ {$entry.timestamp|@formatTime:'%I:%M %p'}
  19          </div>
  20  
  21      <div class="storycontent">
  22            <p>
  23              {$entry.body}
  24              {if $entry.is_extended}
  25                {$entry.extended}
  26              {/if}
  27            </p>
  28            {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
  29              <p><a href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a></p>
  30            {/if}
  31      </div>
  32  
  33      <div class="feedback">
  34            <a href="{$entry.link}#comments">Comments ({$entry.comments+$entry.trackbacks})</a>
  35            {$entry.add_footer}
  36      </div>
  37  
  38          <!--
  39          <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  40                   xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
  41                   xmlns:dc="http://purl.org/dc/elements/1.1/">
  42          <rdf:Description
  43                   rdf:about="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/ei_{$entry.id}.rdf"
  44                   trackback:ping="{$serendipityBaseURL}comment.php?type=trackback&amp;entry_id={$entry.id}"
  45                   dc:title="{$entry.title_rdf|@default:$entry.title}"
  46                   dc:identifier="{$entry.rdf_ident}" />
  47          </rdf:RDF>
  48          -->
  49          {$entry.plugin_display_dat}
  50  
  51          {if $is_single_entry and not $is_preview}
  52            <h2 id="comments">Comments <a href="#postcomment" title="Leave a comment">&raquo;</a></h2>
  53            <p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em>{$serendipityBaseURL}comment.php?type=trackback&amp;entry_id={$entry.id}</em></p>
  54            <ol id="commentlist">
  55              {serendipity_printTrackbacks entry=$entry.id}
  56              {serendipity_printComments entry=$entry.id mode=$CONST.VIEWMODE_LINEAR}
  57            </ol>
  58            {$COMMENTFORM}
  59          {/if}
  60          </div>
  61        {/foreach}
  62      {foreachelse}
  63        {if not $plugin_clean_page}
  64          {$CONST.NO_ENTRIES_TO_PRINT}
  65        {/if}
  66      {/foreach}


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics