source: trunk/template/yoga/picture.tpl @ 1376

Last change on this file since 1376 was 1344, checked in by plg, 18 years ago

merge -r1342:1343 from branch 1.6 to trunk (bug 413 fixed)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.4 KB
Line 
1<!-- BEGIN information -->
2<div class="pleaseNote">{information.INFORMATION}</div>
3<!-- END information -->
4
5<div id="imageHeaderBar">
6  <div class="browsePath">
7    <a href="{U_HOME}" rel="home">{L_HOME}</a>
8    {LEVEL_SEPARATOR}{SECTION_TITLE}
9    {LEVEL_SEPARATOR}{PICTURE_TITLE}
10  </div>
11  <div class="imageNumber">{PHOTO}</div>
12  <!-- BEGIN title -->
13  <h2>{TITLE}</h2>
14  <!-- END title -->
15</div>
16
17<div id="imageToolBar">
18
19<div class="randomButtons">
20  <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{L_SLIDESHOW}"></a>
21  <a href="{U_METADATA}" title="{L_PICTURE_METADATA}"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{L_PICTURE_METADATA}"></a>
22<!-- BEGIN representative -->
23  <a href="{representative.URL}" title="{lang:set as category representative}"><img src="{pwg_root}{themeconf:icon_dir}/representative.png" class="button" alt="{lang:representative}"/></a>
24<!-- END representative -->
25<!-- BEGIN favorite -->
26  <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}"><img src="{favorite.FAVORITE_IMG}" class="button" alt="{favorite.FAVORITE_ALT}"></a>
27<!-- END favorite -->
28<!-- BEGIN download -->
29  <a href="{download.U_DOWNLOAD}" title="{L_DOWNLOAD}"><img src="{pwg_root}{themeconf:icon_dir}/save.png" class="button" alt="{L_DOWNLOAD}"></a>
30<!-- END download -->
31<!-- BEGIN admin -->
32  <a href="{U_ADMIN}" title="{L_ADMIN}"><img src="{pwg_root}{themeconf:icon_dir}/preferences.png" class="button" alt="{L_ADMIN}"></a>
33<!-- END admin -->
34<!-- BEGIN caddie -->
35  <a href="{caddie.URL}" title="{lang:add to caddie}"><img src="{pwg_root}{themeconf:icon_dir}/caddie_add.png" class="button" alt="{lang:caddie}"/></a>
36<!-- END caddie -->
37</div>
38
39<div class="navButtons">
40<!-- BEGIN last -->
41  <a class="navButton prev" href="{last.U_IMG}" title="{lang:last_page} : {last.TITLE_IMG}" rel="last"><img src="{pwg_root}{themeconf:icon_dir}/last.png" class="button" alt="{lang:last_page}"></a>
42<!-- END last -->
43<!-- BEGIN next -->
44  <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}" rel="next"><img src="{pwg_root}{themeconf:icon_dir}/right.png" class="button" alt="{lang:next_page}"></a>
45<!-- END next -->
46  <a class="navButton up" href="{U_UP}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{L_UP_ALT}"></a>
47<!-- BEGIN previous -->
48  <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}" rel="prev"><img src="{pwg_root}{themeconf:icon_dir}/left.png" class="button" alt="{lang:previous_page}"></a>
49<!-- END previous -->
50<!-- BEGIN first -->
51  <a class="navButton prev" href="{first.U_IMG}" title="{lang:first_page} : {first.TITLE_IMG}" rel="first"><img src="{pwg_root}{themeconf:icon_dir}/first.png" class="button" alt="{lang:first_page}"></a>
52<!-- END first -->
53</div>
54
55</div> <!-- imageToolBar -->
56
57<div id="theImage">
58<!-- BEGIN high -->
59<a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
60<!-- END high -->
61  <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">
62<!-- BEGIN high -->
63</a>
64  <p>{L_PICTURE_HIGH}</p>
65<!-- END high -->
66<!-- BEGIN legend -->
67<p>{legend.COMMENT_IMG}</p>
68<!-- END legend -->
69<!-- BEGIN stop_slideshow -->
70<p>
71  [ <a href="{stop_slideshow.U_SLIDESHOW}">{L_STOP_SLIDESHOW}</a> ]
72</p>
73<!-- END stop_slideshow -->
74</div>
75
76<!-- BEGIN previous -->
77<a class="navThumb" id="thumbPrev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}" rel="prev">
78  <img src="{previous.IMG}" class="thumbLink" id="linkPrev" alt="{previous.TITLE_IMG}">
79</a>
80<!-- END previous -->
81<!-- BEGIN next -->
82<a class="navThumb" id="thumbNext" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}" rel="next">
83  <img src="{next.IMG}" class="thumbLink" id="linkNext" alt="{next.TITLE_IMG}">
84</a>
85<!-- END next -->
86
87<table class="infoTable" summary="Some info about this picture">
88  <tr>
89    <td class="label">{lang:Author}</td>
90    <td class="value">{INFO_AUTHOR}</td>
91  </tr>
92  <tr>
93    <td class="label">{lang:Created on}</td>
94    <td class="value">{INFO_CREATION_DATE}</td>
95  </tr>
96  <tr>
97    <td class="label">{lang:Posted on}</td>
98    <td class="value">{INFO_POSTED_DATE}</td>
99  </tr>
100  <tr>
101    <td class="label">{lang:Dimensions}</td>
102    <td class="value">{INFO_DIMENSIONS}</td>
103  </tr>
104  <tr>
105    <td class="label">{lang:File}</td>
106    <td class="value">{INFO_FILE}</td>
107  </tr>
108  <tr>
109    <td class="label">{lang:Filesize}</td>
110    <td class="value">{INFO_FILESIZE}</td>
111  </tr>
112  <tr>
113    <td class="label">{lang:Tags}</td>
114    <td class="value">{INFO_TAGS}</td>
115  </tr>
116  <tr>
117    <td class="label">{lang:Categories}</td>
118    <td class="value">
119      <ul>
120        <!-- BEGIN category -->
121        <li>{category.LINE}</li>
122        <!-- END category -->
123      </ul>
124    </td>
125  </tr>
126  <tr>
127    <td class="label">{lang:Visits}</td>
128    <td class="value">{INFO_VISITS}</td>
129  </tr>
130  <!-- BEGIN info_rate -->
131  <tr>
132    <td class="label">{lang:Average rate}</td>
133    <td class="value">{info_rate.CONTENT}</td>
134  </tr>
135  <!-- END info_rate -->
136</table>
137
138<!-- BEGIN metadata -->
139<table class="infoTable" summary="Some more (technical) info about this picture">
140  <!-- BEGIN headline -->
141  <tr>
142    <th colspan="2">{metadata.headline.TITLE}</th>
143  </tr>
144  <!-- END headline -->
145  <!-- BEGIN line -->
146  <tr>
147    <td class="label">{metadata.line.KEY}</td>
148    <td class="value">{metadata.line.VALUE}</td>
149  </tr>
150  <!-- END line -->
151</table>
152<!-- END metadata -->
153
154<!-- BEGIN rate -->
155<form action="{rate.F_ACTION}" method="post">
156<div>{rate.SENTENCE} :
157<!-- BEGIN rate_option -->
158{rate.rate_option.SEPARATOR}
159<!-- BEGIN my_rate -->
160<input type="button" name="rate" value="{rate.rate_option.OPTION}" class="rateButtonSelected" />
161<!-- END my_rate -->
162<!-- BEGIN not_my_rate -->
163<input type="submit" name="rate" value="{rate.rate_option.OPTION}" class="rateButton" />
164<!-- END not_my_rate -->
165<!-- END rate_option -->
166</div>
167</form>
168<!-- END rate -->
169
170<hr class="separation">
171
172<!-- BEGIN comments -->
173<div id="comments">
174  <h2>[{comments.NB_COMMENT}] {L_COMMENT_TITLE}</h2>
175
176  <div class="navigationBar">{comments.NAV_BAR}</div>
177
178  <!-- BEGIN comment -->
179  <div class="comment">
180    <!-- BEGIN delete -->
181    <p class="userCommentDelete">
182    <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}">
183      <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/>
184    </a>
185    </p>
186    <!-- END delete -->
187    <p class="commentInfo"><span class="author">{comments.comment.COMMENT_AUTHOR}</span> - {comments.comment.COMMENT_DATE}</p>
188    <blockquote>{comments.comment.COMMENT}</blockquote>
189  </div>
190  <!-- END comment -->
191
192  <!-- BEGIN add_comment -->
193  <form  method="post" action="{U_ADD_COMMENT}" class="filter" id="addComment">
194    <fieldset>
195      <legend>{L_ADD_COMMENT}</legend>
196      <!-- BEGIN author_field -->
197      <label>{L_AUTHOR}<input type="text" name="author"></label>
198      <!-- END author_field -->
199      <!-- BEGIN author_known -->
200      <input type="hidden" name="author"  value="{comments.add_comment.author_known.KNOWN_AUTHOR}">
201      <!-- END author_known -->
202      <label>{L_COMMENT}<textarea name="content" rows="10" cols="80"></textarea></label>
203      <input type="submit" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}>
204    </fieldset>
205  </form>
206  <!-- END add_comment -->
207
208</div>
209<!-- END comments -->
210
211
Note: See TracBrowser for help on using the repository browser.