Error on view vote form.php - Hikashop 1.5.8

  • Posts: 25
  • Thank you received: 1
12 years 5 months ago #51899

In Hikashop 1.5.8
File: component/com_hikashop/view/vote/tmpl/form.php

1) In the line 36 you open the div (<div class="hikashop_vote_stars">)
but if the if statement at line 38 is false the div don't close.

2) There is an language error at line 39 (echo JText::_('RATE').": ";)
In Italian (and beyond) "rate" is not "vote".

Thanks

Last edit: 12 years 5 months ago by fdesanto.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
12 years 5 months ago #51903

Hi fdesanto,

Thank you for reporting it.
It has been corrected.

This line must be removed:

<div class="hikashop_vote_stars">
And add this line just after the if, like that:
if ($vote_enabled == 1) {
	echo '<div class="hikashop_vote_stars">';

For the JText::_('RATE'), you can replace it to: JText::_('VOTE').

Last edit: 12 years 5 months ago by Xavier.
The following user(s) said Thank You: fdesanto

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum