새로 바뀐 file module의 관리자 페이지 - 첨부파일 관리 페이지에서 첨부파일과 글 또는 댓글이 mapping 되어 있지 않게 될 때 생기는 object error를 object를 검사하는 루틴을 넣어서 오류 없어 출력은 되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6328 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-18 08:33:00 +00:00
parent 630de24f7b
commit 522a350d81
2 changed files with 5 additions and 5 deletions

View file

@ -73,9 +73,10 @@
<!--@else-->
<!--@if($val->upload_target_type == 'com')-->[{$lang->comment}] <!--@end-->
<!--@if($val->upload_target_type == 'mod')-->[{$lang->module}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
<a href="{getUrl('', 'mid', $module_list[$val->module_srl]->mid)}" onclick="window.open(this.href);return false;">{$module_list[$val->module_srl]->browser_title}</a>
<!--@if($val->upload_target_type == 'doc' || $val->upload_target_type == 'com')-->
<!--@if($document_list[$document_srl] && ($val->upload_target_type == 'doc' || $val->upload_target_type == 'com'))-->
- <!--@if($document_list[$document_srl]->get('module_srl') != $document_list[$document_srl]->get('member_srl'))--><a href="{$move_uri}" onclick="window.open(this.href);return false;">{$document_list[$document_srl]->getTitle()}</a><!--@else-->{$document_list[$document_srl]->getTitle()}<!--@end-->
<!--@end-->
<!--@end-->
@ -99,9 +100,9 @@
<td class="date tCenter nowrap" title="{zdate($val->regdate,"Y-m-d H:i:s")}">{zdate($val->regdate,"Y-m-d")}</td>
<td class="number tCenter nowrap"><a href="{getUrl('search_target','ipaddress','search_keyword',$val->ipaddress)}">{$val->ipaddress}</a></td>
<td class="nowrap">
<!--@if($val->upload_target_type == 'doc')-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl])-->
<span class="member_{$document_list[$document_srl]->get('member_srl')}">{$document_list[$document_srl]->getNickName()}</span>
<!--@elseif($val->upload_target_type == 'com')-->
<!--@elseif($val->upload_target_type == 'com' && $comment_list[$val->upload_target_srl])-->
<span class="member_{$comment_list[$val->upload_target_srl]->get('member_srl')}">{$comment_list[$val->upload_target_srl]->getNickName()}</span>
<!--@end-->
</td>