diff --git a/rating/templates/rating.tpl b/rating/templates/rating.tpl new file mode 100644 index 0000000..4d4fccb --- /dev/null +++ b/rating/templates/rating.tpl @@ -0,0 +1,58 @@ +{* + +*} + +{if $display_rating ==1 } + + {assign var='width_1_star' value='18'} + + + + {if $rating_type == 'document'} + + + +
+
{#RATING_NAME#}:
+
+
+ {if $rating_can} +
+ {section name=stars loop=$rating_stars step=1 start=0} +
+ {/section} + {/if} +
+
({#RATING_VOTES#} {$rating_total})
+ +
{#RATING_SUMMARY#} {$rating_rating}
+
+
+ + {elseif $rating_type == 'request'} + +
+
+
+
+
{#RATING_SUMMARY#} {if $rating_rating != "0"}{$rating_rating}{else}{#RATING_NOT#}{/if}
+
+ + {/if} + +{/if} \ No newline at end of file