summary refs log tree commit diff stats
path: root/theme/post.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'theme/post.tpl')
-rwxr-xr-xtheme/post.tpl6
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
8function ratePost(id, dir) 8function ratePost(id, dir)
9{ 9{
10 jQuery("#post-"+id+" .post-rating-up").addClass("post-action-done").html("&lt;img src='/theme/images/icons/thumb_up.png' alt='+1' /&gt;"); 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("&lt;img src='/theme/images/icons/thumb_down.png' alt='-1' /&gt;"); 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+"&amp;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 != "")