diff --git a/src/dede/templets/index_body.htm b/src/dede/templets/index_body.htm index b1a07787..0a01aaea 100755 --- a/src/dede/templets/index_body.htm +++ b/src/dede/templets/index_body.htm @@ -70,10 +70,9 @@
您系统版本最后更新时间为:{$oktime}
"; - echo " 进行在线更新   \r\n"; - echo " 系统错误修复
\r\n"; - echo ""; + echo "
"; + echo "安全操作:数据库备份/还原 病毒扫描 系统错误修复
\r\n"; + echo ""; ?>
diff --git a/src/dede/templets/module_main.htm b/src/dede/templets/module_main.htm index fa1ed4d6..c8950412 100755 --- a/src/dede/templets/module_main.htm +++ b/src/dede/templets/module_main.htm @@ -1,72 +1,77 @@ - + + - -模块打包 - - - - - - - - + + + + + + -
-
-
模块管理
-
- - - - - - - - - - - - - - - +
+
模块管理
+
应用市场
+ +
-
模块管理 > 模块列表:
-
- 全部 | - 模块 | - 模板 | - 小插件 | - 补丁 -
-
模块名称发布时间编码类型模块状态管理
+ + + + + + + + + + + + + + 0) foreach($modules as $k=>$v) { -?> - - - - + + + - - + - - - + + + - - - - -
+
模块管理 > 模块列表:
+
+ 全部 | + 模块 | + 模板 | + 小插件 | + 补丁 +
+
模块名称发布时间编码类型模块状态管理
- +
+ ".$v['lang'].""; else echo $v['lang']; ?> - - - + + + $v) echo "
未下载 下载
"; } ?> - -
- -
' > - '>开发者信息 - -
- - -
-
-
+ +
' + > + '>开发者信息 + +
+ + +
+
+
 
+ +   + + + - + + \ No newline at end of file diff --git a/src/dede/templets/shops_operations.htm b/src/dede/templets/shops_operations.htm index dc9550e3..51b23875 100755 --- a/src/dede/templets/shops_operations.htm +++ b/src/dede/templets/shops_operations.htm @@ -135,7 +135,7 @@ - [详情] + 详情 diff --git a/src/dede/templets/shops_operations_cart.htm b/src/dede/templets/shops_operations_cart.htm index 8d58ec5b..5d718203 100755 --- a/src/dede/templets/shops_operations_cart.htm +++ b/src/dede/templets/shops_operations_cart.htm @@ -3,9 +3,11 @@ <?php echo $oid;?> + + - +
@@ -70,7 +72,7 @@
订单信息
- +
diff --git a/src/include/dedemodule.class.php b/src/include/dedemodule.class.php index e48d38be..a5ce3c52 100755 --- a/src/include/dedemodule.class.php +++ b/src/include/dedemodule.class.php @@ -90,31 +90,7 @@ class DedeModule */ function GetModuleUrlList($moduletype = '', $url = '') { - $dh = dir($this->modulesPath) or die("没找到模块目录:({$this->modulesPath})!"); - $fp = @fopen($this->modulesPath . '/modulescache.php', 'w') or die('读取文件权限出错,目录文件' . $this->modulesPath . '/modulescache.php不可写!'); - $cachefile = DEDEDATA . '/module/moduleurllist.txt'; - $remotelist = ''; - if (file_exists($cachefile) && (filemtime($cachefile) + 60 * 30) > time()) { - // 30分钟本地缓存一次 - $remotelist = file_get_contents($cachefile); - } else { - $del = new DedeHttpDown(); - $del->OpenUrl($url); - $remotelist = $del->GetHtml(); - PutFile($cachefile, $remotelist); - } - if (empty($remotelist)) return false; - - $modules = unserialize($remotelist); - if (empty($moduletype)) { - return $modules; - } - $return = array(); - foreach ($modules as $arrow => $data) { - if ($data['moduletype'] == $moduletype) - $return[] = $data; - } - return $return; + return false; } /** * 转换编码