aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/picture.vtp
blob: 6af7f54c6a93c59ae4a678fd17f8003cefe509f1 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<html>
  <head>
    <!--VTP_refresh-->
    <meta http-equiv="refresh" content="{#time};url={#url}">
    <!--/VTP_refresh-->
    <meta http-equiv="Content-Type" content="text/html;charset={#charset}">
    {#style}
    <!-- Specific style to picture.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;
      }
      .commentsContent {
        margin:10px;
      }
      .commentsTitle {
        margin-top:15px;
      }
      .commentsAuthor {
        margin:5px;
      }
      .commentsNavigationBar {
        margin:10px;
      }
      .tableComment {
        width:90%;
        border:2px solid {#text_color};
        margin:10px;
      }
      .cellAuthor {
        border-right:1px solid {#text_color};
        width:100px;
      }
      .cellInfo {
        border-bottom:1px solid {#text_color};
      }
    </style>
    <title>{#page_title}</title>
  </head>
  <body>
    {#header}
    <!--VTP_information-->
    <div class="information">{#content}</div>
    <!--/VTP_information-->
    <!--VTP_start_slideshow-->
    <div style="text-align:center;margin-bottom:5px;">
      [ {#slideshow} :
      <!--VTP_second-->
      <a href="{#url}" class="back" style="font-weight:bold;">{#option}</a>
      <!--/VTP_second-->
      {#period_seconds} ]
    </div>
    <!--/VTP_start_slideshow-->
    <!--VTP_stop_slideshow-->
    <div style="text-align:center;margin-bottom:5px;">
      [ <a href="{#url}" class="back" style="font-weight:bold;">{#slideshow_stop}</a> ]
    </div>
    <!--/VTP_stop_slideshow-->
    <table style="width:100%;height:100%;">
      <tr align="center" valign="middle">
        <td>
          <!--VTP_previous-->
          <a href="{#url}" title="{#title}">
            <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
          </a>
          <!--/VTP_previous-->
          <!--VTP_previous_empty-->
          &nbsp;
          <!--/VTP_previous_empty-->
        </td>
        <td style="width:100%;">
          {#frame_start}1%{#frame_begin}
          <div class="titrePage">{#title}</div>
          {#frame_end}
          <div style="margin-bottom:5px">&nbsp;</div>
          {#frame_start}1%{#frame_begin}
          <a href="{#picture_link}">
            <img style="margin:10px;width:{#picture_width}px;height:{#picture_height}px;border:1px solid {#picture_border_color}" src="{#picture_src}" alt="{#picture_alt}"/>
          </a>
          <div class="commentImage">{#picture_comment}</div>
          <table style="width:100%;">   
            <tr>
              <td align="center">
                <table style="margin:auto;margin-top:5px;margin-bottom:5px;">
                  <!--VTP_info_line-->
                  <tr>
                     <td class="menu" style="font-weight:bold;">{#name}</td>
                     <td class="menu" style="text-align:right;">{#content}</td>
                  </tr>
                  <!--/VTP_info_line-->
                </table>
              </td>
            </tr>
          </table>
          <!--VTP_favorite-->
          <div class="menu" style="text-align:center;margin:5px;">
            <a href="{#link}" title="{#title}"><img src="{#src}" style="border:none;margin-left:5px;" alt=""/></a>
            <a href="{#link}">{#alt}</a>
          </div>
          <!--/VTP_favorite-->
          <!--VTP_modification-->
          <div class="menu" style="text-align:center;margin:5px;">
            [ <a href="{#link}">{#name}</a> ]
          </div>
          <!--/VTP_modification-->
          {#frame_end}
          <div style="text-align:center;">{#back}</div>
        </td>
        <td>
          <!--VTP_next-->
          <a href="{#url}" title="{#title}">
            <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
          </a>
          <!--/VTP_next-->
          <!--VTP_next_empty-->
          &nbsp;
          <!--/VTP_next_empty-->
        </td>
      </tr>
      <!--VTP_comments-->
      <tr align="center" valign="middle">
        <td colspan="3">
          {#frame_start}90%{#frame_begin}
            <table style="width:100%;">
              <tr align="center">
                <td>
                  <div class="commentsTitle">
                    [{#nb_comments}] {#comments_title}
                  </div>
                  <div class="commentsNavigationBar">{#navigation_bar}</div>
                  <!--VTP_comment-->
                  <table class="tableComment">
                    <tr>
                      <td rowspan="2" valign="top" class="cellAuthor">
                        <div class="commentsAuthor">{#author}</div>
                      </td>
                      <td align="right" class="cellInfo">
                        <div class="commentsInfos">
                          {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="./template/{#user_template}/theme/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>
                  <!--/VTP_comment-->
                  <div class="commentsNavigationBar">{#navigation_bar}</div>
                </td>
              </tr>
            </table>
            <!--VTP_add_comment-->
            <form method="post" action="{#form_action}">
              <table style="width:100%;">
                <tr align="center">
                  <td>
                    <div class="commentsTitle">{#comments_add}</div>
                    <!--VTP_author_field-->
                    <div class="menu">{#author} : <input type="text" name="author" style="margin-top:5px;"/></div>
                    <!--/VTP_author_field-->
                    <!--VTP_author_known-->
                    <input type="hidden" name="author" value="{#value}" />
                    <!--/VTP_author_known-->
                    <textarea name="content" rows="10" cols="50" style="overflow:auto;width:450px;margin:10px;"></textarea><br />
                    <input type="submit" value="{#submit}" style="margin:10px;"/>
                  </td>
                </tr>
              </table>
            </form>
            <!--/VTP_add_comment-->
          {#frame_end}
        </td>
      </tr>
      <!--/VTP_comments-->
    </table>
    {#footer}
  </body>
</html>