diff --git a/src/admin/tpl.php b/src/admin/tpl.php index 795714d6..e8493201 100644 --- a/src/admin/tpl.php +++ b/src/admin/tpl.php @@ -77,7 +77,7 @@ else if ($action == 'saveedit') { exit(); } if (!preg_match("#\.htm$#", $filename)) { - ShowMsg('DEDE模板文件,文件名必须用.htm结尾', '-1'); + ShowMsg('模板只能用.htm扩展名', '-1'); exit(); } $content = stripslashes($content); @@ -114,18 +114,16 @@ else if ($action == 'upload') { $wecome_info = "模板管理 > 上传模板"; $win->AddTitle('请选择要上传的模块文件'); $win->AddHidden("action", 'uploadok'); - $msg = " - - - - - -
选择文件: - - - -
- "; + $msg = " + + + + +
选择文件: + + + +
"; $win->AddMsgItem("$msg"); $winform = $win->GetWindow('ok', ''); $win->Display(); @@ -139,7 +137,7 @@ else if ($action == 'uploadok') { exit(); } else { if (!preg_match("#\.(htm|html)$#", $upfile_name)) { - ShowMsg("DedeBIZ模板只能用 .htm或.html扩展名", "-1"); + ShowMsg("模板只能用.htm或.html扩展名", "-1"); exit(); } if (preg_match("#[\\\\\/]#", $upfile_name)) {