mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 01:03:28 +09:00
모두 lang() 함수로 변경
This commit is contained in:
parent
fc09ea0d47
commit
90400e2b5f
82 changed files with 234 additions and 234 deletions
|
|
@ -44,7 +44,7 @@ class memberModel extends member
|
|||
//for multi language
|
||||
foreach($config->signupForm AS $key=>$value)
|
||||
{
|
||||
$config->signupForm[$key]->title = ($value->isDefaultForm) ? Context::getLang($value->name) : $value->title;
|
||||
$config->signupForm[$key]->title = ($value->isDefaultForm) ? lang($value->name) : $value->title;
|
||||
if($config->signupForm[$key]->isPublic != 'N') $config->signupForm[$key]->isPublic = 'Y';
|
||||
if($value->name == 'find_account_question') $config->signupForm[$key]->isPublic = 'N';
|
||||
}
|
||||
|
|
@ -186,7 +186,7 @@ class memberModel extends member
|
|||
$menus_count = count($menus);
|
||||
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 finalized pop-up menu
|
||||
$this->add('menus', $menus);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue