aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/comment_list.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
committerflop25 <flop25@piwigo.org>2013-06-30 14:24:42 +0000
commit3e9d3ab6865dde6a9a8b2a7aa181703dc56f1abd (patch)
tree5f30810edd57d9fd62eede09dea3be9ee53903f5 /themes/smartpocket/template/comment_list.tpl
parentb1a2127aef8189c48013c0540d649acee1480308 (diff)
bug:2848
jquery.mobile updated photoswipe updated menubar is now a right panel, with almost all the usual links added comment, search, picture, about and tags pages ToDo: *bug correction of the link added to the photoswipe toolbar (link doesn't triggered) *display the calculated size on the picture page limitations: no calendar view git-svn-id: http://piwigo.org/svn/trunk@23713 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/smartpocket/template/comment_list.tpl')
-rw-r--r--themes/smartpocket/template/comment_list.tpl12
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>