모바일페이지에서 제목 제대로 표시 안되는 문제 수정.

코드에 있던 의미없는 띄어쓰기 지움.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6352 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-05-22 05:24:06 +00:00
parent 3c8d07f26b
commit d671abf949
5 changed files with 24 additions and 15 deletions

View file

@ -16,13 +16,16 @@
* @brief hdml 헤더 출력
**/
function printHeader() {
print("<html>\n");
print("<html><head>\n");
if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
printf("<title>%s%s</title></head><body>\n", htmlspecialchars($this->title),htmlspecialchars($titlePageStr));
}
// 제목을 출력
function printTitle() {
if($this->totalPage > $this->mobilePage) $titlePageStr = sprintf("(%d/%d)",$this->mobilePage, $this->totalPage);
printf('&lt;%s%s&gt;<br>%s', $this->title,$titlePageStr,"\n");
$this->title = str_replace(array('$','\'','_'), array('$$','&apos;','&shy;'), $this->title);
printf('&lt;%s%s&gt;<br>%s', htmlspecialchars($this->title),htmlspecialchars($titlePageStr),"\n");
}
/**
@ -64,7 +67,7 @@
// 푸터 정보를 출력
function printFooter() {
print("</html>\n");
print("</body></html>\n");
}
}
?>