diff --git a/modules/comment/tpl/header.html b/modules/comment/tpl/header.html index 76a1e8cbd..203923809 100644 --- a/modules/comment/tpl/header.html +++ b/modules/comment/tpl/header.html @@ -2,3 +2,8 @@

{$lang->comment} {$lang->cmd_management}

+ + diff --git a/modules/comment/tpl/js/comment_admin.js b/modules/comment/tpl/js/comment_admin.js index 776b44a2a..a40b76075 100644 --- a/modules/comment/tpl/js/comment_admin.js +++ b/modules/comment/tpl/js/comment_admin.js @@ -39,8 +39,6 @@ function getCommentList() function completeGetCommentList(ret_obj, response_tags) { var htmlListBuffer = ''; - var statusNameList = {"N":"Public", "Y":"Secret"}; - var publishedStatusList = {0:'Unpublished', 1:'Published'}; if(ret_obj['comment_list'] == null) { htmlListBuffer = '' + @@ -57,8 +55,8 @@ function completeGetCommentList(ret_obj, response_tags) htmlListBuffer += '' + ''+ objComment.content +'' + ''+ objComment.nick_name +'' + - ''+ statusNameList[objComment.is_secret] +'' + - ''+ publishedStatusList[objComment.status] + '' + '' + + ''+ secret_name_list[objComment.is_secret] +'' + + ''+ published_name_list[String(objComment.status)] + '' + '' + ''; } jQuery('#selectedCommentCount').html(comment_list.length);