root/trunk/template/yoga/picture.tpl @ 2101

Revision 2101, 8.2 KB (checked in by rvelices, 6 years ago)

- removed unused code from the calendar
- removed some unused css rules, simplified css a bit and made some rule grouping (nothing important)

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