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 hdml 헤더 출력
**/
@ -37,14 +44,14 @@
* @brief 버튼을 출력함
**/
function printBtn() {
if($this->prevUrl) {
$url = $this->prevUrl;
printf('<a href="%s">%s</a><br>%s', $url->url, $url->text, "\n");
}
if($this->nextUrl) {
$url = $this->nextUrl;
printf('<a href="%s">%s</a><br>%s', $url->url, $url->text, "\n");
}
if($this->prevUrl) {
$url = $this->prevUrl;
printf('<a href="%s">%s</a><br>%s', $url->url, $url->text, "\n");
}
if($this->upperUrl) {
$url = $this->upperUrl;
printf('<btn href="%s" name="%s">%s', $url->url, $url->text, "\n");