diff options
Diffstat (limited to 'theme/post.tpl')
-rwxr-xr-x | theme/post.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/post.tpl b/theme/post.tpl index 2c65e51..7bf5481 100755 --- a/theme/post.tpl +++ b/theme/post.tpl | |||
@@ -7,13 +7,13 @@ | |||
7 | 7 | ||
8 | function ratePost(id, dir) | 8 | function ratePost(id, dir) |
9 | { | 9 | { |
10 | jQuery("#post-"+id+" .post-rating-up").addClass("post-action-done").html("<img src='/theme/images/icons/thumb_up.png' alt='+1' />"); | 10 | jQuery("#post-"+id+" .post-rating-up").addClass("post-action-done").html("<!--IFXLT-->img src='/theme/images/icons/thumb_up.png' alt='+1' /<!--IFXGT-->"); |
11 | jQuery("#post-"+id+" .post-rating-down").addClass("post-action-done").html("<img src='/theme/images/icons/thumb_down.png' alt='-1' />"); | 11 | jQuery("#post-"+id+" .post-rating-down").addClass("post-action-done").html("<!--IFXLT-->img src='/theme/images/icons/thumb_down.png' alt='-1' /<!--IFXGT-->"); |
12 | jQuery("#flash").text("Processing....").slideDown(); | 12 | jQuery("#flash").text("Processing....").slideDown(); |
13 | jQuery.ajax({ | 13 | jQuery.ajax({ |
14 | type: "GET", | 14 | type: "GET", |
15 | url: "/vote.php", | 15 | url: "/vote.php", |
16 | data: "id="+id+"&dir="+dir, | 16 | data: "id="+id+"<!--IFXAMP-->dir="+dir, |
17 | dataType: "text", | 17 | dataType: "text", |
18 | success: function(msg) { | 18 | success: function(msg) { |
19 | if (msg != "") | 19 | if (msg != "") |