Dotclear


Ignore:
Timestamp:
06/26/15 17:04:37 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Apply extension/heritage templating system to mustek templateset, addresses #2099

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/mustek/post.html

    r3009 r3017  
    1 <!DOCTYPE html> 
    2 <html lang="{{tpl:BlogLanguage}}"> 
    3 <head> 
    4   <meta charset="UTF-8" /> 
    5   <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    6  
    7   <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 
    8   <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    9   <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    10   <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    11   <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    12  
    13   <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    14   <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
    15   <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    16   <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    17   <meta property="dc.language" content="{{tpl:EntryLang}}" /> 
    18   <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    19   <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    20   <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    21   <meta property="dc.type" content="text" /> 
    22   <meta property="dc.format" content="text/html" /> 
    23  
    24   <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    25   <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    26   <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf> 
    27  
    28   <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" 
    29   title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 
    30  
    31   <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" 
    32   title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 
    33  
    34   <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    35  
    36   {{tpl:include src="_head.html"}} 
    37  
    38   <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=post.js"></script> 
    39   <script type="text/javascript"> 
    40   //<![CDATA[ 
    41   var post_remember_str = '{{tpl:lang Remember me on this blog}}'; 
    42   //]]> 
    43   </script> 
    44 </head> 
    45  
    46 <body class="dc-post"> 
    47 <div id="page"> 
    48 {{tpl:EntryPingData}} 
    49  
    50 {{tpl:include src="_top.html"}} 
    51  
    52 <div id="wrapper"> 
    53  
    54 <div id="main" role="main"> 
    55   {{tpl:Breadcrumb}} 
    56   <div id="content"> 
    57  
    58   <p id="navlinks"> 
    59   <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 
    60   title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1" 
    61   cut_string="50"}}</a></tpl:EntryPrevious> 
    62   <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}" 
    63   title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1" 
    64   cut_string="50"}} &#187;</a></tpl:EntryNext> 
    65   </p> 
    66  
    67   <div id="p{{tpl:EntryID}}" class="post" role="article"> 
    68     <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
    69  
    70     <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    71     {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
    72     <tpl:EntryIf has_category="1"> 
    73     - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a> 
    74     </tpl:EntryIf> 
    75     - <a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a> 
    76     </p> 
    77  
    78     <tpl:EntryTags> 
    79     <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
    80     <li><a href="{{tpl:TagURL}}" rel="tag">{{tpl:TagID}}</a></li> 
    81     <tpl:TagsFooter></ul></tpl:TagsFooter> 
    82     </tpl:EntryTags> 
    83  
    84     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    85     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    86  
    87     <!-- # Entry with an excerpt --> 
    88     <tpl:EntryIf extended="1"> 
    89       <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
    90     </tpl:EntryIf> 
    91  
    92     <div class="post-content">{{tpl:EntryContent}}</div> 
    93  
    94     <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    95     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    96   </div> 
    97  
    98   <!-- # Attachments --> 
    99   <tpl:Attachments> 
    100     <tpl:AttachmentsHeader> 
    101       <div id="attachments"> 
    102       <h3>{{tpl:lang Attachments}}</h3> 
    103       <ul> 
    104     </tpl:AttachmentsHeader> 
    105       <li class="{{tpl:AttachmentType}}"> 
    106         <tpl:AttachmentIf is_mp3="1"> 
    107           {{tpl:include src="_mp3_player.html"}} - 
    108         </tpl:AttachmentIf> 
    109         <tpl:AttachmentIf is_flv="1"> 
    110           {{tpl:include src="_flv_player.html"}} 
    111         </tpl:AttachmentIf> 
    112         <tpl:AttachmentIf is_flv="0"> 
    113           <a href="{{tpl:AttachmentURL}}" 
     1{{tpl:extends parent="__layout.html"}} 
     2 
     3<tpl:Block name="head-title"> 
     4     <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 
     5</tpl:Block> 
     6 
     7<tpl:Block name="meta-entry"> 
     8     <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
     9     <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
     10     <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" /> 
     11</tpl:Block> 
     12 
     13<tpl:Block name="dc-entry"> 
     14     <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
     15     <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
     16     <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
     17     <meta property="dc.language" content="{{tpl:EntryLang}}" /> 
     18     <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" /> 
     19</tpl:Block> 
     20 
     21<tpl:Block name="head-linkrel"> 
     22     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
     23     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
     24     <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf> 
     25 
     26     <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" 
     27     title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 
     28 
     29     <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" 
     30     title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 
     31 
     32     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
     33</tpl:Block> 
     34 
     35<tpl:Block name="html-head"> 
     36     {{tpl:parent}} 
     37 
     38     <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=post.js"></script> 
     39     <script type="text/javascript"> 
     40          //<![CDATA[ 
     41          var post_remember_str = '{{tpl:lang Remember me on this blog}}'; 
     42          //]]> 
     43     </script> 
     44</tpl:Block> 
     45 
     46<tpl:Block name="body-tag"><body class="dc-post"></tpl:Block> 
     47 
     48<tpl:Block name="page-top"> 
     49     {{tpl:EntryPingData}} 
     50     {{tpl:parent}} 
     51</tpl:Block> 
     52 
     53<tpl:Block name="main-content"> 
     54     <p id="navlinks"> 
     55          <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 
     56          title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1" 
     57          cut_string="50"}}</a></tpl:EntryPrevious> 
     58          <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}" 
     59          title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1" 
     60          cut_string="50"}} &#187;</a></tpl:EntryNext> 
     61     </p> 
     62 
     63     <div id="p{{tpl:EntryID}}" class="post" role="article"> 
     64          <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
     65 
     66          <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
     67          {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
     68          <tpl:EntryIf has_category="1"> 
     69          - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a> 
     70          </tpl:EntryIf> 
     71          - <a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a> 
     72          </p> 
     73 
     74          <tpl:EntryTags> 
     75          <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
     76          <li><a href="{{tpl:TagURL}}" rel="tag">{{tpl:TagID}}</a></li> 
     77          <tpl:TagsFooter></ul></tpl:TagsFooter> 
     78          </tpl:EntryTags> 
     79 
     80          <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
     81          {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
     82 
     83          <!-- # Entry with an excerpt --> 
     84          <tpl:EntryIf extended="1"> 
     85               <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
     86          </tpl:EntryIf> 
     87 
     88          <div class="post-content">{{tpl:EntryContent}}</div> 
     89 
     90          <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
     91          {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
     92     </div> 
     93 
     94     <!-- # Attachments --> 
     95     <tpl:Attachments> 
     96          <tpl:AttachmentsHeader> 
     97               <div id="attachments"> 
     98               <h3>{{tpl:lang Attachments}}</h3> 
     99               <ul> 
     100          </tpl:AttachmentsHeader> 
     101               <li class="{{tpl:AttachmentType}}"> 
     102                    <tpl:AttachmentIf is_mp3="1"> 
     103                         {{tpl:include src="_mp3_player.html"}} - 
     104                    </tpl:AttachmentIf> 
     105                    <tpl:AttachmentIf is_flv="1"> 
     106                {{tpl:include src="_flv_player.html"}} 
     107           </tpl:AttachmentIf> 
     108           <tpl:AttachmentIf is_flv="0"> 
     109               <a href="{{tpl:AttachmentURL}}" 
    114110          title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a> 
    115         </tpl:AttachmentIf> 
    116       </li> 
    117     <tpl:AttachmentsFooter> 
    118       </ul> 
    119       </div> 
    120     </tpl:AttachmentsFooter> 
    121   </tpl:Attachments> 
    122  
    123   <!-- # Comments --> 
    124   <tpl:EntryIf show_comments="1"> 
    125     <tpl:Comments> 
    126     <tpl:CommentsHeader> 
    127       <div id="comments"> 
    128         <h3>{{tpl:lang Comments}}</h3> 
    129       <dl> 
    130     </tpl:CommentsHeader> 
    131       <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a 
    132       href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a> 
    133       {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}} 
    134       {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt> 
    135  
    136       <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
    137       <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
    138       {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
    139  
    140       {{tpl:CommentContent}} 
    141  
    142       <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
    143       {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
    144       </dd> 
    145     <tpl:CommentsFooter> 
    146       </dl> 
    147       </div> 
    148     </tpl:CommentsFooter> 
    149     </tpl:Comments> 
    150   </tpl:EntryIf> 
    151  
    152   <tpl:EntryIf comments_active="1"> 
    153     <tpl:SysIfFormError> 
    154       <p class="error" id="pr">{{tpl:SysFormError}}</p> 
    155     </tpl:SysIfFormError> 
    156  
    157     <tpl:SysIfCommentPublished> 
    158       <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
    159     </tpl:SysIfCommentPublished> 
    160  
    161     <tpl:SysIfCommentPending> 
    162       <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 
    163       will be reviewed for publication.}}</p> 
    164     </tpl:SysIfCommentPending> 
    165  
    166     <!-- # Comment form --> 
    167     <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> 
    168       <tpl:IfCommentPreview> 
    169         <div id="pr"> 
    170           <h3>{{tpl:lang Your comment}}</h3> 
    171           <dl> 
    172             <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd> 
    173           </dl> 
    174           <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p> 
    175         </div> 
    176       </tpl:IfCommentPreview> 
    177  
    178       <h3>{{tpl:lang Add a comment}}</h3> 
    179       <fieldset> 
    180         <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
    181         {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
    182  
    183         <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
    184         <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
    185         value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
    186         </p> 
    187  
    188         <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
    189         <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
    190         value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
    191         </p> 
    192  
    193         <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
    194         <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
    195         value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
    196         </p> 
    197  
    198         <p style="display:none"><input name="f_mail" type="text" size="30" 
    199         maxlength="255" value="" /></p> 
    200  
    201         <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
    202         <textarea name="c_content" id="c_content" cols="35" 
    203         rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
    204         </p> 
    205         <p class="form-help">{{tpl:CommentHelp}}</p> 
    206  
    207         <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
    208         {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
    209       </fieldset> 
    210  
    211       <fieldset> 
    212         <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
    213         <tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p> 
    214       </fieldset> 
    215     </form> 
    216   </tpl:EntryIf> 
    217  
    218   <!-- # Trackbacks --> 
    219   <tpl:EntryIf show_pings="1"> 
    220     <div id="pings"> 
    221     <h3>{{tpl:lang They posted on the same topic}}</h3> 
    222     <tpl:Pings> 
    223       <tpl:PingsHeader> 
    224       <dl> 
    225       </tpl:PingsHeader> 
    226         <dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><a href="#c{{tpl:PingID}}" 
    227         class="ping-number">{{tpl:PingOrderNumber}}.</a> 
    228         {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}} 
    229         {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt> 
    230  
    231         <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 
    232         <!-- # --BEHAVIOR-- publicPingBeforeContent --> 
    233         {{tpl:SysBehavior behavior="publicPingBeforeContent"}} 
    234  
    235         <p><a href="{{tpl:PingAuthorURL}}" 
    236         {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p> 
    237         {{tpl:PingContent}} 
    238  
    239         <!-- # --BEHAVIOR-- publicPingAfterContent --> 
    240         {{tpl:SysBehavior behavior="publicPingAfterContent"}} 
    241         </dd> 
    242       <tpl:PingsFooter> 
    243       </dl> 
    244       </tpl:PingsFooter> 
    245     </tpl:Pings> 
    246     </div> 
    247   </tpl:EntryIf> 
    248  
    249   <tpl:EntryIf pings_active="1"> 
    250     <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
    251   </tpl:EntryIf> 
    252  
    253   <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    254   <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
    255   title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
    256   </tpl:EntryIf> 
    257   </div> 
    258 </div> <!-- End #main --> 
    259  
    260 <div id="sidebar" role="complementary"> 
    261   <div id="blognav"> 
    262     {{tpl:Widgets type="nav"}} 
    263   </div> <!-- End #blognav --> 
    264  
    265   <div id="blogextra"> 
    266     {{tpl:Widgets type="extra"}} 
    267   </div> <!-- End #blogextra --> 
    268 </div> 
    269  
    270 </div> <!-- End #wrapper --> 
    271  
    272 {{tpl:include src="_footer.html"}} 
    273 </div> <!-- End #page --> 
    274 </body> 
    275 </html> 
     111                    </tpl:AttachmentIf> 
     112               </li> 
     113          <tpl:AttachmentsFooter> 
     114               </ul> 
     115               </div> 
     116          </tpl:AttachmentsFooter> 
     117     </tpl:Attachments> 
     118 
     119     <!-- # Comments --> 
     120     <tpl:EntryIf show_comments="1"> 
     121          <tpl:Comments> 
     122          <tpl:CommentsHeader> 
     123               <div id="comments"> 
     124                    <h3>{{tpl:lang Comments}}</h3> 
     125               <dl> 
     126          </tpl:CommentsHeader> 
     127               <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a 
     128               href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a> 
     129               {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}} 
     130               {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt> 
     131 
     132               <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
     133               <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
     134               {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
     135 
     136               {{tpl:CommentContent}} 
     137 
     138               <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
     139               {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
     140               </dd> 
     141          <tpl:CommentsFooter> 
     142               </dl> 
     143               </div> 
     144          </tpl:CommentsFooter> 
     145          </tpl:Comments> 
     146     </tpl:EntryIf> 
     147 
     148     <tpl:EntryIf comments_active="1"> 
     149          <tpl:SysIfFormError> 
     150               <p class="error" id="pr">{{tpl:SysFormError}}</p> 
     151          </tpl:SysIfFormError> 
     152 
     153          <tpl:SysIfCommentPublished> 
     154               <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
     155          </tpl:SysIfCommentPublished> 
     156 
     157          <tpl:SysIfCommentPending> 
     158               <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 
     159               will be reviewed for publication.}}</p> 
     160          </tpl:SysIfCommentPending> 
     161 
     162          <!-- # Comment form --> 
     163          <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> 
     164               <tpl:IfCommentPreview> 
     165                    <div id="pr"> 
     166                         <h3>{{tpl:lang Your comment}}</h3> 
     167                         <dl> 
     168                              <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd> 
     169                         </dl> 
     170                         <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p> 
     171                    </div> 
     172               </tpl:IfCommentPreview> 
     173 
     174               <h3>{{tpl:lang Add a comment}}</h3> 
     175               <fieldset> 
     176                    <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
     177                    {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
     178 
     179                    <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
     180                    <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
     181                    value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
     182                    </p> 
     183 
     184                    <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
     185                    <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
     186                    value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
     187                    </p> 
     188 
     189                    <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
     190                    <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
     191                    value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
     192                    </p> 
     193 
     194                    <p style="display:none"><input name="f_mail" type="text" size="30" 
     195                    maxlength="255" value="" /></p> 
     196 
     197                    <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
     198                    <textarea name="c_content" id="c_content" cols="35" 
     199                    rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
     200                    </p> 
     201                    <p class="form-help">{{tpl:CommentHelp}}</p> 
     202 
     203                    <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
     204                    {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
     205               </fieldset> 
     206 
     207               <fieldset> 
     208                    <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
     209                    <tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p> 
     210               </fieldset> 
     211          </form> 
     212     </tpl:EntryIf> 
     213 
     214     <!-- # Trackbacks --> 
     215     <tpl:EntryIf show_pings="1"> 
     216          <div id="pings"> 
     217               <h3>{{tpl:lang They posted on the same topic}}</h3> 
     218               <tpl:Pings> 
     219                    <tpl:PingsHeader> 
     220                    <dl> 
     221                    </tpl:PingsHeader> 
     222                         <dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><a href="#c{{tpl:PingID}}" 
     223                         class="ping-number">{{tpl:PingOrderNumber}}.</a> 
     224                         {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}} 
     225                         {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt> 
     226 
     227                         <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 
     228                         <!-- # --BEHAVIOR-- publicPingBeforeContent --> 
     229                         {{tpl:SysBehavior behavior="publicPingBeforeContent"}} 
     230 
     231                         <p><a href="{{tpl:PingAuthorURL}}" 
     232                         {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p> 
     233                         {{tpl:PingContent}} 
     234 
     235                         <!-- # --BEHAVIOR-- publicPingAfterContent --> 
     236                         {{tpl:SysBehavior behavior="publicPingAfterContent"}} 
     237                         </dd> 
     238                    <tpl:PingsFooter> 
     239                    </dl> 
     240                    </tpl:PingsFooter> 
     241               </tpl:Pings> 
     242          </div> 
     243     </tpl:EntryIf> 
     244 
     245     <tpl:EntryIf pings_active="1"> 
     246          <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
     247     </tpl:EntryIf> 
     248 
     249     <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
     250     <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
     251     title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
     252     </tpl:EntryIf> 
     253</tpl:Block> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map