mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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
|
||||
/**
|
||||
* WML Library ver 0.1
|
||||
* @author zero <zero@zeroboard.com>
|
||||
* @author zero <zero@zeroboard.com> / lang_select : misol
|
||||
**/
|
||||
class wap extends mobileXE {
|
||||
|
||||
|
|
@ -29,7 +29,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");
|
||||
}
|
||||
|
||||
|
|
@ -68,6 +67,10 @@
|
|||
$url = $this->upperUrl;
|
||||
printf('<do type="vnd.up" label="%s"><go href="%s"/></do>%s', $url->text, $url->url, "\n");
|
||||
}
|
||||
else {
|
||||
$url = getUrl('','lcm','1','sel_lang',Context::getLangType());
|
||||
printf('<do type="vnd.up" label="%s"><go href="%s"/></do>%s', 'Language : '.Context::getLang('select_lang'), $url, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
// 푸터 정보를 출력
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue