mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
034a5c0288
commit
f70ce644ce
1410 changed files with 7188 additions and 53541 deletions
|
|
@ -24,7 +24,7 @@ class TrashVO
|
|||
function getTitle()
|
||||
{
|
||||
if(empty($this->title)) return $lang->untitle;
|
||||
return $this->title;
|
||||
return htmlspecialchars($this->title);
|
||||
}
|
||||
function setTitle($title)
|
||||
{
|
||||
|
|
@ -49,7 +49,7 @@ class TrashVO
|
|||
}
|
||||
function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
return htmlspecialchars($this->description);
|
||||
}
|
||||
function setDescription($description)
|
||||
{
|
||||
|
|
@ -81,7 +81,7 @@ class TrashVO
|
|||
}
|
||||
function getNickName()
|
||||
{
|
||||
return $this->nickName;
|
||||
return htmlspecialchars($this->nickName);
|
||||
}
|
||||
function setNickName($nickName)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ var no_text_comment = '{$lang->no_text_comment}';
|
|||
</script>
|
||||
<load target="js/trash_admin.js" usecdn="true" />
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->trash} <a class="x_icon-question-sign" href="./help/index.html#UMAN_content_trash" target="_blank">{$lang->help}</a></h1>
|
||||
<h1>{$lang->trash} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trash" target="_blank">{$lang->help}</a></h1>
|
||||
</div>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/trash/tpl/trash_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<form ruleset="emptyTrash" action="./" method="post">
|
||||
|
|
@ -44,7 +44,7 @@ var no_text_comment = '{$lang->no_text_comment}';
|
|||
<block cond="trim($oTrashVO->getTitle())">{$oTrashVO->getTitle()}</block>
|
||||
</td>
|
||||
<td class="nowr"><!--@if($oTrashVO->getOriginModule() == 'document')-->{$lang->document}<!--@else-->{$lang->comment}<!--@end--></td>
|
||||
<td class="nowr"><a href="#popup_menu_area" class="member_{$oTrashVO->getRemoverSrl()}">{htmlspecialchars($oTrashVO->getNickName())}</a></td>
|
||||
<td class="nowr"><a href="#popup_menu_area" class="member_{$oTrashVO->getRemoverSrl()}">{$oTrashVO->getNickName()}</a></td>
|
||||
<td class="nowr">{zdate($oTrashVO->getRegdate(), "Y-m-d H:i:s")}</td>
|
||||
<td class="nowr">{$oTrashVO->getIpaddress()}</td>
|
||||
<td class="title">{$oTrashVO->getDescription()}</td>
|
||||
|
|
@ -105,6 +105,7 @@ var no_text_comment = '{$lang->no_text_comment}';
|
|||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="is_all" value="false" />
|
||||
<input type="hidden" name="origin_module" value="{$origin_module}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/trash/tpl/trash_list/1" />
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->document_manager}: <span class="_sub"></span></h1>
|
||||
</div>
|
||||
|
|
@ -141,7 +142,7 @@ jQuery(function($){
|
|||
}
|
||||
}).change();
|
||||
// Modal anchor button action
|
||||
$('a[data-value]').click(function(){
|
||||
$('a[data-value]').bind('before-open.mw', function(){
|
||||
if($docTable.find('tbody :checked').length == 0){
|
||||
$('body').css('overflow','auto');
|
||||
alert('{$lang->msg_not_selected_document}');
|
||||
|
|
|
|||
|
|
@ -205,6 +205,8 @@ class trashAdminController extends trash
|
|||
$this->setMessage($lang->no_documents);
|
||||
}
|
||||
|
||||
$oSecurity = new Security($trashList);
|
||||
$oSecurity->encodeHTML('..');
|
||||
$this->add('trash_list', $trashList);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ class trashAdminView extends trash
|
|||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
debugPrint($output->data);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('trash_list');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue