모듈의 schema등의 변동이 있을 경우 install할 수 있도록 하는 부분에서 변수명 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2004 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-25 05:05:42 +00:00
parent 359ba483a4
commit c40dfd2e02
2 changed files with 5 additions and 4 deletions

View file

@ -544,8 +544,8 @@
$info->admin_index_act = $info->admin_index_act;
// 설치 유무 체크 (설치는 DB의 설치만 관리)
if($table_count > $created_table_count) $info->need_installed = false;
else $info->need_installed = true;
if($table_count > $created_table_count) $info->need_install = treu;
else $info->need_install = false;
// 각 모듈의 module.class.php로 upgrade 유무 체크
$oDummy = null;

View file

@ -39,10 +39,11 @@
<td class="tahoma left">{$val->path}</td>
<td class="blue"><a href="#" onclick="popopen('{getUrl('','module','module','act','dispModuleAdminInfo','selected_module',$val->module)}','module_info');return false">{$lang->cmd_view}</a></td>
<td class="red">
<!--@if($val->need_install)-->
<a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->cmd_install}</a>
<!--@end-->
<!--@if($val->need_update)-->
<a href="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->cmd_update}</a>
<!--@elseif($val->need_install)-->
<a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->cmd_install}</a>
<!--@else-->
&nbsp;
<!--@end-->