// get Author$author=($params->get('list_showauthor')) ? $listing[$i]->author:'';// get Ajax rating bar for AlphaContentif($params->get('showsystemrating')&&$params->get('activeglobalsystemrating')&&$params->get('systemrating')){
を以下のように変更する。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// get Author$author=($params->get('list_showauthor')) ? $listing[$i]->author:'';$show_vote_def=$params->get('showsystemrating');$show_vote=$show_vote_def;if(isset($listing[$i]->attribs)){$aparams=new JParameter($listing[$i]->attribs);$show_vote=$aparams->get('show_vote');if(!isset($show_vote)||$show_vote==''){$show_vote=$show_vote_def;}}// get Ajax rating bar for AlphaContent// if ( $params->get('showsystemrating') && $params->get('activeglobalsystemrating') && $params->get('systemrating')) {if($show_vote&&$params->get('activeglobalsystemrating')&&$params->get('systemrating')){
コメントをどうぞ