mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
모바일페이지에서 제목 제대로 표시 안되는 문제 수정.
코드에 있던 의미없는 띄어쓰기 지움. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6352 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c8d07f26b
commit
d671abf949
5 changed files with 24 additions and 15 deletions
|
|
@ -18,8 +18,10 @@
|
|||
function printHeader() {
|
||||
header("Content-Type: text/vnd.wap.wml");
|
||||
header("charset: ".$this->charset);
|
||||
if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
|
||||
print("<?xml version=\"1.0\" encoding=\"".$this->charset."\"?><!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n");
|
||||
print("<wml>\n<card>\n<p>\n");
|
||||
// 카드제목
|
||||
printf("<wml>\n<card title=\"%s%s\">\n<p>\n",htmlspecialchars($this->title),htmlspecialchars($titlePageStr));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -27,7 +29,8 @@
|
|||
**/
|
||||
function printTitle() {
|
||||
if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
|
||||
printf('<%s%s><br/>%s', $this->title,$titlePageStr,"\n");
|
||||
$this->title = str_replace(array('$','\'','_'), array('$$',''','­'), $this->title);
|
||||
printf('<%s%s><br/>%s', htmlspecialchars($this->title),htmlspecialchars($titlePageStr),"\n");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue