source: extensions/PaysonsPlaces/template/comment_list.tpl @ 16859

Last change on this file since 16859 was 11436, checked in by tearran, 13 years ago

Replaced Comment blocks in the comment_list.tpl
Removed Table cell from footer.tpl

File size: 2.5 KB
Line 
1<link href="../theme.css" rel="stylesheet" type="text/css" />
2{* $Id$ *}
3{*
4                {if isset($comment.IN_EDIT)}
5                <a name="edit_comment"></a>
6                <form  method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
7                        <fieldset>
8                                <legend>{'Edit a comment'|@translate}</legend>
9                                <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>
10                                <input type="hidden" name="key" value="{$comment.KEY}">
11                                <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
12                                <input class="submit" type="submit" value="{'Submit'|@translate}">
13                        </fieldset>
14                </form>
15                {else}
16<table>
17        <tr>
18        <td id="des_m_p" class="padding">
19                <div class="text" id="scroll">
20                               
21               
22                        </div>
23            {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
24
25                {/if}
26                </td>
27        </tr>
28</table>
29               
30                {/if}
31</fieldset>
32</li>
33{/foreach}
34</ul>
35
36                *}
37
38
39
40<ul class="thumbnailCategories"> 
41{foreach from=$comments item=comment name=comment_loop}
42        <li>
43        <fieldset>     
44                <legend>
45<b>{$comment.AUTHOR}</b> - {$comment.DATE}             
46                <spacer height="18" width="44">&nbsp;</spacer>
47        </legend>
48<div class="actions" style="float:right">
49                {if isset($comment.U_DELETE)}
50                        <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
51                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]">
52                        </a>
53                {/if}
54                {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
55                        <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
56                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]">
57                        </a>
58                {/if}
59                {if isset($comment.U_VALIDATE)}
60                        <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
61                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]">
62                        </a>
63                {/if}
64                </div>
65<table>
66 <tbody>
67 <tr>
68
69    <td class="padding">
70        {* image *}
71{if isset($comment.TN_SRC)}
72        <a href="{$comment.U_PICTURE}">
73                <img src="{$comment.TN_SRC}" alt="{$comment.ALT}">
74        </a>
75    {else}
76<spacer height="18" width="44">&nbsp;</spacer>
77{/if}   </td>
78
79        <td id="des_m_p" class="padding">
80        <div class="text" id="scroll">
81        {* comment *}
82  {$comment.CONTENT}     
83       
84                </div>
85        </td>
86</tr>
87 
88</tbody></table>
89</fieldset>     
90
91</li>
92{/foreach}
93</ul>
Note: See TracBrowser for help on using the repository browser.