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

This commit is contained in:
zero 2007-03-26 12:58:22 +00:00
parent 1bbcb0e477
commit ca235a1586
3 changed files with 5 additions and 11 deletions

View file

@ -178,14 +178,11 @@
// 관리자 관련 정보 세팅
$this->initAdmin();
if(!Context::get('module_srl')) return $this->dispContent();
$module_info = Context::get('module_info');
$oDocumentModel = &getModel('document');
$document_count = $oDocumentModel->getDocumentCount($module_info->module_srl);
$module_info->document_count = $document_count;
$module_srl = Context::get('module_srl');
if(!$module_srl) return $this->dispContent();
$oModuleModel = &getModel('module');
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
Context::set('module_info',$module_info);
// 템플릿 파일 지정

View file

@ -16,10 +16,6 @@
<th>{$lang->module}</th>
<td>{$module_info->module}</td>
</tr>
<tr>
<th>{$lang->document_count}</th>
<td>{$module_info->document_count}</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="{$lang->cmd_delete}" />

View file

@ -31,6 +31,7 @@
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$lang->cmd_list}" onclick="location.href='{getUrl('act','dispAdminContent')}'" />
<input type="button" value="{$lang->cmd_modify}" onclick="location.href='{getUrl('act','dispAdminInsertPage')}'" />
</td>
</tr>