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

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

improvement: tags replace keywords. Better data model, less
limitations. Each image can be associated to as many tag as needed. Tags can
contain non ASCII characters. Oriented navigation with tags by association.

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