mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
모두 lang() 함수로 변경
This commit is contained in:
parent
fc09ea0d47
commit
90400e2b5f
82 changed files with 234 additions and 234 deletions
|
|
@ -62,7 +62,7 @@ if(!class_exists('AddonCaptcha', false))
|
|||
{
|
||||
Context::loadLang(_XE_PATH_ . 'addons/captcha/lang');
|
||||
$_SESSION['XE_VALIDATOR_ERROR'] = -1;
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE'] = Context::getLang('captcha_denied');
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE'] = lang('captcha_denied');
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE_TYPE'] = 'error';
|
||||
$_SESSION['XE_VALIDATOR_RETURN_URL'] = Context::get('error_return_url');
|
||||
$ModuleHandler->_setInputValueToSession();
|
||||
|
|
@ -113,7 +113,7 @@ if(!class_exists('AddonCaptcha', false))
|
|||
// Generate keywords
|
||||
$this->createKeyword();
|
||||
|
||||
$target = Context::getLang('target_captcha');
|
||||
$target = lang('target_captcha');
|
||||
header("Content-Type: text/xml; charset=UTF-8");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
|
@ -121,11 +121,11 @@ if(!class_exists('AddonCaptcha', false))
|
|||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
printf("<response>\r\n <error>0</error>\r\n <message>success</message>\r\n <about_captcha><![CDATA[%s]]></about_captcha>\r\n <captcha_reload><![CDATA[%s]]></captcha_reload>\r\n <captcha_play><![CDATA[%s]]></captcha_play>\r\n <cmd_input><![CDATA[%s]]></cmd_input>\r\n <cmd_cancel><![CDATA[%s]]></cmd_cancel>\r\n </response>"
|
||||
, Context::getLang('about_captcha')
|
||||
, Context::getLang('captcha_reload')
|
||||
, Context::getLang('captcha_play')
|
||||
, Context::getLang('cmd_input')
|
||||
, Context::getLang('cmd_cancel')
|
||||
, lang('about_captcha')
|
||||
, lang('captcha_reload')
|
||||
, lang('captcha_play')
|
||||
, lang('cmd_input')
|
||||
, lang('cmd_cancel')
|
||||
);
|
||||
Context::close();
|
||||
exit();
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ if(!class_exists('AddonMemberCaptcha', false))
|
|||
{
|
||||
Context::loadLang(_XE_PATH_ . 'addons/captcha_member/lang');
|
||||
$_SESSION['XE_VALIDATOR_ERROR'] = -1;
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE'] = Context::getLang('captcha_denied');
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE'] = lang('captcha_denied');
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE_TYPE'] = 'error';
|
||||
$_SESSION['XE_VALIDATOR_RETURN_URL'] = Context::get('error_return_url');
|
||||
$ModuleHandler->_setInputValueToSession();
|
||||
|
|
@ -124,7 +124,7 @@ if(!class_exists('AddonMemberCaptcha', false))
|
|||
// Generate keywords
|
||||
$this->createKeyword();
|
||||
|
||||
$target = Context::getLang('target_captcha');
|
||||
$target = lang('target_captcha');
|
||||
header("Content-Type: text/xml; charset=UTF-8");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
|
|
@ -132,11 +132,11 @@ if(!class_exists('AddonMemberCaptcha', false))
|
|||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
printf("<response>\r\n <error>0</error>\r\n <message>success</message>\r\n <about_captcha><![CDATA[%s]]></about_captcha>\r\n <captcha_reload><![CDATA[%s]]></captcha_reload>\r\n <captcha_play><![CDATA[%s]]></captcha_play>\r\n <cmd_input><![CDATA[%s]]></cmd_input>\r\n <cmd_cancel><![CDATA[%s]]></cmd_cancel>\r\n </response>"
|
||||
, Context::getLang('about_captcha')
|
||||
, Context::getLang('captcha_reload')
|
||||
, Context::getLang('captcha_play')
|
||||
, Context::getLang('cmd_input')
|
||||
, Context::getLang('cmd_cancel')
|
||||
, lang('about_captcha')
|
||||
, lang('captcha_reload')
|
||||
, lang('captcha_play')
|
||||
, lang('cmd_input')
|
||||
, lang('cmd_cancel')
|
||||
);
|
||||
Context::close();
|
||||
exit();
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class wap extends mobileXE {
|
|||
foreach($this->getChilds() as $key => $val)
|
||||
{
|
||||
if(!$val['link']) continue;
|
||||
printf('<ce task=go label="%s" dest="%s">%s%s',Context::getLang('cmd_select'), $val['href'], $val['text'], "\n");
|
||||
printf('<ce task=go label="%s" dest="%s">%s%s',lang('cmd_select'), $val['href'], $val['text'], "\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -71,11 +71,11 @@ class wap extends mobileXE
|
|||
if(!parent::isLangChange())
|
||||
{
|
||||
$url = getUrl('','lcm','1','sel_lang',Context::getLangType(),'return_uri',Context::get('current_url'));
|
||||
printf('<a href="%s">%s</a><br>%s', $url, 'Language : '.Context::getLang('select_lang'), "\n");
|
||||
printf('<a href="%s">%s</a><br>%s', $url, 'Language : '.lang('select_lang'), "\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
printf('<a href="%s">%s</a><br>%s', Context::get('return_uri'), Context::getLang('lang_return'), "\n");
|
||||
printf('<a href="%s">%s</a><br>%s', Context::get('return_uri'), lang('lang_return'), "\n");
|
||||
}
|
||||
if($this->upperUrl)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -168,12 +168,12 @@ class mobileXE
|
|||
if($parent_srl && $listed_items[$parent_srl])
|
||||
{
|
||||
$parent_item = $listed_items[$parent_srl];
|
||||
if($parent_item) $this->setUpperUrl(getUrl('','mid',$parent_item['mid']), Context::getLang('cmd_go_upper'));
|
||||
if($parent_item) $this->setUpperUrl(getUrl('','mid',$parent_item['mid']), lang('cmd_go_upper'));
|
||||
}
|
||||
}
|
||||
elseif (!$this->isNavigationMode())
|
||||
{
|
||||
$this->setUpperUrl(getUrl('','mid',$this->index_mid,'nm','1','cmid',0), Context::getLang('cmd_view_sitemap'));
|
||||
$this->setUpperUrl(getUrl('','mid',$this->index_mid,'nm','1','cmid',0), lang('cmd_view_sitemap'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -247,14 +247,14 @@ class mobileXE
|
|||
if($this->mobilePage>1)
|
||||
{
|
||||
$url = getUrl('mid',$_GET['mid'],'mpage',$this->mobilePage-1);
|
||||
$text = sprintf('%s (%d/%d)', Context::getLang('cmd_prev'), $this->mobilePage-1, $this->totalPage);
|
||||
$text = sprintf('%s (%d/%d)', lang('cmd_prev'), $this->mobilePage-1, $this->totalPage);
|
||||
$this->setPrevUrl($url, $text);
|
||||
}
|
||||
|
||||
if($this->mobilePage<$this->totalPage)
|
||||
{
|
||||
$url = getUrl('mid',$_GET['mid'],'mpage',$this->mobilePage+1);
|
||||
$text = sprintf('%s (%d/%d)', Context::getLang('cmd_next'), $this->mobilePage+1, $this->totalPage);
|
||||
$text = sprintf('%s (%d/%d)', lang('cmd_next'), $this->mobilePage+1, $this->totalPage);
|
||||
$this->setNextUrl($url, $text);
|
||||
}
|
||||
}
|
||||
|
|
@ -353,14 +353,14 @@ class mobileXE
|
|||
if($this->mobilePage>1)
|
||||
{
|
||||
$url = getUrl('mid',$_GET['mid'],'mpage',$this->mobilePage-1);
|
||||
$text = sprintf('%s (%d/%d)', Context::getLang('cmd_prev'), $this->mobilePage-1, $this->totalPage);
|
||||
$text = sprintf('%s (%d/%d)', lang('cmd_prev'), $this->mobilePage-1, $this->totalPage);
|
||||
$this->setPrevUrl($url, $text);
|
||||
}
|
||||
|
||||
if($this->mobilePage<$this->totalPage)
|
||||
{
|
||||
$url = getUrl('mid',$_GET['mid'],'mpage',$this->mobilePage+1);
|
||||
$text = sprintf('%s (%d/%d)', Context::getLang('cmd_next'), $this->mobilePage+1, $this->totalPage);
|
||||
$text = sprintf('%s (%d/%d)', lang('cmd_next'), $this->mobilePage+1, $this->totalPage);
|
||||
$this->setNextUrl($url, $text);
|
||||
}
|
||||
|
||||
|
|
@ -442,7 +442,7 @@ class mobileXE
|
|||
function display()
|
||||
{
|
||||
// Home button assignments
|
||||
$this->setHomeUrl(getUrl(), Context::getLang('cmd_go_home'));
|
||||
$this->setHomeUrl(getUrl(), lang('cmd_go_home'));
|
||||
// Specify the title
|
||||
if(!$this->title) $this->setTitle(Context::getBrowserTitle());
|
||||
|
||||
|
|
@ -520,7 +520,7 @@ class mobileXE
|
|||
$cur_item = $this->listed_items[$this->cmid];
|
||||
$upper_srl = $cur_item['parent_srl'];;
|
||||
$list = $cur_item['list'];;
|
||||
$this->setUpperUrl(getUrl('cmid',$upper_srl), Context::getLang('cmd_go_upper'));
|
||||
$this->setUpperUrl(getUrl('cmid',$upper_srl), lang('cmd_go_upper'));
|
||||
if(preg_match('/^([a-zA-Z0-9\_\-]+)$/', $cur_item['url']))
|
||||
{
|
||||
$obj = array();
|
||||
|
|
@ -575,7 +575,7 @@ class mobileXE
|
|||
$lang_supported = Context::get('lang_supported');
|
||||
$lang_type = Context::getLangType();
|
||||
$obj = array();
|
||||
$obj['link'] = $obj['text'] = Context::getLang('president_lang').' : '.$lang_supported[$lang_type];
|
||||
$obj['link'] = $obj['text'] = lang('president_lang').' : '.$lang_supported[$lang_type];
|
||||
$obj['href'] = getUrl('sel_lang',$lang_type);
|
||||
$childs[] = $obj;
|
||||
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@ class wap extends mobileXE
|
|||
if(!parent::isLangChange())
|
||||
{
|
||||
$url = getUrl('','lcm','1','sel_lang',Context::getLangType(),'return_uri',Context::get('current_url'));
|
||||
printf('<do type="vnd.lang" label="%s"><go href="%s"/></do>%s', 'Language : '.Context::getLang('select_lang'), $url, "\n");
|
||||
printf('<do type="vnd.lang" label="%s"><go href="%s"/></do>%s', 'Language : '.lang('select_lang'), $url, "\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
printf('<do type="vnd.lang" label="%s"><go href="%s"/></do>%s', Context::getLang('lang_return'), Context::get('return_uri'), "\n");
|
||||
printf('<do type="vnd.lang" label="%s"><go href="%s"/></do>%s', lang('lang_return'), Context::get('return_uri'), "\n");
|
||||
}
|
||||
if($this->homeUrl)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ function pointLevelIconTrans($matches, $addon_info)
|
|||
}
|
||||
}
|
||||
|
||||
$title = sprintf('%s:%s%s%s, %s:%s/%s', Context::getLang('point'), $point, $config->point_name, $per ? ' (' . $per . ')' : '', Context::getLang('level'), $level, $config->max_level);
|
||||
$alt = sprintf('[%s:%s]', Context::getLang('level'), $level);
|
||||
$title = sprintf('%s:%s%s%s, %s:%s/%s', lang('point'), $point, $config->point_name, $per ? ' (' . $per . ')' : '', lang('level'), $level, $config->max_level);
|
||||
$alt = sprintf('[%s:%s]', lang('level'), $level);
|
||||
|
||||
$GLOBALS['_pointLevelIcon'][$member_srl] = sprintf('<img src="%s" alt="%s" title="%s" class="xe_point_level_icon" style="vertical-align:middle;margin-right:3px;" />', $level_icon, $alt, $title);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue