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

Last change on this file since 1610 was 1610, checked in by rvelices, 17 years ago
  • bug fix: comments_forall and category commentable were not checked during

POST and a comment could be inserted

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