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

Last change on this file since 1950 was 1950, checked in by rvelices, 17 years ago

merge revisions 1938 and 1949 from branch-1_7 to trunk:
dark theme correction
permalink and category.php redirections are permanent (http code 301) instead of temporary (301)
added rel nofollow for the metadata link on picture page
changed h2 background color style in dark/mail-css (was not readable when images are not downloaded)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 8.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">
7    <a href="{U_HOME}" rel="home">{lang: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="{lang:slideshow}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"></a>
21  <a href="{U_METADATA}" title="{lang:picture_show_metadata}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{lang:picture_show_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="{lang:download_hint}"><img src="{pwg_root}{themeconf:icon_dir}/save.png" class="button" alt="{lang:download}"></a>
30<!-- END download -->
31<!-- BEGIN admin -->
32  <a href="{U_ADMIN}" title="{lang:link_info_image}"><img src="{pwg_root}{themeconf:icon_dir}/preferences.png" class="button" alt="{lang:link_info_image}"></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 last_unactive -->
44  <a class="navButton prev"><img src="{pwg_root}{themeconf:icon_dir}/last_unactive.png" class="button" alt=""></a>
45<!-- END last_unactive -->
46<!-- BEGIN next -->
47  <a class="navButton next" href="{next.U_IMG}" title="{lang:next_page} : {next.TITLE_IMG}" rel="next"><img src="{pwg_root}{themeconf:icon_dir}/right.png" class="button" alt="{lang:next_page}"></a>
48<!-- END next -->
49<!-- BEGIN next_unactive -->
50  <a class="navButton next"><img src="{pwg_root}{themeconf:icon_dir}/right_unactive.png" class="button" alt=""></a>
51<!-- END next_unactive -->
52  <a class="navButton up" href="{U_UP}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{lang:thumbnails}"></a>
53<!-- BEGIN previous -->
54  <a class="navButton prev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev"><img src="{pwg_root}{themeconf:icon_dir}/left.png" class="button" alt="{lang:previous_page}"></a>
55<!-- END previous -->
56<!-- BEGIN previous_unactive -->
57  <a class="navButton prev"><img src="{pwg_root}{themeconf:icon_dir}/left_unactive.png" class="button" alt=""></a>
58<!-- END previous_unactive -->
59<!-- BEGIN first -->
60  <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>
61<!-- END first -->
62<!-- BEGIN first_unactive -->
63  <a class="navButton prev"><img src="{pwg_root}{themeconf:icon_dir}/first_unactive.png" class="button" alt=""></a>
64<!-- END first_unactive -->
65</div>
66
67</div> <!-- imageToolBar -->
68
69<div id="theImage">
70{ELEMENT_CONTENT}
71<!-- BEGIN legend -->
72<p>{legend.COMMENT_IMG}</p>
73<!-- END legend -->
74<!-- BEGIN stop_slideshow -->
75<p>
76  [ <a href="{stop_slideshow.U_SLIDESHOW}">{lang:slideshow_stop}</a> ]
77</p>
78<!-- END stop_slideshow -->
79</div>
80
81<!-- BEGIN previous -->
82<a class="navThumb" id="thumbPrev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev">
83  <img src="{previous.IMG}" class="thumbLink" id="linkPrev" alt="{previous.TITLE_IMG}">
84</a>
85<!-- END previous -->
86<!-- BEGIN next -->
87<a class="navThumb" id="thumbNext" href="{next.U_IMG}" title="{lang:next_page} : {next.TITLE_IMG}" rel="next">
88  <img src="{next.IMG}" class="thumbLink" id="linkNext" alt="{next.TITLE_IMG}">
89</a>
90<!-- END next -->
91
92<table class="infoTable" summary="Some info about this picture">
93  <tr>
94    <td class="label">{lang:Author}</td>
95    <td class="value">{INFO_AUTHOR}</td>
96  </tr>
97  <tr>
98    <td class="label">{lang:Created on}</td>
99    <td class="value">{INFO_CREATION_DATE}</td>
100  </tr>
101  <tr>
102    <td class="label">{lang:Posted on}</td>
103    <td class="value">{INFO_POSTED_DATE}</td>
104  </tr>
105  <tr>
106    <td class="label">{lang:Dimensions}</td>
107    <td class="value">{INFO_DIMENSIONS}</td>
108  </tr>
109  <tr>
110    <td class="label">{lang:File}</td>
111    <td class="value">{INFO_FILE}</td>
112  </tr>
113  <tr>
114    <td class="label">{lang:Filesize}</td>
115    <td class="value">{INFO_FILESIZE}</td>
116  </tr>
117  <tr>
118    <td class="label">{lang:Tags}</td>
119    <td class="value">{INFO_TAGS}</td>
120  </tr>
121  <tr>
122    <td class="label">{lang:Categories}</td>
123    <td class="value">
124      <ul>
125        <!-- BEGIN category -->
126        <li>{category.LINE}</li>
127        <!-- END category -->
128      </ul>
129    </td>
130  </tr>
131  <tr>
132    <td class="label">{lang:Visits}</td>
133    <td class="value">{INFO_VISITS}</td>
134  </tr>
135  <!-- BEGIN info_rate -->
136  <tr>
137    <td class="label">{lang:Average rate}</td>
138    <td class="value">{info_rate.CONTENT}</td>
139  </tr>
140  <!-- END info_rate -->
141</table>
142
143<!-- BEGIN metadata -->
144<table class="infoTable" summary="Some more (technical) info about this picture">
145  <!-- BEGIN headline -->
146  <tr>
147    <th colspan="2">{metadata.headline.TITLE}</th>
148  </tr>
149  <!-- END headline -->
150  <!-- BEGIN line -->
151  <tr>
152    <td class="label">{metadata.line.KEY}</td>
153    <td class="value">{metadata.line.VALUE}</td>
154  </tr>
155  <!-- END line -->
156</table>
157<!-- END metadata -->
158
159<!-- BEGIN rate -->
160<form action="{rate.F_ACTION}" method="post" id="rateForm">
161<div>{rate.SENTENCE} :
162<!-- BEGIN rate_option -->
163{rate.rate_option.SEPARATOR}
164<!-- BEGIN my_rate -->
165<input type="button" name="rate" value="{rate.rate_option.OPTION}" class="rateButtonSelected" />
166<!-- END my_rate -->
167<!-- BEGIN not_my_rate -->
168<input type="submit" name="rate" value="{rate.rate_option.OPTION}" class="rateButton" />
169<!-- END not_my_rate -->
170<!-- END rate_option -->
171<script type="text/javascript" src="{pwg_root}{themeconf:template_dir}/rating.js"></script>
172</div>
173</form>
174<!-- END rate -->
175
176<hr class="separation">
177
178<!-- BEGIN comments -->
179<div id="comments">
180  <h2>[{comments.NB_COMMENT}] {lang:comments_title}</h2>
181
182  <div class="navigationBar">{comments.NAV_BAR}</div>
183
184  <!-- BEGIN comment -->
185  <div class="comment">
186    <!-- BEGIN delete -->
187    <p class="userCommentDelete">
188    <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{lang:comments_del}">
189      <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/>
190    </a>
191    </p>
192    <!-- END delete -->
193    <p class="commentInfo"><span class="author">{comments.comment.COMMENT_AUTHOR}</span> - {comments.comment.COMMENT_DATE}</p>
194    <blockquote>{comments.comment.COMMENT}</blockquote>
195  </div>
196  <!-- END comment -->
197
198  <!-- BEGIN add_comment -->
199  <form  method="post" action="{U_ADD_COMMENT}" class="filter" id="addComment">
200    <fieldset>
201      <legend>{lang:comments_add}</legend>
202      <!-- BEGIN author_field -->
203      <label>{lang:upload_author}<input type="text" name="author"></label>
204      <!-- END author_field -->
205      <label>{lang:comment}<textarea name="content" rows="5" cols="80">{comments.add_comment.CONTENT}</textarea></label>
206      <input type="hidden" name="key" value="{comments.add_comment.KEY}" />
207      <input class="submit" type="submit" value="{lang:submit}">
208    </fieldset>
209  </form>
210  <!-- END add_comment -->
211
212</div>
213<!-- END comments -->
Note: See TracBrowser for help on using the repository browser.