git-svn-id: http://xe-core.googlecode.com/svn/trunk@835 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-30 10:01:51 +00:00
parent 10be4c845a
commit 078ea34bc4
13 changed files with 47 additions and 49 deletions

View file

@ -1,4 +1,4 @@
<filter name="delete_comment" module="board" act="procDeleteComment"> <filter name="delete_comment" module="board" act="procBoardDeleteComment">
<form> <form>
<node target="comment_srl" required="true" /> <node target="comment_srl" required="true" />
</form> </form>

View file

@ -1,4 +1,4 @@
<filter name="delete_document" module="board" act="procDeleteDocument"> <filter name="delete_document" module="board" act="procBoardDeleteDocument">
<form> <form>
<node target="document_srl" required="true" /> <node target="document_srl" required="true" />
</form> </form>

View file

@ -1,4 +1,4 @@
<filter name="delete_trackback" module="board" act="procDeleteTrackback"> <filter name="delete_trackback" module="board" act="procBoardDeleteTrackback">
<form> <form>
<node target="trackback_srl" required="true" /> <node target="trackback_srl" required="true" />
</form> </form>

View file

@ -1,4 +1,4 @@
<filter name="input_password" module="board" act="procVerificationPassword" > <filter name="input_password" module="board" act="procBoardVerificationPassword" >
<form> <form>
<node target="document_srl" required="true" /> <node target="document_srl" required="true" />
<node target="password" required="true" /> <node target="password" required="true" />

View file

@ -1,4 +1,4 @@
<filter name="insert" module="board" act="procInsertDocument" confirm_msg_code="confirm_submit"> <filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="confirm_submit">
<form> <form>
<node target="document_srl" required="true" /> <node target="document_srl" required="true" />
<node target="nick_name" required="true" /> <node target="nick_name" required="true" />

View file

@ -1,4 +1,4 @@
<filter name="insert_comment" module="board" act="procInsertComment" confirm_msg_code="confirm_submit"> <filter name="insert_comment" module="board" act="procBoardInsertComment" confirm_msg_code="confirm_submit">
<form> <form>
<node target="document_srl" required="true" /> <node target="document_srl" required="true" />
<node target="nick_name" required="true" /> <node target="nick_name" required="true" />

View file

@ -1,4 +1,4 @@
<filter name="vote" module="board" act="procVoteDocument" confirm_msg_code="confirm_vote"> <filter name="vote" module="board" act="procBoardVoteDocument" confirm_msg_code="confirm_vote">
<form> <form>
<node target="document_srl" required="true" /> <node target="document_srl" required="true" />
</form> </form>

View file

@ -4,46 +4,43 @@
</div> </div>
<!-- 엮인글 목록 --> <!-- 엮인글 목록 -->
<!--@if($document->trackback_list)-->
<div> <div>
<!--@foreach($document->trackback_list as $key => $val)-->
<a name="trackback_{$val->trackback_srl}"></a>
<!--@if($document->trackback_list)--> <div style="margin-left:{$val->depth*15}px" >
<table>
<col width="120" />
<col width="*" />
<tr>
<th>{$lang->title}</th>
<td>{$val->title}</td>
</tr>
<tr>
<th>{$lang->date}</th>
<td>{zdate($val->regdate, "Y-m-d H:i:s")}</td>
</tr>
<tr>
<th>{$lang->blog_name}</th>
<td><a href="{$val->url}">{$val->blog_name}</a></td>
</tr>
<tr>
<th>{$lang->excerpt}</th>
<td height="100" valign="top">{nl2br($val->excerpt)}</td>
</tr>
<tr>
<th>ipaddress</th>
<td>{$val->ipaddress}</td>
</tr>
<tr>
<td colspan="2">
<a href="{getUrl('act','dispBoardDeleteTrackback','trackback_srl',$val->trackback_srl)}">[{$lang->cmd_delete}]</a>
</td>
</tr>
</table>
</div>
<!--@foreach($document->trackback_list as $key => $val)-->
<a name="trackback_{$val->trackback_srl}"></a>
<div style="margin-left:{$val->depth*15}px" >
<table>
<col width="120" />
<col width="*" />
<tr>
<th>{$lang->title}</th>
<td>{$val->title}</td>
</tr>
<tr>
<th>{$lang->date}</th>
<td>{zdate($val->regdate, "Y-m-d H:i:s")}</td>
</tr>
<tr>
<th>{$lang->blog_name}</th>
<td><a href="{$val->url}">{$val->blog_name}</a></td>
</tr>
<tr>
<th>{$lang->excerpt}</th>
<td height="100" valign="top">{nl2br($val->excerpt)}</td>
</tr>
<tr>
<th>ipaddress</th>
<td>{$val->ipaddress}</td>
</tr>
<tr>
<td colspan="2">
<a href="{getUrl('act','dispBoardDeleteTrackback','trackback_srl',$val->trackback_srl)}">[{$lang->cmd_delete}]</a>
</td>
</tr>
</table>
</div>
<!--@end-->
<!--@end--> <!--@end-->
</div> </div>
<!--@end-->

