mirror of https://github.com/BOINC/boinc.git
Rating +/- links now are images
svn path=/trunk/boinc/; revision=5988
This commit is contained in:
parent
9cc2e959c2
commit
e70234033f
|
@ -37,6 +37,10 @@ define('EMPHASIZE_IMAGE', 'img/emphasized_post.png');
|
|||
define('EMPHASIZE_IMAGE_HEIGHT','15');
|
||||
define('FILTER_IMAGE', 'img/filtered_post.png');
|
||||
define('FILTER_IMAGE_HEIGHT','15');
|
||||
define('RATE_POSITIVE_IMAGE', 'img/rate_positive.png');
|
||||
define('RATE_POSITIVE_IMAGE_HEIGHT','9');
|
||||
define('RATE_NEGATIVE_IMAGE', 'img/rate_negative.png');
|
||||
define('RATE_NEGATIVE_IMAGE_HEIGHT','9');
|
||||
|
||||
define ('SOLUTION', 'This answered my question');
|
||||
define ('SUFFERER', 'I also have this question');
|
||||
|
@ -624,7 +628,7 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS
|
|||
} else if ($controls == HELPDESK_CONTROLS && !$separate) {
|
||||
echo " / Score: ", round(($post->score * $post->votes),0), "</i></font></td>";
|
||||
} else {
|
||||
echo " / Rating: ", round(intval(($post->score * $post->votes)+0.01),0), "</i> - rate: <a href=\"forum_rate.php?post=".$post->id."&choice=p\">+</a> / <a href=\"forum_rate.php?post=".$post->id."&choice=n\">-</a></font></td>";
|
||||
echo " / Rating: ", round(intval(($post->score * $post->votes)+0.01),0), "</i> - rate: <a href=\"forum_rate.php?post=".$post->id."&choice=p\"><img src=\"".RATE_POSITIVE_IMAGE."\" alt=\"+\" height=\"".RATE_POSITIVE_IMAGE_HEIGHT."\" border=0></a> / <a href=\"forum_rate.php?post=".$post->id."&choice=n\"><img src=\"".RATE_NEGATIVE_IMAGE."\" alt=\"-\" height=\"".RATE_NEGATIVE_IMAGE_HEIGHT."\" border=0></a></font></td>";
|
||||
}
|
||||
|
||||
if ($controls == FORUM_CONTROLS) {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 220 B |
Binary file not shown.
After Width: | Height: | Size: 257 B |
Loading…
Reference in New Issue