| 35 |
$img .= $starImageOff; |
$img .= $starImageOff; |
| 36 |
} |
} |
| 37 |
$html .= '<span class="content_rating">'; |
$html .= '<span class="content_rating">'; |
| 38 |
$html .= _USER_RATING . ':' . $img . ' / '; |
$html .= T_('User Rating') . ':' . $img . ' / '; |
| 39 |
$html .= intval( $row->rating_count ); |
$html .= intval( $row->rating_count ); |
| 40 |
$html .= "</span>\n<br />\n"; |
$html .= "</span>\n<br />\n"; |
| 41 |
$url = @$_SERVER['REQUEST_URI']; |
$url = @$_SERVER['REQUEST_URI']; |
| 43 |
|
|
| 44 |
if (!$params->get( 'intro_only' ) && $task != "blogsection") { |
if (!$params->get( 'intro_only' ) && $task != "blogsection") { |
| 45 |
$html .= '<span class="content_vote">'; |
$html .= '<span class="content_vote">'; |
| 46 |
$html .= _VOTE_POOR; |
$html .= T_('Poor'); |
| 47 |
$html .= '<input type="radio" alt="vote 1 star" name="user_rating" value="1" />'; |
$html .= '<input type="radio" alt="vote 1 star" name="user_rating" value="1" />'; |
| 48 |
$html .= '<input type="radio" alt="vote 2 star" name="user_rating" value="2" />'; |
$html .= '<input type="radio" alt="vote 2 star" name="user_rating" value="2" />'; |
| 49 |
$html .= '<input type="radio" alt="vote 3 star" name="user_rating" value="3" />'; |
$html .= '<input type="radio" alt="vote 3 star" name="user_rating" value="3" />'; |
| 50 |
$html .= '<input type="radio" alt="vote 4 star" name="user_rating" value="4" />'; |
$html .= '<input type="radio" alt="vote 4 star" name="user_rating" value="4" />'; |
| 51 |
$html .= '<input type="radio" alt="vote 5 star" name="user_rating" value="5" checked="checked" />'; |
$html .= '<input type="radio" alt="vote 5 star" name="user_rating" value="5" checked="checked" />'; |
| 52 |
$html .= _VOTE_BEST; |
$html .= T_('Best'); |
| 53 |
$html .= ' <input class="button" type="submit" name="submit_vote" value="'. _RATE_BUTTON .'" />'; |
$html .= ' <input class="button" type="submit" name="submit_vote" value="'. T_('Rate') .'" />'; |
| 54 |
$html .= '<input type="hidden" name="task" value="vote" />'; |
$html .= '<input type="hidden" name="task" value="vote" />'; |
| 55 |
$html .= '<input type="hidden" name="pop" value="0" />'; |
$html .= '<input type="hidden" name="pop" value="0" />'; |
| 56 |
$html .= '<input type="hidden" name="option" value="com_content" />'; |
$html .= '<input type="hidden" name="option" value="com_content" />'; |