View file

@ -96,7 +96,7 @@
<!-- 첨부파일 영역 --> <!-- 첨부파일 영역 -->
<!--%import("./js/uploader.js")--> <!--%import("./js/uploader.js")-->
<script type="text/javascript"> <script type="text/javascript">
editor_upload_init("{$upload_target_srl}"); editor_upload_init("{$upload_target_srl}");
</script> </script>
<div class="editor_uploader_box"> <div class="editor_uploader_box">

View file

@ -165,7 +165,7 @@ function editorGetContent(upload_target_srl) {
if(!iframe_obj) return; if(!iframe_obj) return;
var html = ''; var html = '';
html = xInnerHtml(iframe_obj.contentWindow.document.body); html = xInnerHtml(iframe_obj.contentWindow.document.body);
html = html.replace(/^<br>$/i,''); if(html) html = html.replace(/^<br>$/i,'');
if(!html) return ""; if(!html) return "";
return html; return html;

View file

@ -30,7 +30,7 @@ function editor_upload_form_set(upload_target_srl) {
// 업로드용 iframe을 생성 // 업로드용 iframe을 생성
if(!xGetElementById('tmp_upload_iframe')) { if(!xGetElementById('tmp_upload_iframe')) {
if(xIE4Up) { if(xIE4Up) {
window.document.body.insertAdjacentHTML("afterEnd", "<iframe name='tmp_upload_iframe' style='display:none;width:1px;height:1px;position:absolute;top:-10px;left:-10px'></iframe>"); window.document.body.insertAdjacentHTML("afterEnd", "<iframe id='tmp_upload_iframe' name='tmp_upload_iframe' style='display:none;width:1px;height:1px;position:absolute;top:-10px;left:-10px'></iframe>");
} else { } else {
var obj_iframe = xCreateElement('IFRAME'); var obj_iframe = xCreateElement('IFRAME');
obj_iframe.name = obj_iframe.id = 'tmp_upload_iframe'; obj_iframe.name = obj_iframe.id = 'tmp_upload_iframe';

View file

@ -5,6 +5,7 @@
<action name="dispFileAdminList" type="view" admin_index="true" standalone="true" /> <action name="dispFileAdminList" type="view" admin_index="true" standalone="true" />
<action name="procFileDownload" type="model" standalone="true" /> <action name="procFileDownload" type="model" standalone="true" />
<action name="procFileDelete" type="controller" standalone="true" />
<action name="procFileAdminDeleteChecked" type="controller" standalone="true" /> <action name="procFileAdminDeleteChecked" type="controller" standalone="true" />
</actions> </actions>
</module> </module>

View file

@ -129,7 +129,7 @@
* @brief 파일 출력 * @brief 파일 출력
* 이미지나 멀티미디어등이 아닌 download를 받을 사용하는 method * 이미지나 멀티미디어등이 아닌 download를 받을 사용하는 method
**/ **/
function procDownload() { function procFileDownload() {
$file_srl = Context::get('file_srl'); $file_srl = Context::get('file_srl');
$sid = Context::get('sid'); $sid = Context::get('sid');