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

Last change on this file since 2223 was 2223, checked in by rvelices, 16 years ago
  • migrate many templates to smarty
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 6.9 KB
Line 
1<!-- DEV TAG: not smarty migrated -->
2<!-- BEGIN errors -->
3<div class="errors">
4<ul>
5  <!-- BEGIN error -->
6  <li>{errors.error.TEXT}</li>
7  <!-- END error -->
8</ul>
9</div>
10<!-- END errors -->
11<!-- BEGIN infos -->
12<div class="infos">
13<ul>
14  <!-- BEGIN info -->
15  <li>{infos.info.TEXT}</li>
16  <!-- END info -->
17</ul>
18</div>
19<!-- END infos -->
20
21<div id="imageHeaderBar">
22  <div class="browsePath">
23    <a href="{U_HOME}" rel="home">{lang:home}</a>
24    {LEVEL_SEPARATOR}{SECTION_TITLE}
25    {LEVEL_SEPARATOR}{PICTURE_TITLE}
26  </div>
27  <div class="imageNumber">{PHOTO}</div>
28  <!-- BEGIN title -->
29  <h2>{TITLE}</h2>
30  <!-- END title -->
31</div>
32
33<div id="imageToolBar">
34  <div class="randomButtons">
35    <!-- BEGIN start_slideshow -->
36      <a href="{start_slideshow.U_SLIDESHOW}" title="{lang:slideshow}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"></a>
37    <!-- END start_slideshow -->
38    <!-- BEGIN stop_slideshow -->
39      <a href="{stop_slideshow.U_SLIDESHOW}" title="{lang:slideshow_stop}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/stop_slideshow.png" class="button" alt="{lang:slideshow_stop}"></a>
40    <!-- END stop_slideshow -->
41      <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>
42    <!-- BEGIN download -->
43      <a href="{download.U_DOWNLOAD}" title="{lang:download_hint}"><img src="{pwg_root}{themeconf:icon_dir}/save.png" class="button" alt="{lang:download}"></a>
44    <!-- END download -->
45      {PLUGIN_PICTURE_ACTIONS}
46    <!-- BEGIN favorite -->
47      <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}"><img src="{favorite.FAVORITE_IMG}" class="button" alt="{favorite.FAVORITE_ALT}"></a>
48    <!-- END favorite -->
49    <!-- BEGIN representative -->
50      <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>
51    <!-- END representative -->
52    <!-- BEGIN admin -->
53      <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>
54    <!-- END admin -->
55    <!-- BEGIN caddie -->
56      <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>
57    <!-- END caddie -->
58  </div>
59  {NAV_BUTTONS}
60</div> <!-- imageToolBar -->
61
62<div id="theImage">
63{ELEMENT_CONTENT}
64<!-- BEGIN legend -->
65<p>{legend.COMMENT_IMG}</p>
66<!-- END legend -->
67<!-- BEGIN stop_slideshow -->
68<p>
69  [ <a href="{stop_slideshow.U_SLIDESHOW}">{lang:slideshow_stop}</a> ]
70</p>
71<!-- END stop_slideshow -->
72</div>
73
74<!-- BEGIN previous -->
75<a class="navThumb" id="thumbPrev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev">
76  <img src="{previous.IMG}" class="thumbLink" id="linkPrev" alt="{previous.TITLE_IMG}">
77</a>
78<!-- END previous -->
79<!-- BEGIN next -->
80<a class="navThumb" id="thumbNext" href="{next.U_IMG}" title="{lang:next_page} : {next.TITLE_IMG}" rel="next">
81  <img src="{next.IMG}" class="thumbLink" id="linkNext" alt="{next.TITLE_IMG}">
82</a>
83<!-- END next -->
84
85<table class="infoTable" summary="Some info about this picture">
86  <tr>
87    <td class="label">{lang:Author}</td>
88    <td class="value">{INFO_AUTHOR}</td>
89  </tr>
90  <tr>
91    <td class="label">{lang:Created on}</td>
92    <td class="value">{INFO_CREATION_DATE}</td>
93  </tr>
94  <tr>
95    <td class="label">{lang:Posted on}</td>
96    <td class="value">{INFO_POSTED_DATE}</td>
97  </tr>
98  <tr>
99    <td class="label">{lang:Dimensions}</td>
100    <td class="value">{INFO_DIMENSIONS}</td>
101  </tr>
102  <tr>
103    <td class="label">{lang:File}</td>
104    <td class="value">{INFO_FILE}</td>
105  </tr>
106  <tr>
107    <td class="label">{lang:Filesize}</td>
108    <td class="value">{INFO_FILESIZE}</td>
109  </tr>
110  <tr>
111    <td class="label">{lang:Tags}</td>
112    <td class="value">{INFO_TAGS}</td>
113  </tr>
114  <tr>
115    <td class="label">{lang:Categories}</td>
116    <td class="value">
117      <ul>
118        <!-- BEGIN category -->
119        <li>{category.LINE}</li>
120        <!-- END category -->
121      </ul>
122    </td>
123  </tr>
124  <tr>
125    <td class="label">{lang:Visits}</td>
126    <td class="value">{INFO_VISITS}</td>
127  </tr>
128  <!-- BEGIN info_rate -->
129  <tr>
130    <td class="label">{lang:Average rate}</td>
131    <td class="value">{info_rate.CONTENT}</td>
132  </tr>
133  <!-- END info_rate -->
134</table>
135
136<!-- BEGIN metadata -->
137<table class="infoTable" summary="Some more (technical) info about this picture">
138  <!-- BEGIN headline -->
139  <tr>
140    <th colspan="2">{metadata.headline.TITLE}</th>
141  </tr>
142  <!-- END headline -->
143  <!-- BEGIN line -->
144  <tr>
145    <td class="label">{metadata.line.KEY}</td>
146    <td class="value">{metadata.line.VALUE}</td>
147  </tr>
148  <!-- END line -->
149</table>
150<!-- END metadata -->
151
152<!-- BEGIN rate -->
153<form action="{rate.F_ACTION}" method="post" id="rateForm">
154<div>{rate.SENTENCE} :
155<!-- BEGIN rate_option -->
156{rate.rate_option.SEPARATOR}
157<!-- BEGIN my_rate -->
158<input type="button" name="rate" value="{rate.rate_option.OPTION}" class="rateButtonSelected" />
159<!-- END my_rate -->
160<!-- BEGIN not_my_rate -->
161<input type="submit" name="rate" value="{rate.rate_option.OPTION}" class="rateButton" />
162<!-- END not_my_rate -->
163<!-- END rate_option -->
164<script type="text/javascript" src="{pwg_root}{themeconf:template_dir}/rating.js"></script>
165</div>
166</form>
167<!-- END rate -->
168
169<hr class="separation">
170
171<!-- BEGIN comments -->
172<div id="comments">
173  <h2>[{comments.NB_COMMENT}] {lang:comments_title}</h2>
174
175  <div class="navigationBar">{comments.NAV_BAR}</div>
176
177  <!-- BEGIN comment -->
178  <div class="comment">
179    <!-- BEGIN delete -->
180    <p class="userCommentDelete">
181    <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{lang:comments_del}">
182      <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/>
183    </a>
184    </p>
185    <!-- END delete -->
186    <p class="commentInfo"><span class="author">{comments.comment.COMMENT_AUTHOR}</span> - {comments.comment.COMMENT_DATE}</p>
187    <blockquote>{comments.comment.COMMENT}</blockquote>
188  </div>
189  <!-- END comment -->
190
191  <!-- BEGIN add_comment -->
192  <form  method="post" action="{U_ADD_COMMENT}" class="filter" id="addComment">
193    <fieldset>
194      <legend>{lang:comments_add}</legend>
195      <!-- BEGIN author_field -->
196      <label>{lang:upload_author}<input type="text" name="author"></label>
197      <!-- END author_field -->
198      <label>{lang:comment}<textarea name="content" rows="5" cols="80">{comments.add_comment.CONTENT}</textarea></label>
199      <input type="hidden" name="key" value="{comments.add_comment.KEY}" />
200      <input class="submit" type="submit" value="{lang:submit}">
201    </fieldset>
202  </form>
203  <!-- END add_comment -->
204
205</div>
206<!-- END comments -->
207
Note: See TracBrowser for help on using the repository browser.