diff options
Diffstat (limited to 'themes/smartpocket/template/comment_list.tpl')
-rw-r--r-- | themes/smartpocket/template/comment_list.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/smartpocket/template/comment_list.tpl b/themes/smartpocket/template/comment_list.tpl new file mode 100644 index 000000000..1434939bf --- /dev/null +++ b/themes/smartpocket/template/comment_list.tpl @@ -0,0 +1,12 @@ +<ul data-role="listview" data-inset="true"> + <li data-role="list-divider">{'User comments'|@translate}</li> +{foreach from=$comments item=comment name=comment_loop} + <li> + {if !isset($from) or $from!="picture"}<a href="{$comment.U_PICTURE}"> + <img src="{$pwg->derivative_url($thumbnail_derivative_params, $comment.src_image)}">{/if} + <h3>{$comment.AUTHOR}</h3> + <p>{$comment.CONTENT}</p> + {if !isset($from) or $from!="comment"}</a>{/if} + </li> +{/foreach} +</ul> |