Last change
on this file since 4814 was
4517,
checked in by grum, 15 years ago
|
[Template:Gally] Fixes some bugs
|
-
Property svn:executable set to
*
|
File size:
1.6 KB
|
Line | |
---|
1 | {* |
---|
2 | The comment list is defined inside a tabsheet made with the jQuery $().tabs() |
---|
3 | With jQuery 1.2.6 (don't know how other release manage this) all the anchors <A> tags are considered as a tab. |
---|
4 | So, can't use <A href="link"> because href is modified by the jQuery function. |
---|
5 | Links are managed by an event onclick="document.location='link';" |
---|
6 | *} |
---|
7 | |
---|
8 | <ul class="commentList"> |
---|
9 | {foreach from=$comments item=comment} |
---|
10 | <li> |
---|
11 | <div class="commentDetail"> |
---|
12 | {if isset($comment.TN_SRC)} |
---|
13 | <div class="illustration"> |
---|
14 | <a href="{$comment.U_PICTURE}"> |
---|
15 | <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /> |
---|
16 | </a> |
---|
17 | </div> |
---|
18 | {/if} |
---|
19 | <div class="description"> |
---|
20 | {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) } |
---|
21 | <ul class="actions" style="float:right"> |
---|
22 | {if isset($comment.U_DELETE)} |
---|
23 | <li> |
---|
24 | <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"/> |
---|
25 | </li> |
---|
26 | {/if} |
---|
27 | {if isset($comment.U_VALIDATE)} |
---|
28 | <li> |
---|
29 | <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"/> |
---|
30 | </li> |
---|
31 | {/if} |
---|
32 | </ul> |
---|
33 | {/if} |
---|
34 | <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> |
---|
35 | <blockquote>{$comment.CONTENT}</blockquote> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | </li> |
---|
39 | |
---|
40 | {/foreach} |
---|
41 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.