mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
모두 lang() 함수로 변경
This commit is contained in:
parent
fc09ea0d47
commit
90400e2b5f
82 changed files with 234 additions and 234 deletions
|
|
@ -1517,12 +1517,12 @@ class menuAdminController extends menu
|
|||
// Error occurs when the target is neither a uploaded file nor a valid file
|
||||
if(!$menu_srl || !$menu_item_srl)
|
||||
{
|
||||
Context::set('error_messge', Context::getLang('msg_invalid_request'));
|
||||
Context::set('error_messge', lang('msg_invalid_request'));
|
||||
|
||||
}
|
||||
else if(!$target_file || !is_uploaded_file($target_file['tmp_name']) || !preg_match('/\.(gif|jpeg|jpg|png)$/i',$target_file['name']) || !checkUploadedFile($target_file['tmp_name']))
|
||||
{
|
||||
Context::set('error_messge', Context::getLang('msg_invalid_request'));
|
||||
Context::set('error_messge', lang('msg_invalid_request'));
|
||||
}
|
||||
|
||||
// Move the file to a specific director if the uploaded file meets requirement
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ class menuAdminModel extends menu
|
|||
|
||||
if($module_name == 'page')
|
||||
{
|
||||
$pageTypeName = Context::getLang('page_type_name');
|
||||
$pageTypeName = lang('page_type_name');
|
||||
$module->title = $pageTypeName['ARTICLE'];
|
||||
$allModules['ARTICLE'] = $module;
|
||||
$wModuleInfo = clone $module;
|
||||
|
|
@ -451,7 +451,7 @@ class menuAdminModel extends menu
|
|||
|
||||
if($value == 'page')
|
||||
{
|
||||
$pageTypeName = Context::getLang('page_type_name');
|
||||
$pageTypeName = lang('page_type_name');
|
||||
$moduleInfo->title = $pageTypeName['ARTICLE'];
|
||||
$moduleInfoList['ARTICLE'] = $moduleInfo;
|
||||
$wModuleInfo = clone $moduleInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue