aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/comments.vtp
blob: c5594c126a7ae3132281c9ad7caff3bc03c79af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<style>
      .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
        color:{#text_color};
        font-family:arial,sans-Serif;
        font-size:12px;
      }
      .commentsTitle,.commentsAuthor {
        text-align:center;
        font-weight:bold;
      }
      .commentsInfos {
        text-align:right;
        margin:3px 3px 3px 10px;
        font-size:11px;
      }
      .commentsContent {
        margin:10px;
      }
      .commentsTitle {
        margin-top:15px;
      }
      .commentsAuthor {
        margin:5px;
      }
      .commentsNavigationBar {
        margin:10px;
      }
      .tableComment {
        width:100%;
        border:2px solid #006699;
        margin:10px;
      }
      .cellAuthor {
        border-right:1px solid #006699;
        width:100px;
      }
      .cellInfo {
        border-bottom:1px solid #006699;
      }
      .imgLink {
        border:1px solid black;
      }
</style>
<!--VTP_section-->
<table style="width:100%;">
  <tr>
    <th>
      {#title}
      <!--VTP_last_days-->
      [
      <!--VTP_last_day_option-->
      <a href="{#link}" style="{#style}">{#option}</a>{#separation}
      <!--/VTP_last_day_option-->
      {#stats_last_days}
      ]
      <!--/VTP_last_days-->
      <!--VTP_open-->
      [ <a href="{#url}">{#open}</a> ]
      <!--/VTP_open-->
      <!--VTP_close-->
      [ <a href="{#url}">{#close}</a> ]
      <!--/VTP_close-->
    </th>
  </tr>
</table>
<!--VTP_start_form-->
<form action="{#action}" method="post">
<!--/VTP_start_form-->
<!--VTP_picture-->
<div style="border:2px solid #D3DCE3;margin:2px;">
  <table style="width:100%;">
    <tr>
     <td valign="top" width="1px">
       <!-- the thumbnail of the picture, linked to the full size page -->
       <a href="{#thumb_url}" title="{#thumb_title}">
         <img src="{#thumb_src}" class="imgLink" alt="{#thumb_alt}"/>
       </a>
     </td>
     <td>
       <div style="font-weight:bold;">{#title}</div>
       <!--VTP_comment-->
       <table style="width:100%;">
         <tr>
           <td>
             <table class="tableComment">
               <tr>
                 <td rowspan="2" valign="top" class="cellAuthor">
                   <div class="commentsAuthor">{#author}</div>
                 </td>
                 <td class="cellInfo">
                   <div class="commentsInfos">
                     {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="./images/delete.gif" style="border:none;margin-left:5px;" alt="[{#delete}]"/></a><!--/VTP_delete-->
                   </div>
                 </td>
               </tr>
               <tr>
                 <td>
                   <div class="commentsContent">{#content}</div>
                 </td>
               </tr>
             </table>
           </td>
           <!--VTP_validation-->
           <td style="width:1px;">
             <input type="checkbox" name="validate-{#id}" value="true" />
           </td>
           <!--/VTP_validation-->
         </tr>
       </table>
       <!--/VTP_comment-->
     </td>
    </tr>
  </table>
</div>
<!--/VTP_picture-->
<!--VTP_submit-->
<div style="text-align:center;margin:10px;">
  <input type="submit" name="submit" value="{#submit}" />
</div>
<!--/VTP_submit-->
<!--VTP_end_form-->
</form>
<!--/VTP_end_form-->
<!--/VTP_section-->