Quote:
Originally Posted by Lionel
I did a nice little addition to rating
below:
$linkrate = round($links_totrate[$linkid] / $links_numrate[$linkid]);
I added:
$thevote="<img src=\"images/rating/rating_$linkrate.gif\">";
and in template ratebit, I swapped $linkrate with $thevote. :squareeyed:
|
Thanks Lionel
Those who do not like coding can achieve this just by editing the links_ratebit template
PHP Code:
<span class="smallfont"> <img src=images/rating/rating_$linkrate.gif> <if condition="$links_permissions[can_admin_links]"> <a href="local_links.php?action=doratelink&vote=-1&id=$linkid&catid=$viewcatid&page=$pagenumber">clear</a></if></span>