Dotclear


Ignore:
Timestamp:
12/16/16 07:29:22 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch from HTML comments to DC Template comments (not needed in final HTML output) — dotty templateset

Location:
inc/public/default-templates/dotty
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/dotty/404.html

    r3422 r3455  
    2929               <li><a href="{{tpl:BlogURL}}archive">{{tpl:lang Explore archives}}</a></li> 
    3030          </ul> 
    31      </nav> <!-- End #content-inner --> 
     31     </nav> <!-- # End #content-inner --> 
    3232</tpl:Block> 
  • inc/public/default-templates/dotty/__layout.html

    r3371 r3455  
    77          <tpl:Block name="head-title"> 
    88               <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 
    9           </tpl:Block>   <!-- head-title --> 
     9          </tpl:Block>   <!-- # head-title --> 
    1010 
    1111          <tpl:Block name="head-meta"> 
     
    1313               <tpl:Block name="meta-robots"> 
    1414                    <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    15                </tpl:Block>   <!-- meta-robots --> 
     15               </tpl:Block>   <!-- # meta-robots --> 
    1616               <tpl:Block name="meta-entry"> 
    1717                    <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    1818                    <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1919                    <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    20                </tpl:Block>   <!-- meta-entry --> 
    21           </tpl:Block>   <!-- head-meta --> 
     20               </tpl:Block>   <!-- # meta-entry --> 
     21          </tpl:Block>   <!-- # head-meta --> 
    2222 
    2323          <tpl:Block name="head-linkrel"> 
     
    4646               <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 
    4747               <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 
    48           </tpl:Block>   <!-- head-linkrel --> 
     48          </tpl:Block>   <!-- # head-linkrel --> 
    4949 
    5050          {{tpl:include src="_head.html"}} 
    51      </tpl:Block>   <!-- html-head --> 
     51     </tpl:Block>   <!-- # html-head --> 
    5252</head> 
    5353<tpl:Block name="body-tag"> 
     
    5959                    <tpl:Block name="page-top"> 
    6060                         {{tpl:include src="_top.html"}} 
    61                     </tpl:Block>   <!-- page-top --> 
     61                    </tpl:Block>   <!-- # page-top --> 
    6262 
    6363                    <div id="wrapper"> 
     
    7373                                                  <tpl:Entries> 
    7474 
    75                                                        <!-- First page --> 
     75                                                       <!-- # First page --> 
    7676                                                       <tpl:SysIf current_mode="default"> 
    7777                                                            <tpl:LoopPosition start="1" length="1"> 
     
    8484                                                       </tpl:SysIf> 
    8585 
    86                                                        <!-- Next pages --> 
     86                                                       <!-- # Next pages --> 
    8787                                                       <tpl:SysIf current_mode="!default"> 
    8888                                                            {{tpl:include src="_entry-short.html"}} 
    8989                                                       </tpl:SysIf> 
    9090 
    91                                                        <!-- Pagination --> 
     91                                                       <!-- # Pagination --> 
    9292                                                       <tpl:EntriesFooter> 
    9393                                                            {{tpl:include src="_pagination.html"}} 
     
    9696                                                  </tpl:Entries> 
    9797 
    98                                              </tpl:Block>   <!-- main-content --> 
    99                                         </section> <!-- End #content --> 
    100                                    </tpl:Block>   <!-- wrapper-main --> 
    101                               </main> <!-- End #main --> 
     98                                             </tpl:Block>   <!-- # main-content --> 
     99                                        </section> <!-- # End #content --> 
     100                                   </tpl:Block>   <!-- # wrapper-main --> 
     101                              </main> <!-- # End #main --> 
    102102 
    103103                              <tpl:Block name="wrapper-sidebar"> 
    104104                                   {{tpl:include src="_sidebar.html"}} 
    105                               </tpl:Block>   <!-- wrapper-sidebar --> 
    106                          </tpl:Block>   <!-- page-wrapper --> 
    107                     </div> <!-- End #wrapper --> 
     105                              </tpl:Block>   <!-- # wrapper-sidebar --> 
     106                         </tpl:Block>   <!-- # page-wrapper --> 
     107                    </div> <!-- # End #wrapper --> 
    108108 
    109109                    <tpl:Block name="page-footer"> 
    110110                         {{tpl:include src="_footer.html"}} 
    111                     </tpl:Block>   <!-- page-footer --> 
    112                </tpl:Block>   <!-- body-page --> 
    113           </div> <!-- End #page --> 
    114      </tpl:Block>   <!-- html-body --> 
     111                    </tpl:Block>   <!-- # page-footer --> 
     112               </tpl:Block>   <!-- # body-page --> 
     113          </div> <!-- # End #page --> 
     114     </tpl:Block>   <!-- # html-body --> 
    115115</body> 
    116116</html> 
  • inc/public/default-templates/dotty/_entry-feedback.html

    r3290 r3455  
    114114 
    115115<tpl:EntryIf operator="or" show_comments="1" show_pings="1"> 
    116      </section> <!-- end post-feedback --> 
     116     </section> <!-- # end post-feedback --> 
    117117</tpl:EntryIf> 
  • inc/public/default-templates/dotty/_footer.html

    r3246 r3455  
    66             <h2 class="blogcustom__title">{{tpl:lang Blog info}}</h2> 
    77               {{tpl:Widgets type="custom"}} 
    8           </div> <!-- End #custom widgets --> 
     8          </div> <!-- # End #custom widgets --> 
    99     </tpl:IfWidgets> 
    1010 
  • inc/public/default-templates/dotty/_head.html

    r3417 r3455  
    1 <!-- media queries --> 
     1<!-- # media queries --> 
    22<meta name="viewport" content="width=device-width, initial-scale=1.0" /> 
    33 
  • inc/public/default-templates/dotty/_sidebar.html

    r3246 r3455  
    44             <h2 class="blognav__title">{{tpl:lang Blog menu}}</h2> 
    55               {{tpl:Widgets type="nav"}} 
    6           </div> <!-- End #blognav --> 
     6          </div> <!-- # End #blognav --> 
    77     </tpl:IfWidgets> 
    88     <tpl:IfWidgets type="extra"> 
     
    1010             <h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2> 
    1111               {{tpl:Widgets type="extra"}} 
    12           </div> <!-- End #blogextra --> 
     12          </div> <!-- # End #blogextra --> 
    1313     </tpl:IfWidgets> 
    1414</aside> 
  • inc/public/default-templates/dotty/archive.html

    r3422 r3455  
    2525     <div class="content-inner"> 
    2626 
    27           <article id="time-criteria"><!-- entries sorted by date --> 
     27          <article id="time-criteria"><!-- # entries sorted by date --> 
    2828               <div id="arch-by-year" class="arch-block arch-by-year"> 
    2929                    <h3>{{tpl:lang By date}}</h3> 
     
    4545          </article> 
    4646 
    47           <article id="other-criteria"><!-- entries sorted by others criterias --> 
     47          <article id="other-criteria"><!-- # entries sorted by others criterias --> 
    4848               <tpl:Categories level="1"> 
    4949                    <tpl:CategoriesHeader> 
     
    8383          </article> 
    8484 
    85           <article id="more-arch"><!-- others things --> 
     85          <article id="more-arch"><!-- # others things --> 
    8686               <div id="arch-by-page" class="arch-block arch-by-page"> 
    8787                    <tpl:Entries type="page" no_content="1" lastn="0" selected="0"> 
     
    9898          </article> 
    9999 
    100      </div> <!-- End .content-inner --> 
     100     </div> <!-- # End .content-inner --> 
    101101</tpl:Block> 
    102102 
     
    106106               <tpl:Widget id="search"> 
    107107               </tpl:Widget> 
    108           </div> <!-- End #blognav --> 
     108          </div> <!-- # End #blognav --> 
    109109 
    110110          <tpl:IfWidgets type="extra"> 
     
    112112                  <h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2> 
    113113                    {{tpl:Widgets type="extra"}} 
    114                </div> <!-- End #blogextra --> 
     114               </div> <!-- # End #blogextra --> 
    115115          </tpl:IfWidgets> 
    116      </aside> <!-- End #sidebar --> 
     116     </aside> <!-- # End #sidebar --> 
    117117</tpl:Block> 
  • inc/public/default-templates/dotty/atom-comments.xml

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}"> 
    3  
    4   <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 
    5   - {{tpl:lang Comments}}</title> 
    6   <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
    7   <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/> 
    8   <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" 
    9   title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/> 
    10   <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
    11   <author> 
    12     <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
    13   </author> 
    14   <id>{{tpl:BlogFeedID}}</id> 
    15   <generator uri="http://www.dotclear.org/">Dotclear</generator> 
    16  
    17   <tpl:Comments order="desc" with_pings="1"> 
    18  
    19   <tpl:CommentIf is_ping="1"> 
    20   <entry> 
    21     <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 
    22     <link href="{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}" rel="alternate" type="text/html" 
    23     title="[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}" /> 
    24     <id>{{tpl:PingFeedID}}</id> 
    25     <published>{{tpl:PingDate iso8601="1"}}</published> 
    26     <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated> 
    27     <author><name>{{tpl:PingBlogName encode_xml="1"}}</name></author> 
    28     <content type="html">&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; {{tpl:PingContent encode_xml="1"}}</content> 
    29   </entry> 
    30  
    31   </tpl:CommentIf> 
    32  
    33   <tpl:CommentIf is_ping="0"> 
    34   <entry> 
    35     <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 
    36     <link href="{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" 
    37     title="{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}" /> 
    38     <id>{{tpl:CommentFeedID}}</id> 
    39     <published>{{tpl:CommentDate iso8601="1"}}</published> 
    40     <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated> 
    41     <author><name>{{tpl:CommentAuthor encode_xml="1"}}</name></author> 
    42     <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content> 
    43   </entry> 
    44   </tpl:CommentIf> 
    45   </tpl:Comments> 
    46  
     3     <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title> 
     4     <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
     5     <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" /> 
     6     <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/> 
     7     <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
     8     <author> 
     9          <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
     10     </author> 
     11     <id>{{tpl:BlogFeedID}}</id> 
     12     <generator uri="http://www.dotclear.org/">Dotclear</generator> 
     13     <tpl:Comments order="desc" with_pings="1"> 
     14          <tpl:CommentIf is_ping="1"> 
     15               <entry> 
     16                    <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 
     17                    <link href="{{tpl:PingPostURL encode_xml=" 1 "}}#c{{tpl:PingID}}" rel="alternate" type="text/html" title="[ping] {{tpl:PingEntryTitle encode_xml=" 1 "}} - {{tpl:PingBlogName encode_xml="1 "}}" /> 
     18                    <id>{{tpl:PingFeedID}}</id> 
     19                    <published>{{tpl:PingDate iso8601="1"}}</published> 
     20                    <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated> 
     21                    <author> 
     22                         <name>{{tpl:PingBlogName encode_xml="1"}}</name> 
     23                    </author> 
     24                    <content type="html">&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; {{tpl:PingContent encode_xml="1"}}</content> 
     25               </entry> 
     26          </tpl:CommentIf> 
     27          <tpl:CommentIf is_ping="0"> 
     28               <entry> 
     29                    <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 
     30                    <link href="{{tpl:CommentPostURL encode_xml=" 1 "}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" title="{{tpl:CommentEntryTitle encode_xml=" 1 "}} - {{tpl:CommentAuthor encode_xml="1 "}}" /> 
     31                    <id>{{tpl:CommentFeedID}}</id> 
     32                    <published>{{tpl:CommentDate iso8601="1"}}</published> 
     33                    <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated> 
     34                    <author> 
     35                         <name>{{tpl:CommentAuthor encode_xml="1"}}</name> 
     36                    </author> 
     37                    <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content> 
     38               </entry> 
     39          </tpl:CommentIf> 
     40     </tpl:Comments> 
    4741</feed> 
  • inc/public/default-templates/dotty/atom.xml

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    2 <feed xmlns="http://www.w3.org/2005/Atom" 
    3   xmlns:dc="http://purl.org/dc/elements/1.1/" 
    4   xmlns:wfw="http://wellformedweb.org/CommentAPI/" 
    5   xml:lang="{{tpl:BlogLanguage}}"> 
    6  
    7   <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
    8   <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
    9   <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/> 
    10   <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" 
    11   title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/> 
    12   <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
    13   <author> 
    14     <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
    15   </author> 
    16   <id>{{tpl:BlogFeedID}}</id> 
    17   <generator uri="http://www.dotclear.org/">Dotclear</generator> 
    18  
    19   <tpl:Entries> 
    20  
    21   <entry> 
    22     <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
    23     <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" 
    24     title="{{tpl:EntryTitle encode_xml="1"}}" /> 
    25     <id>{{tpl:EntryFeedID}}</id> 
    26     <published>{{tpl:EntryDate iso8601="1"}}</published> 
    27     <tpl:EntryIf republished="1"> 
    28       <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 
    29     </tpl:EntryIf> 
    30     <tpl:EntryIf republished="0"> 
    31       <updated>{{tpl:EntryDate iso8601="1"}}</updated> 
    32     </tpl:EntryIf> 
    33     <author><name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name></author> 
    34     <tpl:EntryIf has_category="1"> 
    35     <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 
    36     </tpl:EntryIf> 
    37     <tpl:EntryTags><dc:subject>{{tpl:TagID}}</dc:subject></tpl:EntryTags> 
    38  
    39     <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    40     {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 
    41  
    42     <tpl:Attachments> 
    43       <link rel="enclosure" href="{{tpl:AttachmentURL}}" 
    44       length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 
    45     </tpl:Attachments> 
    46  
    47  
    48     <tpl:EntryIf comments_active="1"> 
    49       <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
    50       <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
    51     </tpl:EntryIf> 
    52   </entry> 
    53   </tpl:Entries> 
    54  
     2<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xml:lang="{{tpl:BlogLanguage}}"> 
     3     <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
     4     <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
     5     <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" /> 
     6     <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/> 
     7     <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
     8     <author> 
     9          <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
     10     </author> 
     11     <id>{{tpl:BlogFeedID}}</id> 
     12     <generator uri="http://www.dotclear.org/">Dotclear</generator> 
     13     <tpl:Entries> 
     14          <entry> 
     15               <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     16               <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" title="{{tpl:EntryTitle encode_xml=" 1 "}}" /> 
     17               <id>{{tpl:EntryFeedID}}</id> 
     18               <published>{{tpl:EntryDate iso8601="1"}}</published> 
     19               <tpl:EntryIf republished="1"> 
     20                    <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 
     21               </tpl:EntryIf> 
     22               <tpl:EntryIf republished="0"> 
     23                    <updated>{{tpl:EntryDate iso8601="1"}}</updated> 
     24               </tpl:EntryIf> 
     25               <author> 
     26                    <name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name> 
     27               </author> 
     28               <tpl:EntryIf has_category="1"> 
     29                    <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 
     30               </tpl:EntryIf> 
     31               <tpl:EntryTags> 
     32                    <dc:subject>{{tpl:TagID}}</dc:subject> 
     33               </tpl:EntryTags> 
     34               <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 
     35               <tpl:Attachments> 
     36                    <link rel="enclosure" href="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 
     37               </tpl:Attachments> 
     38               <tpl:EntryIf comments_active="1"> 
     39                    <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
     40                    <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
     41               </tpl:EntryIf> 
     42          </entry> 
     43     </tpl:Entries> 
    5544</feed> 
  • inc/public/default-templates/dotty/category.html

    r3422 r3455  
    7676               </tpl:CategoriesFooter> 
    7777          </tpl:CategoryFirstChildren> 
    78      </header> <!-- End #content-info --> 
     78     </header> <!-- # End #content-info --> 
    7979 
    8080     <div class="content-inner"> 
     
    8686               </tpl:EntriesFooter> 
    8787          </tpl:Entries> 
    88      </div> <!-- End #content-inner --> 
     88     </div> <!-- # End #content-inner --> 
    8989</tpl:Block> 
  • inc/public/default-templates/dotty/password-form.html

    r3246 r3455  
    11<!DOCTYPE html> 
    22<html lang="{{tpl:BlogLanguage}}"> 
     3 
    34<head> 
    4   <meta charset="UTF-8" /> 
    5   <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 
    6   <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 
     5     <meta charset="UTF-8" /> 
     6     <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 
     7     <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 
     8     <style type="text/css"> 
     9     body { 
     10          font: 0.8em Verdana, Arial, Geneva, sans-serif; 
     11     } 
    712 
    8   <style type="text/css"> 
    9   body { 
    10   font: 0.8em Verdana,Arial,Geneva,sans-serif; 
    11   } 
     13     form { 
     14          display: block; 
     15          width: 500px; 
     16          margin: 0 auto; 
     17          padding: 1em; 
     18          background: #eee; 
     19     } 
    1220 
    13   form { 
    14   display : block; 
    15   width : 500px; 
    16   margin : 0 auto; 
    17   padding : 1em; 
    18   background : #eee; 
    19   } 
     21     h2 { 
     22          font: 140% Arial, Helvetica, sans-serif; 
     23          margin: 0; 
     24     } 
    2025 
    21   h2 { font : 140% Arial,Helvetica,sans-serif; margin : 0; } 
     26     label { 
     27          font-weight: bold; 
     28     } 
    2229 
    23   label { font-weight : bold; } 
    24  
    25   input { border-width : 1px; } 
    26   </style> 
     30     input { 
     31          border-width: 1px; 
     32     } 
     33     </style> 
    2734</head> 
    2835 
    2936<body> 
     37     <form action="{{tpl:EntryURL}}" method="post" role="form"> 
     38          <h2>{{tpl:lang Password needed}}</h2> 
     39          <p>{{tpl:lang You must give a password to access this area.}}</p> 
     40          <p> 
     41               <label>{{tpl:lang Password:}} 
     42                    <input type="password" name="password" value="" /> 
     43               </label> 
     44               <input type="submit" value="ok" /> 
     45          </p> 
     46     </form> 
     47</body> 
    3048 
    31 <form action="{{tpl:EntryURL}}" method="post" role="form"> 
    32 <h2>{{tpl:lang Password needed}}</h2> 
    33  
    34 <p>{{tpl:lang You must give a password to access this area.}}</p> 
    35 <p><label>{{tpl:lang Password:}} <input type="password" name="password" value="" /></label> <input type="submit" value="ok" /></p> 
    36  
    37 </form> 
    38  
    39 </body> 
    4049</html> 
  • inc/public/default-templates/dotty/rss2-comments.xml

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?> 
    3 <rss version="2.0" 
    4   xmlns:dc="http://purl.org/dc/elements/1.1/" 
    5   xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    6   xmlns:atom="http://www.w3.org/2005/Atom"> 
    7 <channel> 
    8   <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 
    9   - {{tpl:lang Comments}}</title> 
    10   <link>{{tpl:BlogURL}}</link> 
    11   <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml"/> 
    12   <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
    13   <language>{{tpl:BlogLanguage}}</language> 
    14   <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
    15   <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
    16   <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
    17   <generator>Dotclear</generator> 
    18  
    19   <tpl:Comments order="desc" with_pings="1"> 
    20  
    21   <tpl:CommentIf is_ping="1"> 
    22   <item> 
    23     <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 
    24     <link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link> 
    25     <guid isPermaLink="false">{{tpl:PingFeedID}}</guid> 
    26     <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 
    27     <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 
    28  
    29     <description>&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; 
    30     {{tpl:PingContent encode_xml="1"}}</description> 
    31   </item> 
    32   </tpl:CommentIf> 
    33  
    34   <tpl:CommentIf is_ping="0"> 
    35   <item> 
    36     <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 
    37     <link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link> 
    38     <guid isPermaLink="false">{{tpl:CommentFeedID}}</guid> 
    39     <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 
    40     <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 
    41  
    42     <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 
    43   </item> 
    44   </tpl:CommentIf> 
    45   </tpl:Comments> 
    46  
    47 </channel> 
    48 </rss> 
     3     <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> 
     4          <channel> 
     5               <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title> 
     6               <link>{{tpl:BlogURL}}</link> 
     7               <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" /> 
     8               <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
     9               <language>{{tpl:BlogLanguage}}</language> 
     10               <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
     11               <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
     12               <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
     13               <generator>Dotclear</generator> 
     14               <tpl:Comments order="desc" with_pings="1"> 
     15                    <tpl:CommentIf is_ping="1"> 
     16                         <item> 
     17                              <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 
     18                              <link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link> 
     19                              <guid isPermaLink="false">{{tpl:PingFeedID}}</guid> 
     20                              <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 
     21                              <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 
     22                              <description>&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; {{tpl:PingContent encode_xml="1"}}</description> 
     23                         </item> 
     24                    </tpl:CommentIf> 
     25                    <tpl:CommentIf is_ping="0"> 
     26                         <item> 
     27                              <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 
     28                              <link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link> 
     29                              <guid isPermaLink="false">{{tpl:CommentFeedID}}</guid> 
     30                              <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 
     31                              <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 
     32                              <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 
     33                         </item> 
     34                    </tpl:CommentIf> 
     35               </tpl:Comments> 
     36          </channel> 
     37     </rss> 
  • inc/public/default-templates/dotty/rss2.xml

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?> 
    3 <rss version="2.0" 
    4   xmlns:dc="http://purl.org/dc/elements/1.1/" 
    5   xmlns:wfw="http://wellformedweb.org/CommentAPI/" 
    6   xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    7   xmlns:atom="http://www.w3.org/2005/Atom"> 
    8 <channel> 
    9   <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
    10   <link>{{tpl:BlogURL}}</link> 
    11   <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml"/> 
    12   <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
    13   <language>{{tpl:BlogLanguage}}</language> 
    14   <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
    15   <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
    16   <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
    17   <generator>Dotclear</generator> 
    18  
    19   <tpl:Entries> 
    20  
    21   <item> 
    22     <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
    23     <link>{{tpl:EntryURL}}</link> 
    24     <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 
    25     <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 
    26     <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 
    27     <tpl:EntryIf has_category="1"> 
    28     <category>{{tpl:EntryCategory encode_html="1"}}</category> 
    29     </tpl:EntryIf> 
    30     <tpl:EntryTags><category>{{tpl:TagID}}</category></tpl:EntryTags> 
    31  
    32     <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    33     {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 
    34  
    35     <tpl:Attachments> 
    36       <enclosure url="{{tpl:AttachmentURL}}" 
    37       length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 
    38     </tpl:Attachments> 
    39  
    40     <tpl:EntryIf comments_active="1"> 
    41       <comments>{{tpl:EntryURL}}#comment-form</comments> 
    42       <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
    43       <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
    44     </tpl:EntryIf> 
    45   </item> 
    46   </tpl:Entries> 
    47  
    48 </channel> 
    49 </rss> 
     3     <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> 
     4          <channel> 
     5               <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
     6               <link>{{tpl:BlogURL}}</link> 
     7               <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" /> 
     8               <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
     9               <language>{{tpl:BlogLanguage}}</language> 
     10               <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
     11               <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
     12               <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
     13               <generator>Dotclear</generator> 
     14               <tpl:Entries> 
     15                    <item> 
     16                         <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     17                         <link>{{tpl:EntryURL}}</link> 
     18                         <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 
     19                         <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 
     20                         <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 
     21                         <tpl:EntryIf has_category="1"> 
     22                              <category>{{tpl:EntryCategory encode_html="1"}}</category> 
     23                         </tpl:EntryIf> 
     24                         <tpl:EntryTags> 
     25                              <category>{{tpl:TagID}}</category> 
     26                         </tpl:EntryTags> 
     27                         <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 
     28                         <tpl:Attachments> 
     29                              <enclosure url="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 
     30                         </tpl:Attachments> 
     31                         <tpl:EntryIf comments_active="1"> 
     32                              <comments>{{tpl:EntryURL}}#comment-form</comments> 
     33                              <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
     34                              <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
     35                         </tpl:EntryIf> 
     36                    </item> 
     37               </tpl:Entries> 
     38          </channel> 
     39     </rss> 
  • inc/public/default-templates/dotty/rss2.xsl

    r3246 r3455  
    88 
    99<xsl:template match="/"> 
    10 <html> 
    11   <head> 
    12     <title>{{tpl:lang Subscribe to}} <xsl:value-of select="/rss/channel/title"/></title> 
    13     <style type="text/css"> 
    14     <![CDATA[ 
    15     body { 
    16       font: 80% Verdana,Arial,sans-serif; 
    17       margin: 20px 0; 
    18       padding: 0 0; 
    19       background: #fff; 
    20       color: #000; 
    21     } 
    22     a { color: #039; } 
    23     h1, h2 { font-family: Arial,sans-serif; } 
    24     h1 { font-size: 160%; margin: 0; } 
    25     h2 { font-size: 140%; font-weight: bold; margin: 0.5em 0 0.2em 0; } 
    26     h2 a { text-decoration: none; } 
    27     p { margin: 0 0 0.5em 0; } 
    28     #page { 
    29       margin: 0 80px; 
    30     } 
    31     #top { 
    32       background: #036; 
    33       padding : 1em; 
    34       color: #fff; 
    35     } 
    36     #top a { 
    37       color: #fff; 
    38       text-decoration: none; 
    39     } 
    40     #what { 
    41       padding: 1em; 
    42       background: #eee; 
    43       border-bottom: 1px solid #000; 
    44       font-size: 80%; 
    45     } 
    46     #what p { 
    47       margin: 0 0 0.5em 0; 
    48     } 
    49     #footer { 
    50       border-top: 1px solid #000; 
    51     } 
    52     #items { 
    53       background: #fff; 
    54       color: inherit; 
    55     } 
    56     #items div { 
    57       margin: 0 0 1em 0; 
    58     } 
    59     ]]> 
    60     </style> 
    61     <script type="text/javascript"><![CDATA[ 
    62     window.onload = function() { 
    63       document.getElementById('feedurl').value = window.location.href; 
     10     <html> 
     11          <head> 
     12               <title>{{tpl:lang Subscribe to}} <xsl:value-of select="/rss/channel/title"/></title> 
     13               <style type="text/css"> 
     14               <![CDATA[ 
     15               body { 
     16                    font: 80% Verdana,Arial,sans-serif; 
     17                    margin: 20px 0; 
     18                    padding: 0 0; 
     19                    background: #fff; 
     20                    color: #000; 
     21               } 
     22               a { color: #039; } 
     23               h1, h2 { font-family: Arial,sans-serif; } 
     24               h1 { font-size: 160%; margin: 0; } 
     25               h2 { font-size: 140%; font-weight: bold; margin: 0.5em 0 0.2em 0; } 
     26               h2 a { text-decoration: none; } 
     27               p { margin: 0 0 0.5em 0; } 
     28               #page { 
     29                    margin: 0 80px; 
     30               } 
     31               #top { 
     32                    background: #036; 
     33                    padding : 1em; 
     34                    color: #fff; 
     35               } 
     36               #top a { 
     37                    color: #fff; 
     38                    text-decoration: none; 
     39               } 
     40               #what { 
     41                    padding: 1em; 
     42                    background: #eee; 
     43                    border-bottom: 1px solid #000; 
     44                    font-size: 80%; 
     45               } 
     46               #what p { 
     47                    margin: 0 0 0.5em 0; 
     48               } 
     49               #footer { 
     50                    border-top: 1px solid #000; 
     51               } 
     52               #items { 
     53                    background: #fff; 
     54                    color: inherit; 
     55               } 
     56               #items div { 
     57                    margin: 0 0 1em 0; 
     58               } 
     59               ]]> 
     60               </style> 
     61               <script type="text/javascript"><![CDATA[ 
     62                    window.onload = function() { 
     63                         document.getElementById('feedurl').value = window.location.href; 
    6464 
    65       // Ugly but works ;) 
    66       var c = document.getElementsByTagName('div'); 
    67       var t = ''; 
    68       for (var i=0; c.length-i != 0; i++) { 
    69         if (c[i].className == 'item-content') { 
    70           if (c[i].textContent) { 
    71             t = c[i].textContent; 
    72           } else if (c[i].innerText) { 
    73             t = c[i].innerText; 
    74           } else { 
    75             t = ''; 
    76           } 
     65                         // Ugly but works ;) 
     66                         var c = document.getElementsByTagName('div'); 
     67                         var t = ''; 
     68                         for (var i=0; c.length-i != 0; i++) { 
     69                              if (c[i].className == 'item-content') { 
     70                                   if (c[i].textContent) { 
     71                                        t = c[i].textContent; 
     72                                   } else if (c[i].innerText) { 
     73                                        t = c[i].innerText; 
     74                                   } else { 
     75                                        t = ''; 
     76                                   } 
    7777 
    78           if (t) { c[i].innerHTML = t; } 
    79         } 
    80       } 
    81     }; 
    82     ]]></script> 
    83   </head> 
    84   <body> 
    85     <div id="page"> 
    86       <div id="top"> 
    87         <h1><a href="{/rss/channel/link}"><xsl:value-of select="/rss/channel/title"/></a></h1> 
    88         <p><xsl:value-of select="/rss/channel/description"/></p> 
    89       </div> 
    90       <div id="what"> 
    91       <h3>{{tpl:lang What is an RSS feed?}}</h3> 
    92       <p>{{tpl:lang RSS feed is a free blog summary. It provides content 
    93       (either posts or comments) or  summaries of content, together with links 
    94       to the full versions, and other metadata. The last published items may 
    95       then be read by your favorite RSS 
    96       <a href="http://en.wikipedia.org/wiki/Aggregator">aggregator</a>.}}</p> 
    97       <h3>{{tpl:lang Subscribe}}</h3> 
    98       <p>{{tpl:lang Simply copy the following URL into your aggregator:}}</p> 
    99       <p><input type="text" size="60" value="" id="feedurl" /></p> 
    100       </div> 
    101       <div id="items"> 
    102         <xsl:apply-templates select="//item"/> 
    103       </div> 
    104       <div id="footer"> 
    105         <p><xsl:value-of select="/rss/channel/copyright"/></p> 
    106       </div> 
    107     </div> 
    108   </body> 
    109 </html> 
     78                                   if (t) { c[i].innerHTML = t; } 
     79                              } 
     80                         } 
     81                    }; 
     82               ]]></script> 
     83          </head> 
     84          <body> 
     85               <div id="page"> 
     86                    <div id="top"> 
     87                         <h1><a href="{/rss/channel/link}"><xsl:value-of select="/rss/channel/title"/></a></h1> 
     88                         <p><xsl:value-of select="/rss/channel/description"/></p> 
     89                    </div> 
     90                    <div id="what"> 
     91                         <h3>{{tpl:lang What is an RSS feed?}}</h3> 
     92                         <p>{{tpl:lang RSS feed is a free blog summary. It provides content 
     93                         (either posts or comments) or  summaries of content, together with links 
     94                         to the full versions, and other metadata. The last published items may 
     95                         then be read by your favorite RSS 
     96                         <a href="http://en.wikipedia.org/wiki/Aggregator">aggregator</a>.}}</p> 
     97                         <h3>{{tpl:lang Subscribe}}</h3> 
     98                         <p>{{tpl:lang Simply copy the following URL into your aggregator:}}</p> 
     99                         <p><input type="text" size="60" value="" id="feedurl" /></p> 
     100                    </div> 
     101                    <div id="items"> 
     102                         <xsl:apply-templates select="//item"/> 
     103                    </div> 
     104                    <div id="footer"> 
     105                         <p><xsl:value-of select="/rss/channel/copyright"/></p> 
     106                    </div> 
     107               </div> 
     108          </body> 
     109     </html> 
    110110</xsl:template> 
    111111 
    112112<!-- Item template --> 
    113113<xsl:template match="item"> 
    114   <div> 
    115     <h2><a href="{link}"><xsl:value-of select="title"/></a></h2> 
    116     <div class="item-content"><xsl:value-of select="description" /></div> 
    117   </div> 
     114     <div> 
     115          <h2><a href="{link}"><xsl:value-of select="title"/></a></h2> 
     116          <div class="item-content"><xsl:value-of select="description" /></div> 
     117     </div> 
    118118</xsl:template> 
    119119 
  • inc/public/default-templates/dotty/search.html

    r3422 r3455  
    6262               </tpl:EntriesFooter> 
    6363          </tpl:Entries> 
    64      </div> <!-- End #content-inner --> 
     64     </div> <!-- # End #content-inner --> 
    6565</tpl:Block> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map