equal
deleted
inserted
replaced
217 tplbool.auth_mod = data.auth_mod_comments; |
217 tplbool.auth_mod = data.auth_mod_comments; |
218 tplbool.is_friend = ( this_comment.is_buddy == 1 && this_comment.is_friend == 1 ); |
218 tplbool.is_friend = ( this_comment.is_buddy == 1 && this_comment.is_friend == 1 ); |
219 tplbool.is_foe = ( this_comment.is_buddy == 1 && this_comment.is_friend == 0 ); |
219 tplbool.is_foe = ( this_comment.is_buddy == 1 && this_comment.is_friend == 0 ); |
220 |
220 |
221 if ( tplbool.is_friend ) |
221 if ( tplbool.is_friend ) |
222 tplvars.USER_LEVEL += '<br /><b>On your friend list</b>'; |
222 tplvars.USER_LEVEL += '<br /><b>' + $lang.get('comment_on_friend_list') + '</b>'; |
223 else if ( tplbool.is_foe ) |
223 else if ( tplbool.is_foe ) |
224 tplvars.USER_LEVEL += '<br /><b>On your foe list</b>'; |
224 tplvars.USER_LEVEL += '<br /><b>' + $lang.get('comment_on_foe_list') + '</b>'; |
225 |
225 |
226 parser.assign_vars(tplvars); |
226 parser.assign_vars(tplvars); |
227 parser.assign_bool(tplbool); |
227 parser.assign_bool(tplbool); |
228 |
228 |
229 return '<div id="comment_holder_' + i + '"><input type="hidden" value="'+this_comment.comment_id+'" /><input type="hidden" id="comment_source_'+i+'" />' + parser.run() + '</div>'; |
229 return '<div id="comment_holder_' + i + '"><input type="hidden" value="'+this_comment.comment_id+'" /><input type="hidden" id="comment_source_'+i+'" />' + parser.run() + '</div>'; |