mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@862 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9c582a571e
commit
6bb189a34b
48 changed files with 705 additions and 720 deletions
5
modules/trackback/tpl/error.html
Normal file
5
modules/trackback/tpl/error.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{'<?xml version="1.0" encoding="utf-8" ?>'}
|
||||
<response>
|
||||
<error>{$error}</error>
|
||||
<message><![CDATA[{$message}]]></message>
|
||||
</response>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
|
||||
<!-- 게시판 정보 -->
|
||||
<!-- 정보 -->
|
||||
<div>
|
||||
{$lang->total_count} : {number_format($total_count)},
|
||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||
|
|
@ -50,7 +50,6 @@
|
|||
<div>
|
||||
<form action="./" method="get">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="mo" value="{$mo}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
|
||||
<div>
|
||||
|
|
@ -62,7 +61,7 @@
|
|||
</select>
|
||||
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" />
|
||||
<input type="submit" value="{$lang->cmd_search}" />
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('','module',$module,'mo',$mo,'act',$act)}'"/>
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('','module',$module,'act',$act)}'"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,16 +65,12 @@
|
|||
* 메세지를 출력하고 그냥 종료 시켜 버림
|
||||
**/
|
||||
function dispMessage($error, $message) {
|
||||
// 헤더 출력
|
||||
header("Content-Type: text/xml; charset=UTF-8");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
print '<?xml version="1.0" encoding="utf-8" ?>'."\n";
|
||||
print "<response>\n<error>{$error}</error><message>{$message}</message></response>";
|
||||
exit();
|
||||
// 결과 출력을 XMLRPC로 강제 지정
|
||||
Context::setResponseMethod("XMLRPC");
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('error');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue