[pLog-svn] r1090 - plog/trunk/templates/standard-with-plugins

mark at devel.plogworld.net mark at devel.plogworld.net
Tue Feb 15 17:16:26 GMT 2005


Author: mark
Date: 2005-02-15 17:16:25 +0000 (Tue, 15 Feb 2005)
New Revision: 1090

Modified:
   plog/trunk/templates/standard-with-plugins/footer.template
Log:
Add 4 new plugins supports:
1. topcommentposts
2. topcommentvisitors
3. topreadposts
4. toptrackbackposts

Modified: plog/trunk/templates/standard-with-plugins/footer.template
===================================================================
--- plog/trunk/templates/standard-with-plugins/footer.template	2005-02-15 17:15:00 UTC (rev 1089)
+++ plog/trunk/templates/standard-with-plugins/footer.template	2005-02-15 17:16:25 UTC (rev 1090)
@@ -79,7 +79,63 @@
        </ul>
       </div> 
      {/if}
-    {/if}  
+    {/if}
+
+    {if !empty($topcommentposts)}    
+     {if $topcommentposts->isEnabled()}
+      <h2>{$locale->tr("topcommentposts")}</h2>
+      <div id="Recently">
+       <ul> 
+        {assign var=commentposts value=$topcommentposts->getTopCommentPosts()}
+        {foreach from=$commentposts item=commentpost}
+         <li><a href="{$url->postLink($commentpost)}">{$commentpost->getTopic()} ({$commentpost->getTotalComments()} Posts)</a></li>
+        {/foreach}
+       </ul>
+      </div> 
+     {/if}
+    {/if}
+
+    {if !empty($topcommentvisitors)}    
+     {if $topcommentvisitors->isEnabled()}
+      <h2>{$locale->tr("topcommentvisitors")}</h2>
+      <div id="Recently">
+       <ul>
+        {assign var=commentvisitors value=$topcommentvisitors->getTopCommentVisitors()}
+        {foreach from=$commentvisitors item=commentvisitor}
+         <li><a href="{$commentvisitor.user_url}">{$commentvisitor.user_name} ({$commentvisitor.user_count} Comments)</a></li>
+        {/foreach}
+       </ul>
+      </div>  
+     {/if}
+    {/if}
+
+    {if !empty($topreadposts)}    
+     {if $topreadposts->isEnabled()}
+      <h2>{$locale->tr("topreadposts")}</h2>
+      <div id="Recently">
+       <ul>
+        {assign var=readposts value=$topreadposts->getTopReadPosts()}
+        {foreach from=$readposts item=readpost}
+         <li><a href="{$url->postLink($readpost)}">{$readpost->getTopic()} ({$readpost->getNumReads()} Times)</a></li>
+        {/foreach}
+       </ul>
+      </div> 
+     {/if}
+    {/if}
+        
+    {if !empty($toptrackbackposts)}    
+     {if $toptrackbackposts->isEnabled()}
+      <h2>{$locale->tr("toptrackbackposts")}</h2>
+      <div id="Recently">
+       <ul>  
+        {assign var=trackbackposts value=$toptrackbackposts->getTopTrackbackPosts()}
+        {foreach from=$trackbackposts item=trackbackpost}
+         <li><a href="{$url->postLink($trackbackpost)}">{$trackbackpost->getTopic()} ({$trackbackpost->getNumTrackbacks()} Trackbacks)</a></li>
+        {/foreach}
+       </ul>
+      </div>
+     {/if}
+    {/if}
   
   	<h2>{$locale->tr("syndicate")}</h2>
     	<div id="Syndicate">




More information about the pLog-svn mailing list