Changeset 16298
- Timestamp:
- Jul 2, 2012, 10:08:28 PM (12 years ago)
- Location:
- extensions/stripped
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/readme.txt
r15949 r16298 31 31 Changelog 32 32 --------- 33 34 *** version 2.2.2 35 36 - rating score fix 37 - link to album on image 38 - new language (thanks to the translator) 33 39 34 40 *** version 2.2.1 -
extensions/stripped/template/picture.tpl
r14687 r16298 52 52 {/if}{/strip} 53 53 {strip}{if isset($current.U_DOWNLOAD)} 54 <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{' download'|@translate}</a></li>54 <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{'Download'|@translate}</a></li> 55 55 {/if}{/strip} 56 56 {strip}{if isset($PLUGIN_PICTURE_ACTIONS)} … … 158 158 {if $display_info.categories}{assign var='display_count' value=$display_count+1}{/if} 159 159 {if $display_info.visits}{assign var='display_count' value=$display_count+1}{/if} 160 {if $display_info. average_rate and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if}160 {if $display_info.rating_score and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if} 161 161 {if isset($rating)}{assign var='display_count' value=$display_count+1}{/if} 162 162 {if $display_info.privacy_level and isset($available_permission_levels) }{assign var='display_count' value=$display_count+1}{/if} … … 279 279 {/if} 280 280 281 {if $display_info.average_rate and isset($rate_summary) } 282 <tr id="Average"> 283 <td class="label">{'Average rate'|@translate}</td> 284 <td class="value" id="ratingSummary"> 285 {if $rate_summary.count} 286 {assign var='rate_text' value='%.2f (rated %d times)'|@translate } 287 {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) } 288 {else} 289 {'no rate'|@translate} 290 {/if} 281 {if $display_info.rating_score and isset($rate_summary) } 282 <tr id="Score"> 283 <td class="label">{'Rating score'|@translate}</td> 284 <td class="value"> 285 {if $rate_summary.count} 286 {if $rate_summary.count == 1} 287 {assign var='rate_text' value='%d rate'|@translate} 288 {else} 289 {assign var='rate_text' value='%d rates'|@translate} 290 {/if} 291 <span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$pwg->sprintf($rate_text, $rate_summary.count)})</span> 292 {else} 293 <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span> 294 {/if} 291 295 </td> 292 296 </tr> … … 294 298 295 299 {if isset($rating)} 296 <tr id=" rating">300 <tr id="Rating"> 297 301 <td class="label"> 298 302 <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span> -
extensions/stripped/template/picture_content.tpl
r14687 r16298 28 28 {/if} 29 29 {if ($stripped.imageArrows) } 30 <!--{if isset($U_UP)}31 <a href="{$U_UP}" class=" cat_up"> </a>32 {/if}-->30 {if isset($U_UP)} 31 <a href="{$U_UP}" class="img_nav cat_up" alt="{'Thumbnails'|@translate}"> </a> 32 {/if} 33 33 {if isset($previous)} 34 <a href="{$previous.U_IMG}" class="img_nav img_prev" > </a>34 <a href="{$previous.U_IMG}" class="img_nav img_prev" alt="{$previous.TITLE}"> </a> 35 35 {/if} 36 36 {if isset($next)} 37 <a href="{$next.U_IMG}" class="img_nav img_next" > </a>37 <a href="{$next.U_IMG}" class="img_nav img_next" alt="{$next.TITLE}"> </a> 38 38 {/if} 39 39 {/if}
Note: See TracChangeset
for help on using the changeset viewer.