diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 4cbeb88500..5c44ad7f61 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -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), ""; } else { - echo " / Rating: ", round(intval(($post->score * $post->votes)+0.01),0), " - rate: id."&choice=p\">+ / id."&choice=n\">-"; + echo " / Rating: ", round(intval(($post->score * $post->votes)+0.01),0), " - rate: id."&choice=p\">\"+\" / id."&choice=n\">\"-\""; } if ($controls == FORUM_CONTROLS) { diff --git a/html/user/img/rate_negative.png b/html/user/img/rate_negative.png new file mode 100644 index 0000000000..5ae34148c6 Binary files /dev/null and b/html/user/img/rate_negative.png differ diff --git a/html/user/img/rate_positive.png b/html/user/img/rate_positive.png new file mode 100644 index 0000000000..b26163907c Binary files /dev/null and b/html/user/img/rate_positive.png differ