Default template improvements
authorgarvinhicking <garvinhicking>
Tue, 7 Feb 2006 19:30:15 +0000 (19:30 +0000)
committergarvinhicking <garvinhicking>
Tue, 7 Feb 2006 19:30:15 +0000 (19:30 +0000)
templates/default/comments.tpl
templates/default/content.tpl
templates/default/entries_archives.tpl

index 0812d0cb9188ec7f7560a3056d935ef7afa2d9ca..b7c4c911891251839d0dfdef35ed55550d3fe538 100644 (file)
@@ -1,6 +1,6 @@
-{foreach from=$comments item=comment}
+{foreach from=$comments item=comment name="comments"}
     <a id="c{$comment.id}"></a>
-    <div id="serendipity_comment_{$comment.id}" class="serendipity_comment serendipity_comment_author_{$comment.author|@makeFilename} {if $entry.author == $comment.author}serendipity_comment_author_self{/if}" style="padding-left: {$comment.depth*20}px">
+    <div id="serendipity_comment_{$comment.id}" class="serendipity_comment serendipity_comment_author_{$comment.author|@makeFilename} {if $entry.author == $comment.author}serendipity_comment_author_self{/if}{cycle values="comment_oddbox, comment_evenbox"}" style="padding-left: {$comment.depth*20}px">
         <div class="serendipity_commentBody">{$comment.body}</div>
         <div class="serendipity_comment_source">
             <a class="comment_source_trace" href="#c{$comment.id}">#{$comment.trace}</a>
@@ -27,5 +27,5 @@
         </div>
     </div>
 {foreachelse}
-    <div class="serendipity_center">{$CONST.NO_COMMENTS}</div>
+    <div class="serendipity_center nocomments">{$CONST.NO_COMMENTS}</div>
 {/foreach}
index dd6e045442409d9717c7c1069d71da59fc69aeb0..5f6f487ecf9687542da485ccb0e970c46c3f36e4 100644 (file)
@@ -1,12 +1,16 @@
 <!-- CONTENT START -->
 
 {if $searchresult_tooShort}
+    <h3 class="serendipity_date">{$CONST.QUICKSEARCH}</h3>
        <div class="serendipity_search serendipity_search_tooshort">{$content_message}</div>
 {elseif $searchresult_error}
+    <h3 class="serendipity_date">{$CONST.QUICKSEARCH}</h3>
        <div class="serendipity_search serendipity_search_error">{$content_message}</div>
 {elseif $searchresult_noEntries}
+    <h3 class="serendipity_date">{$CONST.QUICKSEARCH}</h3>
        <div class="serendipity_search serendipity_search_noentries">{$content_message}</div>
 {elseif $searchresult_results}
+    <h3 class="serendipity_date">{$CONST.QUICKSEARCH}</h3>
        <div class="serendipity_search serendipity_search_results">{$content_message}</div>
 {else}
        <div class="serendipity_content_message">{$content_message}</div>
index 9c62fcf498b25f449dc15ba5ff762bfe63673d73..768ae8c4f890ce08dd3b819a4ed242d835f74515 100644 (file)
@@ -1,4 +1,5 @@
 {serendipity_hookPlugin hook="entries_header"}
+<h3 class="serendipity_date">{$CONST.ARCHIVES}</h3>
 {foreach from=$archives item="archive"}
 <table id="archives_listing" cellspacing="4" cellpadding="4" border="0">
     <tr class="archives_header">
@@ -15,5 +16,5 @@
     {/foreach}
 </table>
 {/foreach}
-<div class='serendipity_entryFooter' style="text-align: center">
+<div class="serendipity_pageFooter" style="text-align: center">
 {serendipity_hookPlugin hook="entries_footer"}</div>