aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/comments.vtp
blob: 133f9578cfdb450fb79ca4082f0eab1c3a6498b8 (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
<html>
  <head>
    {#style}
    <title>{#title_comments}</title>
    <meta http-equiv="Content-Type" content="text/html; {#charset}">
    <!-- Specific style to comments.php-->
    <style type="text/css">
      .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 {
        margin:3px 3px 3px 10px;
        font-size:11px;
        text-align:right;
      }
      .commentsContent {
        margin:10px;
      }
      .commentsTitle {
        margin-top:15px;
      }
      .commentsAuthor {
        margin:5px;
      }
      .commentsNavigationBar {
        margin:10px;
      }
      .tableComment {
        width:100%;
        border:2px solid {#text_color};
        margin:10px;
      }
      .cellAuthor {
        border-right:1px solid {#text_color};
        width:100px;
      }
      .cellInfo {
        border-bottom:1px solid {#text_color};
      }
    </style>
  </head>
  <body>
    {#header}
    <table style="width:100%;">
      <tr align="center" valign="middle">
        <td>
          {#frame_start}1px{#frame_begin}
            <div class="titrePage">{#title_comments}</div>
          {#frame_end}
          <div style="margin-bottom:20px"></div>
          {#frame_start}90%{#frame_begin}
<table style="width:100%;">
  <tr>
    <th>
      [
      <!--VTP_last_day_option-->
      <a href="{#link}" style="{#style}">{#option}</a>{#separation}
      <!--/VTP_last_day_option-->
      {#stats_last_days}
      ]
      [ <a href="{#back_url}">{#search_return_main_page}</a> ]
    </th>
  </tr>
</table>
<!--VTP_picture-->
<div style="border:2px solid gray;margin:2px;padding: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 style="padding:2px;">
       <div style="font-weight:bold;padding-left:10px;">{#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="../template/{#user_template}/admin/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>
         </tr>
       </table>
       <!--/VTP_comment-->
     </td>
    </tr>
  </table>
</div>
<!--/VTP_picture-->
          {#frame_end}
        </td>
      </tr>
    </table>
    {#footer}
  </body>
</html>