source: trunk/template/default/admin/comments.vtp @ 30

Last change on this file since 30 was 30, checked in by z0rglub, 21 years ago

using new links to pictures (into the template dir)

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