Dotclear

Changeset 609:9f126d3f2e71


Ignore:
Timestamp:
07/22/11 07:18:31 (14 years ago)
Author:
kozlika
Branch:
themes
Message:

Ductile - Contextes solo, pages spéciales, tags. Quasi prêt pour Jour 8.

Location:
themes/ductile
Files:
8 added
5 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/locales/fr/main.po

    r603 r609  
    77msgid "Add ping" 
    88msgstr "Ajouter un rétrolien" 
     9 
     10msgid "Suggestions:" 
     11msgstr "Suggestions :" 
     12 
     13msgid "Go to homepage" 
     14msgstr "Aller à l'accueil" 
     15 
     16msgid "Use search form" 
     17msgstr "Faire une recherche" 
     18 
     19msgid "Explore archives" 
     20msgstr "Explorer les archives" 
  • themes/ductile/mediaqueries.css

    r608 r609  
    314314          } 
    315315     .full .post-attr, 
    316      .dc-post .post-attr { 
     316     .simple .post-attr { 
    317317          margin-left: -220px; 
    318318          margin-top: 0;  
     
    326326     #content-info, .navlinks, .pagination { 
    327327          margin-left: -220px !important; 
    328      } 
     328          } 
    329329     .dc-archive #content-info { 
    330330          margin-left: 0 !important; 
    331      } 
     331          } 
    332332     #content-info a.feed {  
    333333          white-space: nowrap; 
    334           } 
     334          }     
    335335} 
    336336 
  • themes/ductile/style.css

    r599 r609  
    248248     margin: .33em 0; 
    249249     } 
     250.post-attr { 
     251     margin-bottom: 1em; 
     252} 
    250253.post-info,  
    251254.post-tags { 
     
    276279} 
    277280.post-info a,  
    278 .post-tags a,  
    279281.post-info-co a, 
    280282.permalink a { 
     
    369371     font-family: "Franklin gothic medium","arial narrow","DejaVu Sans Condensed","helvetica neue",helvetica,sans-serif; 
    370372     font-size: .875em; 
     373     clear: both; 
    371374     } 
    372375#comment-form, #ping-url { 
     
    397400     list-style-type: none; 
    398401     } 
    399 .comment { 
     402.comment, .ping { 
     403     clear: left; 
    400404     margin-left: 0; 
    401      } 
    402 #comments .comment-info {  
     405     border-top: 1px solid #bbb; 
     406     } 
     407.comment-info {  
     408     clear: left; 
     409     float: left; 
    403410     padding-bottom: .2em; 
    404      border-bottom: 1px solid #ccc; 
    405      margin-top: 1.5em; 
    406      line-height: 1.1; 
     411     margin-top: 1em; 
     412     line-height: 1.25; 
     413     width: 10em; 
     414     color: #666; 
    407415     } 
    408416#comments .first { } 
     
    420428     font-family: "Century Schoolbook", "Century Schoolbook L", Georgia, serif; 
    421429     color: #ad3f4c; 
    422      } 
    423 #pings .first { } 
    424 #pings .odd { } 
    425  
    426 #pr dl { } 
    427 #pr dd { } 
     430     display: block; 
     431     width: 2em; 
     432     } 
     433.comment .comment-number { 
     434     background: transparent url(img/comm.png) right center no-repeat; 
     435     } 
     436.ping .comment-number { 
     437     background: transparent url(img/tb.png) right center no-repeat; 
     438     } 
     439.comment-content { 
     440     margin-left: 11em; 
     441     } 
     442#comments-feed { 
     443     border-top: 1px solid #bbb; 
     444     margin-top: 1.5em; 
     445     padding-top: 1em; 
     446     } 
    428447 
    429448/* ------------------------------------------------------- formulaire des commentaires */ 
     
    845864.dc-tags { } 
    846865.dc-tag { } 
    847 .dc-404 { } 
     866 
     867.dc-404 #content-info { 
     868     padding-bottom: 200px; 
     869     background: transparent url(img/404.png) no-repeat bottom center; 
     870     } 
     871.dc-404 .content-inner ul { 
     872     margin-left: 0; 
     873     padding-left: 0; 
     874     list-style-type: none; 
     875     } 
     876.dc-404 .content-inner h3 { 
     877     font-size: 1.1em; 
     878     font-variant: small-caps; 
     879     } 
    848880.dc-search #content-info em { color: #14709e; } 
    849881 
  • themes/ductile/tpl/category.html

    r585 r609  
    7272    </tpl:CategoryIf> 
    7373   
    74   <tpl:CategoryFirstChildren> 
    75     <tpl:CategoriesHeader> 
    76       <div id="subcategories"> 
    77       <h3>{{tpl:lang Subcategories}}</h3> 
    78       <ul> 
    79     </tpl:CategoriesHeader> 
    80     <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li> 
    81     <tpl:CategoriesFooter> 
    82       </ul> 
    83       </div> 
    84     </tpl:CategoriesFooter> 
    85   </tpl:CategoryFirstChildren> 
    86 </div> 
     74          <tpl:CategoryFirstChildren> 
     75     <tpl:CategoriesHeader> 
     76          <div id="subcategories"> 
     77          <h3>{{tpl:lang Subcategories}}</h3> 
     78          <ul> 
     79     </tpl:CategoriesHeader> 
     80     <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li> 
     81     <tpl:CategoriesFooter> 
     82          </ul> 
     83          </div> 
     84     </tpl:CategoriesFooter> 
     85     </tpl:CategoryFirstChildren> 
     86     </div> 
    8787   
    8888  {{tpl:ductileNbEntryPerPage}} 
  • themes/ductile/tpl/post.html

    r599 r609  
    5555  <div id="content"> 
    5656   
    57   <p id="navlinks"> 
     57  <p class="navlinks"> 
     58  <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 
     59  title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1" 
     60  cut_string="50"}}</a></tpl:EntryPrevious> 
     61  <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}" 
     62  title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1" 
     63  cut_string="50"}} &#187;</a></tpl:EntryNext> 
     64  </p> 
     65 
     66     {{tpl:include src="_simple-entry.html"}} 
     67 
     68  <p class="navlinks"> 
    5869  <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 
    5970  title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1" 
     
    6475  </p> 
    6576   
    66   <div id="p{{tpl:EntryID}}" class="post"> 
    67     <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
    68  
    69           <div class="post-attr"> 
    70          <p class="post-info"> 
    71           <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    72           <span class="post-date">{{tpl:EntryDate}}. </span> 
    73           <tpl:EntryIf has_category="1"> 
    74                     <tpl:EntryCategoriesBreadcrumb> 
    75                       <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> › 
    76                     </tpl:EntryCategoriesBreadcrumb> 
    77                <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
    78           </tpl:EntryIf> 
    79               <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 
    80          </p> 
    81           
    82          <tpl:EntryTags> 
    83          <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader> 
    84          <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a> 
    85          <tpl:TagsFooter></p></tpl:TagsFooter> 
    86          </tpl:EntryTags> 
    87           </div>     
    88      
    89     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    90     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    91      
    92     <!-- # Entry with an excerpt --> 
    93     <tpl:EntryIf extended="1"> 
    94       <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
    95     </tpl:EntryIf> 
    96      
    97     <div class="post-content">{{tpl:EntryContent}}</div> 
    98      
    99     <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    100     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    101   </div> 
    102    
    103   <!-- # Attachments --> 
    104   <tpl:Attachments> 
    105     <tpl:AttachmentsHeader> 
    106       <div id="attachments"> 
    107       <h3>{{tpl:lang Attachments}}</h3> 
    108       <ul> 
    109     </tpl:AttachmentsHeader> 
    110       <li class="{{tpl:AttachmentType}}"> 
    111         <tpl:AttachmentIf is_mp3="1"> 
    112           {{tpl:include src="_mp3_player.html"/}} -  
    113         </tpl:AttachmentIf> 
    114         <tpl:AttachmentIf is_flv="1"> 
    115           {{tpl:include src="_flv_player.html"/}} 
    116         </tpl:AttachmentIf> 
    117         <tpl:AttachmentIf is_flv="0"> 
    118           <a href="{{tpl:AttachmentURL}}" 
    119           title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
    120         </tpl:AttachmentIf> 
    121       </li> 
    122     <tpl:AttachmentsFooter> 
    123       </ul> 
    124       </div> 
    125     </tpl:AttachmentsFooter> 
    126   </tpl:Attachments> 
    127   
    128   <!-- # Comments --> 
    129   <tpl:EntryIf show_comments="1"> 
    130     <tpl:Comments with_pings="1"> 
    131     <tpl:CommentsHeader> 
    132       <div id="comments"> 
    133         <h3>{{tpl:EntryCommentCount count_all="1" one="%s" more="%s"}} {{tpl:lang reactions}}</h3> 
    134       <ul> 
    135     </tpl:CommentsHeader> 
    136                <tpl:CommentIf is_ping="0"> 
    137       <li class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
    138                </tpl:CommentIf> 
    139                <tpl:CommentIf is_ping="1"> 
    140       <li class="ping {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
    141                </tpl:CommentIf> 
    142                     <p id="c{{tpl:CommentID}}" class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a> 
    143                          {{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}} 
    144                     </p>      
    145            <div class="comment-content"> 
    146                 <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
    147                 {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
    148        
    149                 {{tpl:CommentContent}} 
    150        
    151                 <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
    152                 {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
    153            </div> 
    154                </li> 
    155     <tpl:CommentsFooter> 
    156       </ul> 
    157       </div> 
    158     </tpl:CommentsFooter> 
    159     </tpl:Comments> 
    160   </tpl:EntryIf> 
    161   
    162   <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    163   <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
    164   title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
    165   </tpl:EntryIf> 
    166   
    167   <tpl:EntryIf comments_active="1">     
    168     <tpl:SysIfFormError> 
    169       <p class="error" id="pr">{{tpl:SysFormError}}</p> 
    170     </tpl:SysIfFormError> 
    171      
    172     <tpl:SysIfCommentPublished> 
    173       <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
    174     </tpl:SysIfCommentPublished> 
    175      
    176     <tpl:SysIfCommentPending> 
    177       <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 
    178       will be reviewed for publication.}}</p> 
    179     </tpl:SysIfCommentPending> 
    180      
    181     <!-- # Comment form --> 
    182     <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> 
    183       <tpl:IfCommentPreview> 
    184         <div id="pr"> 
    185           <h3>{{tpl:lang Your comment}}</h3> 
    186           <dl> 
    187             <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd> 
    188           </dl> 
    189           <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p> 
    190         </div> 
    191       </tpl:IfCommentPreview> 
    192        
    193       <h3>{{tpl:lang Add a comment}}</h3> 
    194       <fieldset> 
    195         <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
    196         {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
    197          
    198         <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
    199         <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
    200         value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
    201         </p> 
    202          
    203         <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
    204         <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
    205         value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
    206         </p> 
    207          
    208         <p class="field"><label for="c_site">{{tpl:lang Website}} 
    209         ({{tpl:lang optional}})&nbsp;:</label> 
    210         <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
    211         value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
    212         </p> 
    213          
    214         <p style="display:none"><input name="f_mail" type="text" size="30" 
    215         maxlength="255" value="" /></p> 
    216          
    217         <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
    218         <textarea name="c_content" id="c_content" cols="35" 
    219         rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
    220         </p> 
    221         <p class="form-help">{{tpl:CommentHelp}}</p> 
    222          
    223         <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
    224         {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
    225       </fieldset> 
    226        
    227       <fieldset> 
    228         <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
    229         <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p> 
    230       </fieldset> 
    231     </form> 
    232   </tpl:EntryIf> 
    233      
    234   <tpl:EntryIf pings_active="1"> 
    235           <div id="ping-url"> 
    236           <h3>{{tpl:lang Add ping}}</h3> 
    237     <p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
    238           </div> 
    239   </tpl:EntryIf> 
    240    
    24177  </div> 
    24278</div> <!-- End #main --> 
    24379 
    244 <div id="sidebar"> 
    245   <div id="blognav"> 
    246     {{tpl:Widgets type="nav"}} 
    247   </div> <!-- End #blognav --> 
    248    
    249   <div id="blogextra"> 
    250     {{tpl:Widgets type="extra"}} 
    251   </div> <!-- End #blogextra --> 
    252 </div> 
     80{{tpl:include src="_sidebar.html"}} 
    25381 
    25482</div> <!-- End #wrapper --> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map