Ignore:
Timestamp:
07/05/10 13:52:23 (23 months ago)
Author:
fuze
Message:

Модуль "последнее в блогах" вынесен в шаблон

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fuze/templates/_default_/modules/mod_latestblogs.tpl

    r181 r225  
     1{if $is_blog} 
    12<table width="100%" cellspacing="0" cellpadding="5" border="0" > 
    23{foreach key=tid item=post from=$posts} 
    34        <tr> 
    4                 <td class="mod_blog_karma">{$post.karma}</td> 
    55                <td> 
    66                        <div> 
    77                                <a class="mod_blog_userlink" href="{$post.bloghref}">{$post.blog}</a> &rarr;  
    8                                 <a class="mod_blog_link" href="{$post.href}">{$post.title}</a> ({$post.date}) 
     8                                <a class="mod_blog_link" href="{$post.href}">{$post.title}</a> ({$post.fpubdate}) 
    99                        </div> 
    1010                </td> 
     
    1212{/foreach} 
    1313</table> 
     14{if $cfg.showrss} 
     15    <a href="/rss/blogs/all/feed.rss" class="mod_latest_rss">{$LANG.LATESTBLOGS_RSS}</a> 
     16{/if} 
     17{else}             
     18<p>{$LANG.LATESTBLOGS_NOT_POSTS}</p> 
     19{/if} 
Note: See TracChangeset for help on using the changeset viewer.