diff --git a/src/data/admin/config_update.php b/src/data/admin/config_update.php index 4bff4a15..04048973 100755 --- a/src/data/admin/config_update.php +++ b/src/data/admin/config_update.php @@ -1,7 +1,5 @@ 正在处理中..."; - var myajax = new DedeAjax($DE('updateinfos')); - myajax.SendGet('update_guide.php?dopost=test'); -} - -function SkipReload(nnum){ - if( window.confirm("忽略后以后都不会再提示这个日期前的升级信息,你确定要忽略这些更新吗?") ) - { - DedeXHTTP = null; - $DE('updateinfos').innerHTML = " 正在处理中..."; - var myajax = new DedeAjax($DE('updateinfos')); - myajax.SendGet('update_guide.php?dopost=skip&vtime='+nnum); - } -} - function ShowWaitDiv(){ $DE('loaddiv').style.display = 'block'; return true; diff --git a/src/dede/login.php b/src/dede/login.php index 129194ae..8ba56ae2 100755 --- a/src/dede/login.php +++ b/src/dede/login.php @@ -42,12 +42,6 @@ if( is_dir(dirname(__FILE__).'/../install') ) //更新服务器 require_once (DEDEDATA.'/admin/config_update.php'); -if ($dopost=='showad') -{ - include('templets/login_ad.htm'); - exit; -} - //检测后台目录是否更名 $cururl = GetCurUrl(); if(preg_match('/dede\/login/i',$cururl)) diff --git a/src/dede/module_main.php b/src/dede/module_main.php index ac29b304..bbec484a 100755 --- a/src/dede/module_main.php +++ b/src/dede/module_main.php @@ -15,7 +15,7 @@ require_once(dirname(__FILE__)."/../include/oxwindow.class.php"); if(empty($action)) $action = ''; require_once(DEDEDATA."/admin/config_update.php"); $mdir = DEDEDATA.'/module'; -$mdurl = UPDATEHOST.'dedecms/module_'.$cfg_soft_lang.'/modulelist.txt'; +$mdurl = ""; function TestWriteAble($d) { @@ -358,7 +358,6 @@ else if($action=='del') $dm = new DedeModule($mdir); $infos = $dm->GetModuleInfo($hash); - if($infos['url']=='') $infos['url'] = ' '; $alertMsg = ($infos['lang']==$cfg_soft_lang ? '' : '
(这个模块的语言编码与你系统的编码不一致,请向开发者确认它的兼容性)'); $win = new OxWindow(); @@ -369,43 +368,35 @@ else if($action=='del') $win->AddHidden('action', 'delok'); $msg = " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
模块名称:{$infos['name']}
语言:{$infos['lang']} {$alertMsg}
文件大小:{$infos['filesize']}
团队名称:{$infos['team']}
发布时间:{$infos['time']}
电子邮箱:{$infos['email']}
官方网址:{$infos['url']}
使用协议:点击浏览...
- 删除模块仅删除这个模块的安装包文件,如果你已经安装,请执行卸载程序来删除! -
模块名称:{$infos['name']}
语言:{$infos['lang']} {$alertMsg}
文件大小:{$infos['filesize']}
开发者ID:{$infos['dev_id']} 查看详情
发布时间:{$infos['time']}
使用协议:点击浏览...
+ 删除模块仅删除这个模块的安装包文件,如果你已经安装,请执行卸载程序来删除! +
"; $win->AddMsgItem("
$msg
"); @@ -459,25 +450,17 @@ else if($action=='uninstall') {$infos['lang']} {$alertMsg} - 文件大小: - {$infos['filesize']} + 文件大小: + {$infos['filesize']} - 团队名称: - {$infos['team']} + 开发者ID: + {$infos['dev_id']} 查看详情 发布时间: {$infos['time']} - - 电子邮箱: - {$infos['email']} - - - 官方网址: - {$infos['url']} - 使用协议: 点击浏览... @@ -621,25 +604,13 @@ else if($action=='view') {$infos['filesize']} - 是否已安装: - {$setupinfo} - - - 团队名称: - {$infos['team']} + 开发者ID: + {$infos['dev_id']} 查看详情 发布时间: {$infos['time']} - - 电子邮箱: - {$infos['email']} - - - 官方网址: - {$infos['url']} - 使用协议: 点击浏览... @@ -689,8 +660,5 @@ function Download(); --------------*/ else if($action=='download') { - $model_remote_url = UPDATEHOST.'dedecms/module_'.$cfg_soft_lang.'/'.$hash.'.xml'; - $model_remote = file_get_contents($model_remote_url); - file_put_contents($mdir.'/'.$hash.'.xml',$model_remote); - echo "未安装 安装"; + ShowMsg("暂不支持模块下载功能", "javascript:;"); } \ No newline at end of file diff --git a/src/dede/templets/index_body.htm b/src/dede/templets/index_body.htm index 0a01aaea..d421ad28 100755 --- a/src/dede/templets/index_body.htm +++ b/src/dede/templets/index_body.htm @@ -72,7 +72,7 @@ "; echo "安全操作:数据库备份/还原 病毒扫描 系统错误修复\r\n"; - echo ""; + echo ""; ?> diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm index 97398bd1..f9735b7b 100755 --- a/src/dede/templets/login.htm +++ b/src/dede/templets/login.htm @@ -10,6 +10,7 @@