diff options
Diffstat (limited to 'templates/center_recent_comments.tpl')
| -rwxr-xr-x | templates/center_recent_comments.tpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/center_recent_comments.tpl b/templates/center_recent_comments.tpl new file mode 100755 index 0000000..58b8ac7 --- /dev/null +++ b/templates/center_recent_comments.tpl @@ -0,0 +1,22 @@ +{strip} +{if $modLastComments} +<div class=""> + <div class="header"> + <h1>{tr}{$moduleTitle}{/tr}</h1> + </div> + <div class="body"> + <ul class="data"> + {section name=ix loop=$modLastComments} + <li class="item"> + <a href="{$modLastComments[ix].object->getDisplayUrl()}"><img style="width:50px;float:left;" src="{if $modLastComments[ix].object->getThumbnailUrl($moduleParams.module_params.thumb_size)}{$modLastComments[ix].object->getThumbnailUrl($moduleParams.module_params.thumb_size)}{else}{$smarty.const.USERS_PKG_URL}icons/silhouette.png{/if}" alt="{$modLastComments[ix].object->getTitle()|escape}" title="{$modLastComments[ix].object->getTitle()|escape}" /></a> + <div style="margin-left:60px;vertical-align:top;min-height:40px;margin-bottom:10px;background-color:#eee;padding:5px;"> + {displayname hash=$modLastComments[ix]} {$modLastComments[ix].parsed_data} + <div class="date">{$modLastComments[ix].last_modified|bit_short_datetime}</div> + </div> + </li> + {/section} + </ul> + </div> <!-- end .body --> +</div> +{/if} +{/strip} |
