Changeset 609:9f126d3f2e71 for themes/ductile/tpl
- Timestamp:
- 07/22/11 07:18:31 (14 years ago)
- Branch:
- themes
- Location:
- themes/ductile/tpl
- Files:
-
- 5 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/ductile/tpl/category.html
r585 r609 72 72 </tpl:CategoryIf> 73 73 74 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> 87 87 88 88 {{tpl:ductileNbEntryPerPage}} -
themes/ductile/tpl/post.html
r599 r609 55 55 <div id="content"> 56 56 57 <p id="navlinks"> 57 <p class="navlinks"> 58 <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 59 title="{{tpl:EntryTitle encode_html="1"}}" class="prev">« {{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"}} »</a></tpl:EntryNext> 64 </p> 65 66 {{tpl:include src="_simple-entry.html"}} 67 68 <p class="navlinks"> 58 69 <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 59 70 title="{{tpl:EntryTitle encode_html="1"}}" class="prev">« {{tpl:EntryTitle encode_html="1" … … 64 75 </p> 65 76 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 and178 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}} :</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}} :</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}}) :</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}} :</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}} : {{tpl:EntryPingLink}}</p>238 </div>239 </tpl:EntryIf>240 241 77 </div> 242 78 </div> <!-- End #main --> 243 79 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"}} 253 81 254 82 </div> <!-- End #wrapper -->
Note: See TracChangeset
for help on using the changeset viewer.