source: branches/branch-1_5/template/yoga/picture.tpl @ 1054

Last change on this file since 1054 was 939, checked in by chrisaga, 19 years ago

bug 206 fixed: PNG thumbnails clipped with IE

  • added class="icon" to recent.png (functions_html.inc.php)
  • added class="button" to al png button images (*.tpl)
  • changed pngfix.js to only fix icon or button images

template improvement: category prettier and simpler (a little bit)

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