Commit 7ee9aab7 authored by PkSM3's avatar PkSM3

etoile

parent bc629729
...@@ -294,10 +294,10 @@ function imagestar($score,$factor,$twjs) { ...@@ -294,10 +294,10 @@ function imagestar($score,$factor,$twjs) {
if ($score > .5) { if ($score > .5) {
$star_image = ''; $star_image = '';
for ($s = 0; $s < min(5,$score/$factor); $s++) { for ($s = 0; $s < min(5,$score/$factor); $s++) {
$star_image.='<img src="'.$twjs.'img/star.gif" border="0" >'; $star_image.='<img src="'.'img/star.gif" border="0" >';
} }
} else { } else {
$star_image.='<img src="'.$twjs.'img/stargrey.gif" border="0">'; $star_image.='<img src="'.'img/stargrey.gif" border="0">';
} }
return $star_image; return $star_image;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment