source: extensions/PWG_Stuffs/trunk/theme/template/stuffs_lastcoms.tpl @ 12515

Last change on this file since 12515 was 12515, checked in by patdenice, 12 years ago

Update LastCom module for piwigo 2.3.
Don't hide main block if an additional page is defined as home page.

File size: 584 bytes
Line 
1{if !empty($block.MAX_WIDTH) or !empty($block.MAX_HEIGHT) or !empty($block.NB_COMMENTS_LINE)}
2{html_head}
3<style type="text/css">
4{if !empty($block.MAX_WIDTH)}
5#comments img {ldelim} max-width:{$block.MAX_WIDTH}px; }
6{/if}
7{if !empty($block.MAX_HEIGHT)}
8#comments img {ldelim} max-height:{$block.MAX_HEIGHT}px; }
9{/if}
10{if !empty($block.NB_COMMENTS_LINE)}
11#comments li {ldelim} width:{$block.NB_COMMENTS_LINE} !important; }
12{/if}
13</style>
14{/html_head}
15{/if}
16
17<div id="comments">
18{assign var=comments value=$block.comments}
19{include file='comment_list.tpl'}
20</div>
Note: See TracBrowser for help on using the repository browser.