모두 lang() 함수로 변경

This commit is contained in:
conory 2016-03-06 17:01:15 +09:00
parent fc09ea0d47
commit 90400e2b5f
82 changed files with 234 additions and 234 deletions

View file

@ -77,7 +77,7 @@ class commentModel extends comment
ModuleHandler::triggerCall('comment.getCommentMenu', 'after', $menu_list);
if($this->grant->manager){
$str_confirm = Context::getLang('confirm_move');
$str_confirm = lang('confirm_move');
$url = sprintf("if(!confirm('%s')) return; var params = new Array(); params['comment_srl']='%s'; params['mid']=current_mid;params['cur_url']=current_url; exec_xml('comment', 'procCommentAdminMoveToTrash', params)", $str_confirm, $comment_srl);
$oCommentController->addCommentPopupMenu($url,'cmd_trash','','javascript');
@ -106,7 +106,7 @@ class commentModel extends comment
for($i = 0; $i < $menus_count; $i++)
{
$menus[$i]->str = Context::getLang($menus[$i]->str);
$menus[$i]->str = lang($menus[$i]->str);
}
// get a list of final organized pop-up menus