source: trunk/template/default/picture.vtp @ 50

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

changing presentation of favorite link

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.7 KB
Line 
1<html>
2  <head>
3    <!--VTP_refresh-->
4    <meta http-equiv="refresh" content="{#time};url={#url}">
5    <!--/VTP_refresh-->
6    <meta http-equiv="Content-Type" content="text/html;charset={#charset}">
7    {#style}
8    <!-- Specific style to picture.php-->
9    <style type="text/css">
10      .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
11        color:{#text_color};
12        font-family:arial,sans-Serif;
13        font-size:12px;
14      }
15      .commentsTitle,.commentsAuthor {
16        text-align:center;
17        font-weight:bold;
18      }
19      .commentsInfos {
20        margin:3px 3px 3px 10px;
21        font-size:11px;
22      }
23      .commentsContent {
24        margin:10px;
25      }
26      .commentsTitle {
27        margin-top:15px;
28      }
29      .commentsAuthor {
30        margin:5px;
31      }
32      .commentsNavigationBar {
33        margin:10px;
34      }
35      .tableComment {
36        width:90%;
37        border:2px solid {#text_color};
38        margin:10px;
39      }
40      .cellAuthor {
41        border-right:1px solid {#text_color};
42        width:100px;
43      }
44      .cellInfo {
45        border-bottom:1px solid {#text_color};
46      }
47    </style>
48    <title>{#page_title}</title>
49  </head>
50  <body>
51    {#header}
52    <!--VTP_information-->
53    <div class="information">{#content}</div>
54    <!--/VTP_information-->
55    <!--VTP_start_slideshow-->
56    <div style="text-align:center;margin-bottom:5px;">
57      [ {#slideshow} :
58      <!--VTP_second-->
59      <a href="{#url}" class="back" style="font-weight:bold;">{#option}</a>
60      <!--/VTP_second-->
61      {#period_seconds} ]
62    </div>
63    <!--/VTP_start_slideshow-->
64    <!--VTP_stop_slideshow-->
65    <div style="text-align:center;margin-bottom:5px;">
66      [ <a href="{#url}" class="back" style="font-weight:bold;">{#slideshow_stop}</a> ]
67    </div>
68    <!--/VTP_stop_slideshow-->
69    <table style="width:100%;height:100%;">
70      <tr align="center" valign="middle">
71        <td>
72          <!--VTP_previous-->
73          <a href="{#url}" title="{#title}">
74            <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
75          </a>
76          <!--/VTP_previous-->
77          <!--VTP_previous_empty-->
78          &nbsp;
79          <!--/VTP_previous_empty-->
80        </td>
81        <td style="width:100%;">
82          {#frame_start}1%{#frame_begin}
83          <div class="titrePage">{#title}</div>
84          {#frame_end}
85          <div style="margin-bottom:5px">&nbsp;</div>
86          {#frame_start}1%{#frame_begin}
87          <a href="{#picture_link}">
88            <img style="margin:10px;width:{#picture_width}px;height:{#picture_height}px;border:1px solid {#picture_border_color}" src="{#picture_src}" alt="{#picture_alt}"/>
89          </a>
90          <div class="commentImage">{#picture_comment}</div>
91          <table style="width:100%;">   
92            <tr>
93              <td align="center">
94                <table style="margin:auto;margin-top:5px;margin-bottom:5px;">
95                  <!--VTP_info_line-->
96                  <tr>
97                     <td class="menu" style="font-weight:bold;">{#name}</td>
98                     <td class="menu" style="text-align:right;">{#content}</td>
99                  </tr>
100                  <!--/VTP_info_line-->
101                </table>
102              </td>
103            </tr>
104          </table>
105          <!--VTP_favorite-->
106          <div class="menu" style="text-align:center;margin:5px;">
107            <a href="{#link}" title="{#title}"><img src="{#src}" style="border:none;margin-left:5px;" alt=""/></a>
108            <a href="{#link}">{#alt}</a>
109          </div>
110          <!--/VTP_favorite-->
111          <!--VTP_modification-->
112          <div class="menu" style="text-align:center;margin:5px;">
113            [ <a href="{#link}">{#name}</a> ]
114          </div>
115          <!--/VTP_modification-->
116          {#frame_end}
117          <div style="text-align:center;">{#back}</div>
118        </td>
119        <td>
120          <!--VTP_next-->
121          <a href="{#url}" title="{#title}">
122            <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
123          </a>
124          <!--/VTP_next-->
125          <!--VTP_next_empty-->
126          &nbsp;
127          <!--/VTP_next_empty-->
128        </td>
129      </tr>
130      <!--VTP_comments-->
131      <tr align="center" valign="middle">
132        <td colspan="3">
133          {#frame_start}90%{#frame_begin}
134            <table style="width:100%;">
135              <tr align="center">
136                <td>
137                  <div class="commentsTitle">
138                    [{#nb_comments}] {#comments_title}
139                  </div>
140                  <div class="commentsNavigationBar">{#navigation_bar}</div>
141                  <!--VTP_comment-->
142                  <table class="tableComment">
143                    <tr>
144                      <td rowspan="2" valign="top" class="cellAuthor">
145                        <div class="commentsAuthor">{#author}</div>
146                      </td>
147                      <td align="right" class="cellInfo">
148                        <div class="commentsInfos">
149                          {#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-->
150                        </div>
151                      </td>
152                    </tr>
153                    <tr>
154                      <td>
155                        <div class="commentsContent">{#content}</div>
156                      </td>
157                    </tr>
158                  </table>
159                  <!--/VTP_comment-->
160                  <div class="commentsNavigationBar">{#navigation_bar}</div>
161                </td>
162              </tr>
163            </table>
164            <!--VTP_add_comment-->
165            <form method="post" action="{#form_action}">
166              <table style="width:100%;">
167                <tr align="center">
168                  <td>
169                    <div class="commentsTitle">{#comments_add}</div>
170                    <!--VTP_author_field-->
171                    <div class="menu">{#author} : <input type="text" name="author" style="margin-top:5px;"/></div>
172                    <!--/VTP_author_field-->
173                    <!--VTP_author_known-->
174                    <input type="hidden" name="author" value="{#value}" />
175                    <!--/VTP_author_known-->
176                    <textarea name="content" rows="10" cols="50" style="overflow:auto;width:450px;margin:10px;"></textarea><br />
177                    <input type="submit" value="{#submit}" style="margin:10px;"/>
178                  </td>
179                </tr>
180              </table>
181            </form>
182            <!--/VTP_add_comment-->
183          {#frame_end}
184        </td>
185      </tr>
186      <!--/VTP_comments-->
187    </table>
188    {#footer}
189  </body>
190</html>
Note: See TracBrowser for help on using the repository browser.