Dotclear


Ignore:
Timestamp:
07/22/11 11:34:06 (14 years ago)
Author:
Franck <carnet.franck.paul@…>
Branch:
themes
Message:

Reprise des templates (mises en forme, corrections)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/tpl/_simple-entry.html

    r609 r615  
    11<div id="p{{tpl:EntryID}}" class="post simple"> 
    2   <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
    3  
     2     <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
     3      
    44     <div class="post-attr"> 
    5     <p class="post-info"> 
    6      <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    7      <span class="post-date">{{tpl:EntryDate}}. </span> 
    8          <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 
    9      <tpl:EntryIf has_category="1"> 
    10                <tpl:EntryCategoriesBreadcrumb> 
    11                  <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> › 
    12                </tpl:EntryCategoriesBreadcrumb> 
    13           <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
    14      </tpl:EntryIf> 
    15     </p> 
    16      
    17     <tpl:EntryTags> 
    18     <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader> 
    19     <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a> 
    20     <tpl:TagsFooter></p></tpl:TagsFooter> 
    21     </tpl:EntryTags> 
     5          <p class="post-info"> 
     6               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
     7               <span class="post-date">{{tpl:EntryDate}}. </span> 
     8               <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 
     9               <tpl:EntryIf has_category="1"> 
     10                    <tpl:EntryCategoriesBreadcrumb> 
     11                         <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> › 
     12                    </tpl:EntryCategoriesBreadcrumb> 
     13                    <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
     14               </tpl:EntryIf> 
     15          </p> 
     16           
     17          <tpl:EntryTags> 
     18               <tpl:TagsHeader> 
     19                    <p class="post-tags"> 
     20               </tpl:TagsHeader> 
     21                         <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a> 
     22               <tpl:TagsFooter> 
     23                    </p> 
     24               </tpl:TagsFooter> 
     25          </tpl:EntryTags> 
    2226     </div>     
    23    
    24   <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    25   {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    26    
    27   <!-- # Entry with an excerpt --> 
    28   <tpl:EntryIf extended="1"> 
    29     <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
    30   </tpl:EntryIf> 
    31    
    32   <div class="post-content">{{tpl:EntryContent}}</div> 
    33    
    34   <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    35   {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
     27      
     28     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
     29     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
     30      
     31     <!-- # Entry with an excerpt --> 
     32     <tpl:EntryIf extended="1"> 
     33          <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
     34     </tpl:EntryIf> 
     35      
     36     <div class="post-content">{{tpl:EntryContent}}</div> 
     37      
     38     <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
     39     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    3640</div> 
    3741 
    3842<!-- # Attachments --> 
    3943<tpl:Attachments> 
    40   <tpl:AttachmentsHeader> 
    41     <div id="attachments"> 
    42     <h3>{{tpl:lang Attachments}}</h3> 
    43     <ul> 
    44   </tpl:AttachmentsHeader> 
    45     <li class="{{tpl:AttachmentType}}"> 
    46       <tpl:AttachmentIf is_mp3="1"> 
    47         {{tpl:include src="_mp3_player.html"/}} -  
    48       </tpl:AttachmentIf> 
    49       <tpl:AttachmentIf is_flv="1"> 
    50      {{tpl:include src="_flv_player.html"/}} 
    51    </tpl:AttachmentIf> 
    52    <tpl:AttachmentIf is_flv="0"> 
    53      <a href="{{tpl:AttachmentURL}}" 
    54      title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
    55       </tpl:AttachmentIf> 
    56     </li> 
    57   <tpl:AttachmentsFooter> 
    58     </ul> 
    59     </div> 
    60   </tpl:AttachmentsFooter> 
     44     <tpl:AttachmentsHeader> 
     45          <div id="attachments"> 
     46               <h3>{{tpl:lang Attachments}}</h3> 
     47               <ul> 
     48     </tpl:AttachmentsHeader> 
     49                    <li class="{{tpl:AttachmentType}}"> 
     50                         <tpl:AttachmentIf is_mp3="1"> 
     51                              {{tpl:include src="_mp3_player.html"/}} -  
     52                         </tpl:AttachmentIf> 
     53                         <tpl:AttachmentIf is_flv="1"> 
     54                              {{tpl:include src="_flv_player.html"/}} 
     55                         </tpl:AttachmentIf> 
     56                         <tpl:AttachmentIf is_flv="0"> 
     57                              <a href="{{tpl:AttachmentURL}}" 
     58                               title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
     59                         </tpl:AttachmentIf> 
     60                    </li> 
     61     <tpl:AttachmentsFooter> 
     62               </ul> 
     63          </div> 
     64     </tpl:AttachmentsFooter> 
    6165</tpl:Attachments> 
    6266 
    6367<!-- # Comments --> 
    6468<tpl:EntryIf show_comments="1"> 
    65   <tpl:Comments with_pings="1"> 
    66   <tpl:CommentsHeader> 
    67     <div id="comments"> 
    68       <h3>{{tpl:EntryCommentCount count_all="1" one="%s" more="%s"}} {{tpl:lang reactions}}</h3> 
    69     <ul> 
    70   </tpl:CommentsHeader> 
    71           <tpl:CommentIf is_ping="0"> 
    72     <li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
    73           </tpl:CommentIf> 
    74           <tpl:CommentIf is_ping="1"> 
    75     <li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 
    76           </tpl:CommentIf> 
    77                <p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a> 
    78                     {{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}} 
    79                </p>      
    80       <div class="comment-content"> 
    81            <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
    82            {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
    83      
    84            {{tpl:CommentContent}} 
    85      
    86            <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
    87            {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
    88       </div> 
    89           </li> 
    90   <tpl:CommentsFooter> 
    91     </ul> 
    92     </div> 
    93   </tpl:CommentsFooter> 
    94   </tpl:Comments> 
     69     <tpl:Comments with_pings="1"> 
     70          <tpl:CommentsHeader> 
     71               <div id="comments"> 
     72                    <h3>{{tpl:EntryCommentCount count_all="1" one="%s" more="%s"}} {{tpl:lang reactions}}</h3> 
     73                    <ul> 
     74          </tpl:CommentsHeader> 
     75                         <tpl:CommentIf is_ping="0"> 
     76                              <li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
     77                         </tpl:CommentIf> 
     78                         <tpl:CommentIf is_ping="1"> 
     79                              <li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 
     80                         </tpl:CommentIf> 
     81                                   <p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a> 
     82                                        {{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}} 
     83                                   </p> 
     84                                   <div class="comment-content"> 
     85                                        <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
     86                                        {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
     87                                         
     88                                        {{tpl:CommentContent}} 
     89                                         
     90                                        <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
     91                                        {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
     92                                   </div> 
     93                              </li> 
     94          <tpl:CommentsFooter> 
     95                         </ul> 
     96                    </div> 
     97          </tpl:CommentsFooter> 
     98     </tpl:Comments> 
    9599</tpl:EntryIf> 
    96100 
    97101<tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    98 <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
    99 title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
     102     <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
     103           title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
    100104</tpl:EntryIf> 
    101105 
    102106<tpl:EntryIf comments_active="1">     
    103   <tpl:SysIfFormError> 
    104     <p class="error" id="pr">{{tpl:SysFormError}}</p> 
    105   </tpl:SysIfFormError> 
    106    
    107   <tpl:SysIfCommentPublished> 
    108     <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
    109   </tpl:SysIfCommentPublished> 
    110    
    111   <tpl:SysIfCommentPending> 
    112     <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 
    113     will be reviewed for publication.}}</p> 
    114   </tpl:SysIfCommentPending> 
    115    
    116   <!-- # Comment form --> 
    117   <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> 
    118     <tpl:IfCommentPreview> 
    119       <div id="pr"> 
    120         <h3>{{tpl:lang Your comment}}</h3> 
    121         <dl> 
    122           <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd> 
    123         </dl> 
    124         <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p> 
    125       </div> 
    126     </tpl:IfCommentPreview> 
    127      
    128     <h3>{{tpl:lang Add a comment}}</h3> 
    129     <fieldset> 
    130       <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
    131       {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
    132        
    133       <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
    134       <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
    135       value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
    136       </p> 
    137        
    138       <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
    139       <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
    140       value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
    141       </p> 
    142        
    143       <p class="field"><label for="c_site">{{tpl:lang Website}} 
    144       ({{tpl:lang optional}})&nbsp;:</label> 
    145       <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
    146       value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
    147       </p> 
    148        
    149       <p style="display:none"><input name="f_mail" type="text" size="30" 
    150       maxlength="255" value="" /></p> 
    151        
    152       <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
    153       <textarea name="c_content" id="c_content" cols="35" 
    154       rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
    155       </p> 
    156       <p class="form-help">{{tpl:CommentHelp}}</p> 
    157        
    158       <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
    159       {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
    160     </fieldset> 
    161      
    162     <fieldset> 
    163       <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
    164       <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p> 
    165     </fieldset> 
    166   </form> 
     107     <tpl:SysIfFormError> 
     108          <p class="error" id="pr">{{tpl:SysFormError}}</p> 
     109     </tpl:SysIfFormError> 
     110      
     111     <tpl:SysIfCommentPublished> 
     112          <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
     113     </tpl:SysIfCommentPublished> 
     114      
     115     <tpl:SysIfCommentPending> 
     116          <p class="message" id="pr">{{tpl:lang Your comment has been submitted and will be reviewed for publication.}}</p> 
     117     </tpl:SysIfCommentPending> 
     118      
     119     <!-- # Comment form --> 
     120     <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> 
     121          <tpl:IfCommentPreview> 
     122               <div id="pr"> 
     123                    <h3>{{tpl:lang Your comment}}</h3> 
     124                    <dl> 
     125                         <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd> 
     126                    </dl> 
     127                    <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p> 
     128               </div> 
     129          </tpl:IfCommentPreview> 
     130           
     131          <h3>{{tpl:lang Add a comment}}</h3> 
     132          <fieldset> 
     133               <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
     134               {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
     135                
     136               <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
     137                    <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
     138                     value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
     139               </p> 
     140                
     141               <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
     142                    <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
     143                     value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
     144               </p> 
     145                
     146               <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
     147                    <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
     148                     value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
     149               </p> 
     150                
     151               <p style="display:none"> 
     152                    <input name="f_mail" type="text" size="30" maxlength="255" value="" /> 
     153               </p> 
     154                
     155               <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
     156                    <textarea name="c_content" id="c_content" cols="35" 
     157                     rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
     158               </p> 
     159                
     160               <p class="form-help">{{tpl:CommentHelp}}</p> 
     161                
     162               <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
     163               {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
     164          </fieldset> 
     165           
     166          <fieldset> 
     167               <p class="buttons"> 
     168                    <input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
     169                    <tpl:IfCommentPreview> 
     170                         <input type="submit" class="submit" value="{{tpl:lang send}}" /> 
     171                    </tpl:IfCommentPreview> 
     172               </p> 
     173          </fieldset> 
     174     </form> 
    167175</tpl:EntryIf> 
    168176   
    169177<tpl:EntryIf pings_active="1"> 
    170178     <div id="ping-url"> 
    171      <h3>{{tpl:lang Add ping}}</h3> 
    172   <p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
     179          <h3>{{tpl:lang Add ping}}</h3> 
     180          <p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
    173181     </div> 
    174182</tpl:EntryIf> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map