|
@@ -1685,26 +1685,26 @@ class Display
|
|
|
}
|
|
|
$accesses = isset($point_info['accesses']) ? $point_info['accesses'] : 0;
|
|
|
|
|
|
- $star_label = sprintf(get_lang('XStarsOutOf5'), $point_info['point_average_star']);
|
|
|
+ /* $star_label = sprintf(get_lang('XStarsOutOf5'), $point_info['point_average_star']);
|
|
|
|
|
|
- $html = '<ul id="'.$id.'" class="star-rating">
|
|
|
+ $html = '<ul id="'.$id.'" class="star-rating">
|
|
|
<li class="current-rating" style="width:'.$percentage.'px;"></li>
|
|
|
<li><a href="javascript:void(0);" data-link="'.$url.'&star=1" title="'.$star_label.'" class="one-star">1</a></li>
|
|
|
<li><a href="javascript:void(0);" data-link="'.$url.'&star=2" title="'.$star_label.'" class="two-stars">2</a></li>
|
|
|
<li><a href="javascript:void(0);" data-link="'.$url.'&star=3" title="'.$star_label.'" class="three-stars">3</a></li>
|
|
|
<li><a href="javascript:void(0);" data-link="'.$url.'&star=4" title="'.$star_label.'" class="four-stars">4</a></li>
|
|
|
<li><a href="javascript:void(0);" data-link="'.$url.'&star=5" title="'.$star_label.'" class="five-stars">5</a></li>
|
|
|
- </ul>';
|
|
|
+ </ul>'; */
|
|
|
|
|
|
$labels = array();
|
|
|
|
|
|
- $labels[]= $number_of_users_who_voted == 1 ? $number_of_users_who_voted.' '.get_lang('Vote') : $number_of_users_who_voted.' '.get_lang('Votes');
|
|
|
+ //$labels[]= $number_of_users_who_voted == 1 ? $number_of_users_who_voted.' '.get_lang('Vote') : $number_of_users_who_voted.' '.get_lang('Votes');
|
|
|
$labels[]= $accesses == 1 ? $accesses.' '.get_lang('Visit') : $accesses.' '.get_lang('Visits');
|
|
|
/* if (!empty($number_of_users_who_voted)) {
|
|
|
$labels[]= get_lang('Average').' '.$point_info['point_average_star'].'/5';
|
|
|
} */
|
|
|
|
|
|
- $labels[]= $point_info['user_vote'] ? get_lang('YourVote').' ['.$point_info['user_vote'].']' : get_lang('YourVote'). ' [?] ';
|
|
|
+ //$labels[]= $point_info['user_vote'] ? get_lang('YourVote').' ['.$point_info['user_vote'].']' : get_lang('YourVote'). ' [?] ';
|
|
|
|
|
|
if (!$add_div_wrapper && api_is_anonymous()) {
|
|
|
$labels[]= Display::tag('span', get_lang('LoginToVote'), array('class' => 'error'));
|