Changeset 3689 for extensions
- Timestamp:
- Jul 27, 2009, 11:30:25 AM (15 years ago)
- Location:
- extensions/floOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/picture.tpl
r3618 r3689 104 104 {/foreach} 105 105 <script type="text/javascript" src="{$ROOT_URL}{$themeconf.template_dir}/rating.js"></script> 106 <script type="text/javascript">107 makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id},108 updateRateText: "{'update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),109 ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} );110 </script>111 106 </div> 112 107 </form> … … 217 212 218 213 </table> 219 214 {if isset($rating)} 215 <script type="text/javascript"> 216 makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id}, 217 updateRateText: "{'update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), 218 ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} ); 219 </script> 220 {/if} 220 221 {if isset($metadata)} 221 222 <table class="infoTable" summary="Some more (technical) info about this picture"> -
extensions/floOS/theme/glass/themeconf.inc.php
r3644 r3689 59 59 } 60 60 </style> 61 ',61 <![endif]-->', 62 62 ); 63 63 ?>
Note: See TracChangeset
for help on using the changeset viewer.