diff options
author | Andrew Dolgov <[email protected]> | 2008-08-11 08:09:25 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-08-11 08:09:25 +0100 |
commit | 1cce3aca13c360fdec6832ac5df30f9472a54360 (patch) | |
tree | 705247b8f461de6cd12229980155f54356b21475 | |
parent | b3296d360e18c2747381ff1c0e4fef8e263f0586 (diff) |
tweaked score icons
-rw-r--r-- | functions.php | 8 | ||||
-rw-r--r-- | images/score_half_high.png | bin | 0 -> 3030 bytes | |||
-rw-r--r-- | images/score_half_low.png | bin | 0 -> 2886 bytes | |||
-rw-r--r-- | images/score_neutral.png | bin | 305 -> 2957 bytes |
4 files changed, 6 insertions, 2 deletions
diff --git a/functions.php b/functions.php index c70bdcc89..f2800552f 100644 --- a/functions.php +++ b/functions.php @@ -5647,10 +5647,14 @@ } function get_score_pic($score) { - if ($score > 0) { + if ($score > 100) { return "score_high.png"; - } else if ($score < 0) { + } else if ($score > 0) { + return "score_half_high.png"; + } else if ($score < -100) { return "score_low.png"; + } else if ($score < 0) { + return "score_half_low.png"; } else { return "score_neutral.png"; } diff --git a/images/score_half_high.png b/images/score_half_high.png Binary files differnew file mode 100644 index 000000000..0bac7b864 --- /dev/null +++ b/images/score_half_high.png diff --git a/images/score_half_low.png b/images/score_half_low.png Binary files differnew file mode 100644 index 000000000..c88198d44 --- /dev/null +++ b/images/score_half_low.png diff --git a/images/score_neutral.png b/images/score_neutral.png Binary files differindex b4cd7e231..40e212736 100644 --- a/images/score_neutral.png +++ b/images/score_neutral.png |