mobile addon 개선. 게시판/페이지 wap class 제작. module별 wap interface 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5283 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-08 05:50:21 +00:00
parent 8486f9b132
commit 01839ccf3b
17 changed files with 507 additions and 204 deletions

View file

@ -5,6 +5,13 @@
**/
class wap extends mobileXE {
/**
* @brief constructor
**/
function wap() {
parent::mobileXE();
}
/**
* @brief wml 헤더 출력
**/
@ -42,14 +49,14 @@
* @brief 버튼을 출력함
**/
function printBtn() {
if($this->prevUrl) {
$url = $this->prevUrl;
printf('<do type="%s" label="%s"><go href="%s"/></do>%s', $this->getNo(), $url->text, $url->url, "\n");
}
if($this->nextUrl) {
$url = $this->nextUrl;
printf('<do type="%s" label="%s"><go href="%s"/></do>%s', $this->getNo(), $url->text, $url->url, "\n");
}
if($this->prevUrl) {
$url = $this->prevUrl;
printf('<do type="%s" label="%s"><go href="%s"/></do>%s', $this->getNo(), $url->text, $url->url, "\n");
}
if($this->homeUrl) {
$url = $this->homeUrl;
printf('<do type="access" label="%s"><go href="%s"/></do>%s', $url->text, $url->url, "\n");