mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
모바일 언어설정 모드 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6366 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
db8733fd18
commit
9296c680ac
7 changed files with 114 additions and 14 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* mhtml Library ver 0.1
|
||||
* @author zero <zero@zeroboard.com>
|
||||
* @author zero <zero@zeroboard.com> / lang_select : misol
|
||||
**/
|
||||
class wap extends mobileXE {
|
||||
|
||||
|
|
@ -24,7 +24,6 @@
|
|||
// 제목을 출력
|
||||
function printTitle() {
|
||||
if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
|
||||
$this->title = str_replace(array('$','\'','_'), array('$$',''','­'), $this->title);
|
||||
printf('<%s%s><br>%s', htmlspecialchars($this->title),htmlspecialchars($titlePageStr),"\n");
|
||||
}
|
||||
|
||||
|
|
@ -59,6 +58,10 @@
|
|||
$url = $this->upperUrl;
|
||||
printf('<btn href="%s" name="%s">%s', $url->url, $url->text, "\n");
|
||||
}
|
||||
else {
|
||||
$url = getUrl('','lcm','1','sel_lang',Context::getLangType());
|
||||
printf('<btn name="%s" href="%s">%s', 'Language : '.Context::getLang('select_lang'), $url, "\n");
|
||||
}
|
||||
if($this->homeUrl) {
|
||||
$url = $this->homeUrl;
|
||||
printf('<a btn="%s" href="%s">%s</a>%s', $url->text, $url->url, $url->text, "\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue