From bd63f2cf6f3854c1fb577d826330af29b34fc87a Mon Sep 17 00:00:00 2001 From: Repellent Date: Fri, 10 Jun 2016 23:03:22 +0300 Subject: [PATCH] Upload new file --- rating/templates/rating.tpl | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 rating/templates/rating.tpl 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