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

Last change on this file since 2222 was 2222, checked in by rub, 16 years ago

Add comment tags in order to know tpl to migrate

# tag
for f in find . -name \*.tpl
do

echo $f
mv $f $f.tmp
echo '<!-- DEV TAG: not smarty migrated -->' > $f
cat $f.tmp >> $f
rm -f $f.tmp

done

#find file not migrated
for f in find . -name \*.tpl
do

grep -i '<!-- DEV TAG: not smarty migrated -->' $f > /dev/null && echo $f

done

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