diff -r d1ded7b4c775 -r 7dca925b0209 includes/clientside/static/comments.js
--- a/includes/clientside/static/comments.js Wed Mar 17 14:21:46 2010 -0400
+++ b/includes/clientside/static/comments.js Sat Mar 20 16:05:38 2010 -0400
@@ -399,7 +399,7 @@
}
if ( data.approved && data.approved != '1' )
{
- document.getElementById('subject_' + data.id).innerHTML += ' ' + $lang.get('comment_msg_note_unapp') + '';
+ document.getElementById('subject_' + data.id).innerHTML += ' ' + ( data.approved == '2' ? $lang.get('comment_msg_note_spam') : $lang.get('comment_msg_note_unapp') ) + '';
}
if ( data.approved && ( typeof(data.approve_updated) == 'string' && data.approve_updated == 'yes' ) )
{
@@ -495,7 +495,7 @@
tplvars.NAME = '' + data.name + '';
if ( data.approved != '1' )
- tplvars.SUBJECT += ' ' + $lang.get('comment_msg_note_unapp') + '';
+ tplvars.SUBJECT += ' ' + ( data.approved == '2' ? $lang.get('comment_msg_note_spam') : $lang.get('comment_msg_note_unapp') ) + '';
// Name
tplvars.NAME = data.name;
@@ -520,10 +520,10 @@
tplvars.USER_LEVEL += $lang.get(data.rank_data.rank_title);
// Send PM link
- tplvars.SEND_PM_LINK=(data.user_id>1)?'' + $lang.get('comment_btn_send_privmsg') + '
':'';
+ tplvars.SEND_PM_LINK=(data.user_id>1)?'' + $lang.get('comment_btn_send_privmsg') + '
':'';
// Add buddy link
- tplvars.ADD_BUDDY_LINK=(data.user_id>1)?'' + $lang.get('comment_btn_add_buddy') + '
':'';
+ tplvars.ADD_BUDDY_LINK=(data.user_id>1)?'' + $lang.get('comment_btn_add_buddy') + '
':'';
// Edit link
tplvars.EDIT_LINK='' + $lang.get('comment_btn_edit') + '';