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

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

Bug corrected with last comments module

File size: 649 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{assign var='derivative_params' value=$block.derivative_params}
20{include file='comment_list.tpl'}
21</div>
Note: See TracBrowser for help on using the repository browser.