diff --git a/src/admin/archives_do.php b/src/admin/archives_do.php index f1ac84fd..e50771c1 100644 --- a/src/admin/archives_do.php +++ b/src/admin/archives_do.php @@ -368,7 +368,7 @@ else if ($dopost == "delArchives") { $wintitle = "删除指定文档"; $wecome_info = "文档管理 - 删除文档"; $win = new OxWindow(); - $win->Init("archives_do.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("archives_do.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("qstr", $qstr); @@ -418,7 +418,7 @@ else if ($dopost == 'clear') { $wintitle = "清空回收站所有文档"; $wecome_info = "文档回收站 - 清空所有文档"; $win = new OxWindow(); - $win->Init("archives_do.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("archives_do.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("qstr", $qstr); @@ -456,7 +456,7 @@ else if ($dopost == 'del') { $wintitle = "删除指定文档"; $wecome_info = "文档管理 - 删除文档"; $win = new OxWindow(); - $win->Init("archives_do.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("archives_do.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("qstr", $qstr); diff --git a/src/admin/article_allowurl_edit.php b/src/admin/article_allowurl_edit.php index 21d252ae..d9d5b6c9 100644 --- a/src/admin/article_allowurl_edit.php +++ b/src/admin/article_allowurl_edit.php @@ -31,7 +31,7 @@ if (empty($allurls) && filesize($m_file) > 0) { } $wecome_info = "允许站内链接"; $win = new OxWindow(); -$win->Init('article_allowurl_edit.php', '../static/web/js/admin.blank.js', 'POST'); +$win->Init('article_allowurl_edit.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('dopost', 'save'); $win->AddTitle("每行保存一个超链接"); $win->AddMsgItem(""); diff --git a/src/admin/article_source_edit.php b/src/admin/article_source_edit.php index 4c4e4ceb..a70b3752 100644 --- a/src/admin/article_source_edit.php +++ b/src/admin/article_source_edit.php @@ -31,7 +31,7 @@ if (empty($allsource) && filesize($m_file) > 0) { } $wecome_info = "文档来源管理"; $win = new OxWindow(); -$win->Init('article_source_edit.php', '../static/web/js/admin.blank.js', 'POST'); +$win->Init('article_source_edit.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('dopost', 'save'); $win->AddTitle("一行填写一个地址"); $win->AddMsgItem(""); diff --git a/src/admin/article_writer_edit.php b/src/admin/article_writer_edit.php index 0e0bcd50..ac6fa877 100644 --- a/src/admin/article_writer_edit.php +++ b/src/admin/article_writer_edit.php @@ -31,7 +31,7 @@ if (empty($allwriter) && filesize($m_file) > 0) { } $wecome_info = "文档作者管理"; $win = new OxWindow(); -$win->Init('article_writer_edit.php', '../static/web/js/admin.blank.js', 'POST'); +$win->Init('article_writer_edit.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('dopost', 'save'); $win->AddTitle("作者姓名用英文逗号分开"); $win->AddMsgItem(""); diff --git a/src/admin/catalog_add.php b/src/admin/catalog_add.php index 6ec35882..454f4034 100644 --- a/src/admin/catalog_add.php +++ b/src/admin/catalog_add.php @@ -166,7 +166,7 @@ if ($dopost == 'quick') { } //创建目录 if ($ispart != 2) { - $true_typedir = str_replace("{cmspath}", $cfg_cmspath, $typedir); + $true_typedir = str_replace("{cmspath}", $typedir); $true_typedir = preg_replace("#\/{1,}#", "/", $true_typedir); if (!CreateDir($true_typedir)) { ShowMsg("创建目录{$true_typedir}失败,请检查您的路径是否存在问题", "-1"); diff --git a/src/admin/catalog_del.php b/src/admin/catalog_del.php index 51886347..9a6ed0b5 100644 --- a/src/admin/catalog_del.php +++ b/src/admin/catalog_del.php @@ -29,7 +29,7 @@ $row = $dsql->GetOne(); $wintitle = "删除栏目"; $wecome_info = "栏目管理 - 删除栏目"; $win = new OxWindow(); -$win->Init('catalog_del.php', '../static/web/js/admin.blank.js', 'POST'); +$win->Init('catalog_del.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('id', $id); $win->AddHidden('dopost', 'ok'); $win->AddTitle("您要确定要删除{$row['typename']}栏目吗"); diff --git a/src/admin/catalog_do.php b/src/admin/catalog_do.php index 431d89a5..f1a1ec82 100644 --- a/src/admin/catalog_do.php +++ b/src/admin/catalog_do.php @@ -182,7 +182,7 @@ else if ($dopost == 'unitCatalog') { $wintitle = "合并指定栏目"; $wecome_info = "栏目管理 - 合并栏目"; $win = new OxWindow(); - $win->Init('catalog_do.php', '../static/web/js/admin.blank.js', 'POST'); + $win->Init('catalog_do.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('dopost', 'unitCatalog'); $win->AddHidden('typeid', $typeid); $win->AddHidden('channelid', $channelid); @@ -231,7 +231,7 @@ else if ($dopost == 'moveCatalog') { $wintitle = "移动指定栏目"; $wecome_info = "栏目管理 - 移动栏目"; $win = new OxWindow(); - $win->Init('catalog_do.php', '../static/web/js/admin.blank.js', 'POST'); + $win->Init('catalog_do.php', '/static/web/js/admin.blank.js', 'POST'); $win->AddHidden('dopost', 'moveCatalog'); $win->AddHidden('typeid', $typeid); $win->AddHidden('channelid', $channelid); diff --git a/src/admin/dialog/config.php b/src/admin/dialog/config.php index eb362eae..be7de3eb 100644 --- a/src/admin/dialog/config.php +++ b/src/admin/dialog/config.php @@ -25,7 +25,7 @@ if ($cuserLogin->getUserID() <= 0) { exit(); } $adminDirHand = HtmlReplace($adminDirHand, 1); - $gurl = "../../{$adminDirHand}/login.php?gotopage=".urlencode($dedeNowurl); + $gurl = "/../{$adminDirHand}/login.php?gotopage=".urlencode($dedeNowurl); echo ""; exit(); } diff --git a/src/admin/dialog/select_images.php b/src/admin/dialog/select_images.php index fbd897f5..0f764a0e 100644 --- a/src/admin/dialog/select_images.php +++ b/src/admin/dialog/select_images.php @@ -56,10 +56,10 @@ if (!empty($iseditor)) { 选择图片 - - - - + + + +
@@ -117,7 +117,7 @@ if (!empty($iseditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = " - 上级目录 + 上级目录 当前目录:$activepath "; echo $line; @@ -125,7 +125,7 @@ if (!empty($iseditor)) { if (preg_match("#^_(.*)$#i", $file)) continue; if (preg_match("#^\.(.*)$#i", $file)) continue; $line = " - $file + $file "; echo "$line"; } else if (preg_match("#\.(".$cfg_imgtype.")#i", $file)) { diff --git a/src/admin/dialog/select_media.php b/src/admin/dialog/select_media.php index 8956a071..c0641895 100644 --- a/src/admin/dialog/select_media.php +++ b/src/admin/dialog/select_media.php @@ -46,9 +46,9 @@ if (!empty($noeditor)) { 选择多媒体 - - - + + +
@@ -97,7 +97,7 @@ if (!empty($noeditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = " - 上级目录 + 上级目录 当前目录:$activepath "; echo $line; @@ -105,7 +105,7 @@ if (!empty($noeditor)) { if (preg_match("#^_(.*)$#i", $file)) continue; if (preg_match("#^\.(.*)$#i", $file)) continue; $line = " - $file + $file "; echo "$line"; } else if (preg_match("#\.(swf|fly|fla|flv)#i", $file)) { @@ -116,7 +116,7 @@ if (!empty($noeditor)) { else $lstyle = ""; $line = " - + $file $filesize KB @@ -131,7 +131,7 @@ if (!empty($noeditor)) { else $lstyle = ""; $line = " - + $file $filesize KB @@ -146,7 +146,7 @@ if (!empty($noeditor)) { else $lstyle = ""; $line = " - + $file $filesize KB @@ -161,7 +161,7 @@ if (!empty($noeditor)) { else $lstyle = ""; $line = " - + $file $filesize KB diff --git a/src/admin/dialog/select_mimages.php b/src/admin/dialog/select_mimages.php index b3c36a9d..b6566d43 100644 --- a/src/admin/dialog/select_mimages.php +++ b/src/admin/dialog/select_mimages.php @@ -12,9 +12,9 @@ include(DEDEDATA.'/mark/inc_photowatermark_config.php'); 插入多图 - - - + + +
diff --git a/src/admin/dialog/select_soft.php b/src/admin/dialog/select_soft.php index 27bd612a..013f8bf4 100644 --- a/src/admin/dialog/select_soft.php +++ b/src/admin/dialog/select_soft.php @@ -46,9 +46,9 @@ if (!empty($noeditor)) { 选择软件 - - - + + +
@@ -99,7 +99,7 @@ if (!empty($noeditor)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); $line = " - 上级目录 + 上级目录 当前目录:$activepath \r\n"; echo $line; @@ -107,7 +107,7 @@ if (!empty($noeditor)) { if (preg_match("#^_(.*)$#i", $file)) continue; if (preg_match("#^\.(.*)$#i", $file)) continue; $line = " - $file + $file "; echo "$line"; } else if (preg_match("#\.(zip|rar|tgr.gz)#i", $file)) { @@ -118,7 +118,7 @@ if (!empty($noeditor)) { $reurl = $reurl; $line = " - + $file $filesize KB @@ -133,7 +133,7 @@ if (!empty($noeditor)) { $reurl = $reurl; $line = " - + $file $filesize KB @@ -155,7 +155,7 @@ if (!empty($noeditor)) { window.opener.CKEDITOR.tools.callFunction(funcNum, reimg); } if (typeof window.opener.CKEDITOR.instances[""] !== "undefined") { - let addonHTML = `附件:${reimg}`; + let addonHTML = `附件:${reimg}`; window.opener.CKEDITOR.instances[""].insertHtml(addonHTML); } if (window.opener.document. != null) { diff --git a/src/admin/dialog/select_templets.php b/src/admin/dialog/select_templets.php index 753e20c8..b8b160c9 100644 --- a/src/admin/dialog/select_templets.php +++ b/src/admin/dialog/select_templets.php @@ -37,9 +37,9 @@ if (empty($comeback)) { 选择模板 - - - + + +
@@ -87,7 +87,7 @@ if (empty($comeback)) { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#", "", $activepath); $line = " - 上级目录 + 上级目录 当前目录:$activepath \r\n"; echo $line; @@ -95,7 +95,7 @@ if (empty($comeback)) { if (preg_match("#^_(.*)$#i", $file)) continue; if (preg_match("#^\.(.*)$#i", $file)) continue; $line = " - $file + $file "; echo "$line"; } else if (preg_match("#\.(htm|html)#i", $file)) { @@ -106,7 +106,7 @@ if (empty($comeback)) { $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); $line = " - + $file $filesize KB @@ -121,7 +121,7 @@ if (empty($comeback)) { $reurl = preg_replace("#".$templetdir."/#", "", $reurl); $line = " - + $file $filesize KB @@ -136,7 +136,7 @@ if (empty($comeback)) { $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); $line = " - + $file $filesize KB @@ -181,7 +181,7 @@ if (empty($comeback)) { $reurl = preg_replace("#".$templetdir."\/#", "", $reurl); $line = " - + $file $filesize KB diff --git a/src/admin/diy_edit.php b/src/admin/diy_edit.php index 99b59f76..9284fc0e 100644 --- a/src/admin/diy_edit.php +++ b/src/admin/diy_edit.php @@ -31,7 +31,7 @@ if ($dopost == "save") { $wintitle = "删除所有自定义表"; $wecome_info = "自定义表单管理 - 删除自定义表单"; $win = new OxWindow(); - $win->Init("diy_edit.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("diy_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("job", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("diyid", $diyid); diff --git a/src/admin/erraddsave.php b/src/admin/erraddsave.php index 1380a93f..ab188bee 100644 --- a/src/admin/erraddsave.php +++ b/src/admin/erraddsave.php @@ -74,7 +74,7 @@ if ($dopost == "delete") { $wintitle = "删除文档错误"; $wecome_info = "错误管理 - 删除错误"; $win = new OxWindow(); - $win->Init("erraddsave.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("erraddsave.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("id", $id); diff --git a/src/admin/file_manage_control.php b/src/admin/file_manage_control.php index 7592559d..a146d329 100644 --- a/src/admin/file_manage_control.php +++ b/src/admin/file_manage_control.php @@ -154,7 +154,7 @@ else if ($fmdo == "space") { $totalkb = $space->setkb($total); $totalmb = $space->setmb($total); $win = new OxWindow(); - $win->Init("", "../static/web/js/admin.blank.js", "POST"); + $win->Init("", "/static/web/js/admin.blank.js", "POST"); $win->AddMsgItem(" $totalkbKB
diff --git a/src/admin/file_manage_main.php b/src/admin/file_manage_main.php index b22304ce..22c17153 100644 --- a/src/admin/file_manage_main.php +++ b/src/admin/file_manage_main.php @@ -10,7 +10,7 @@ */ require(dirname(__FILE__)."/config.php"); CheckPurview('plus_文件管理器'); -if (!isset($activepath)) $activepath = DEDEBIZ_SAFE_MODE? $cfg_medias_dir : $cfg_cmspath; +if (!isset($activepath)) $activepath = DEDEBIZ_SAFE_MODE? $cfg_medias_dir : '/'; $inpath = ""; $activepath = str_replace("..", "", $activepath); $activepath = preg_replace("#^\/{1,}#", "/", $activepath); diff --git a/src/admin/file_manage_view.php b/src/admin/file_manage_view.php index 34010335..2dd1acaa 100644 --- a/src/admin/file_manage_view.php +++ b/src/admin/file_manage_view.php @@ -23,7 +23,7 @@ if ($fmdo == "rename") { $wintitle = "修改指定文件名称"; $wecome_info = "文件管理 - 修改文件名称"; $win = new OxWindow(); - $win->Init("file_manage_control.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("file_manage_control.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); @@ -40,7 +40,7 @@ else if ($fmdo == "newdir") { $wintitle = "新建文件目录"; $wecome_info = "文件管理 - 新建目录"; $win = new OxWindow(); - $win->Init("file_manage_control.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("file_manage_control.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("token", make_hash()); @@ -54,7 +54,7 @@ else if ($fmdo == "move") { $wintitle = "移动指定文件"; $wecome_info = "文件管理 - 移动文件"; $win = new OxWindow(); - $win->Init("file_manage_control.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("file_manage_control.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); @@ -70,7 +70,7 @@ else if ($fmdo == "del") { $wintitle = "删除指定文件"; $wecome_info = "文件管理 - 删除文件"; $win = new OxWindow(); - $win->Init("file_manage_control.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("file_manage_control.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", $fmdo); $win->AddHidden("activepath", $activepath); $win->AddHidden("filename", $filename); diff --git a/src/admin/friendlink_edit.php b/src/admin/friendlink_edit.php index 818c12c8..e1374400 100644 --- a/src/admin/friendlink_edit.php +++ b/src/admin/friendlink_edit.php @@ -57,10 +57,10 @@ if ($dopost == "delete") { exit; } $logoimg_name = trim(preg_replace("#[ \r\n\t\*\%\\\/\?><\|\":]{1,}#", '', $logoimg_name)); - $fullfilename = DEDEROOT.'static/flink/'.$logoimg_name; + $fullfilename = DEDEROOT.'/static/flink/'.$logoimg_name; move_uploaded_file($logoimg, $fullfilename) or die("上传文件到".$fullfilename."失败"); @unlink($logoimg); - $logo = $cfg_cmspath.'/static/flink/'.$logoimg_name; + $logo = '/static/flink/'.$logoimg_name; } $sortrank = isset($sortrank)? intval($sortrank) : 1; $url = isset($url)? HtmlReplace($url, -1) : ''; diff --git a/src/admin/inc/inc_archives_all.php b/src/admin/inc/inc_archives_all.php index b9a04773..ce9dcebe 100644 --- a/src/admin/inc/inc_archives_all.php +++ b/src/admin/inc/inc_archives_all.php @@ -154,7 +154,7 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '') fclose($fp); return $addvar; } else { - $ipath = $GLOBALS['cfg_cmspath']."/data/textdata"; + $ipath = '/data/textdata'; $tpath = ceil($aid / 5000); if (!is_dir($GLOBALS['cfg_basedir'].$ipath)) { MkdirAll($GLOBALS['cfg_basedir'].$ipath, $cfg_dir_purview); diff --git a/src/admin/inc/inc_list_functions.php b/src/admin/inc/inc_list_functions.php index b606edc9..160000ff 100644 --- a/src/admin/inc/inc_list_functions.php +++ b/src/admin/inc/inc_list_functions.php @@ -70,7 +70,7 @@ function CheckPic($picname) if ($picname != "") { return $picname; } else { - return '../static/web/img/thumbnail.jpg'; + return '/static/web/img/thumbnail.jpg'; } } //判断文档是否生成网页 diff --git a/src/admin/login.php b/src/admin/login.php index c95adcd2..7ea2acc1 100644 --- a/src/admin/login.php +++ b/src/admin/login.php @@ -20,7 +20,7 @@ if (is_dir(dirname(__FILE__).'/../install')) { fwrite($fp, 'ok'); fclose($fp); } - $fileindex = "../install/index.html"; + $fileindex = "/install/index.html"; if (!file_exists($fileindex)) { $fp = @fopen($fileindex, 'w'); fwrite($fp, 'dir'); diff --git a/src/admin/makehtml_homepage.php b/src/admin/makehtml_homepage.php index 495150c6..498d3aa4 100644 --- a/src/admin/makehtml_homepage.php +++ b/src/admin/makehtml_homepage.php @@ -28,28 +28,28 @@ if ($dopost == "view") { if ($rs["admin_pwd_exists"] == "false") { //设定dedebiz admin密码 if ($dedebiz_admin == "" || $dedebiz_admin !== $re_dedebiz_admin) { - echo ""; + echo ""; echo "
DedeBIZ操作密码为空或两次指定的密码不符

"; $client->Close(); exit; } $data = $client->AdminPWDCreate($dedebiz_admin); if ($data->data != "ok") { - echo ""; + echo ""; echo "
DedeBIZ设定操作密码失败:${$data}

"; $client->Close(); exit; } } else { if ($dedebiz_admin == "") { - echo ""; + echo ""; echo "
DedeBIZ操作密码为空

"; $client->Close(); exit; } $data = $client->AdminSetIndexLockState($dedebiz_admin, $lockindex); if ($data->data != "ok") { - echo ""; + echo ""; echo "
DedeBIZ操作密码失败,填写正确的操作密码

"; $client->Close(); exit; @@ -85,7 +85,7 @@ if ($dopost == "view") { } else { //动态浏览 if (file_exists($homeFile)) @unlink($homeFile); - ShowMsg("更新动态首页,点击浏览", "javascript:;"); + ShowMsg("更新动态首页,点击浏览", "javascript:;"); } $iquery = "UPDATE `#@__homepageset` SET showmod='$showmod'"; $dsql->ExecuteNoneQuery($iquery); diff --git a/src/admin/makehtml_list_action.php b/src/admin/makehtml_list_action.php index ae14cd4e..9c4b9828 100644 --- a/src/admin/makehtml_list_action.php +++ b/src/admin/makehtml_list_action.php @@ -97,7 +97,7 @@ $nextpage = $pageno + 1; if ($nextpage >= $totalpage && $finishType) { if ($gotype == '') { if (empty($reurl)) { - $reurl = '../apps/list.php?tid='.$tid; + $reurl = '/apps/list.php?tid='.$tid; } ShowMsg("完成所有栏目更新,点击浏览", "javascript:;"); exit(); diff --git a/src/admin/makehtml_taglist_action.php b/src/admin/makehtml_taglist_action.php index bd7f3cdb..45b86f7f 100644 --- a/src/admin/makehtml_taglist_action.php +++ b/src/admin/makehtml_taglist_action.php @@ -20,7 +20,7 @@ if (empty($maxpagesize)) $maxpagesize = 30; $startid = isset($startid) ? intval($startid) : 0; $endid = isset($endid) ? intval($endid) : 0; $tagid = isset($tagid) ? intval($tagid) : 0; -$tagsdir = str_replace("{cmspath}", $cfg_cmspath, $cfg_tags_dir); +$tagsdir = str_replace("{cmspath}", $cfg_tags_dir); //生成 if ($tagid > 0) { $upall = 0; //更新单个模式 @@ -50,7 +50,7 @@ if ($ctagid == 0 && $allfinish) { } $tag = $dsql->GetOne("SELECT * FROM `#@__tagindex` WHERE id='$ctagid' LIMIT 0,1;"); //创建TAGS目录 -$tagsDir = str_replace("{cmspath}",$cfg_cmspath,$cfg_tags_dir); +$tagsDir = str_replace("{cmspath}", $cfg_tags_dir); MkdirAll($cfg_basedir.$tagsDir, $cfg_dir_purview); if (is_array($tag) && count($tag) > 0) { $dlist = new TagList($tag['id'], 'taglist.htm'); diff --git a/src/admin/member_do.php b/src/admin/member_do.php index ec65e6d9..584960b8 100644 --- a/src/admin/member_do.php +++ b/src/admin/member_do.php @@ -60,7 +60,7 @@ if ($dopost == "delmember") { $wintitle = "删除指定会员"; $wecome_info = "会员管理 - 删除会员"; $win = new OxWindow(); - $win->Init("member_do.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("member_do.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("id", $id); @@ -107,7 +107,7 @@ if ($dopost == "delmember") { $wintitle = "删除指定会员"; $wecome_info = "会员管理 - 删除会员"; $win = new OxWindow(); - $win->Init("member_do.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("member_do.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("fmdo", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("id", $id); @@ -177,7 +177,7 @@ else if ($dopost == "memberlogin") { CheckPurview('member_Edit'); PutCookie('DedeUserID', $id, 1800); PutCookie('DedeLoginTime', time(), 1800); - if (empty($jumpurl)) header("location:../user/index.php"); + if (empty($jumpurl)) header("location:$cfg_memberurl/index.php"); else header("location:$jumpurl"); } else if ($dopost == "deoperations") { $nid = preg_replace('#[^0-9,]#', '', preg_replace('#`#', ',', $nid)); diff --git a/src/admin/module_main.php b/src/admin/module_main.php index 091ae917..77cd0814 100644 --- a/src/admin/module_main.php +++ b/src/admin/module_main.php @@ -138,7 +138,7 @@ if ($action == '') { } $prvdir .= ""; $win = new OxWindow(); - $win->Init("module_main.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("module_main.php", "/static/web/js/admin.blank.js", "post"); $wecome_info = "模块管理 - 安装{$infos['name']}"; $devURL = DEDECDNURL."/developers/{$infos['dev_id']}.json"; $dhd = new DedeHttpDown(); @@ -181,7 +181,7 @@ if ($action == '') { 浏览 - 目录权限说明:
../为根目录
./表示当前目录 + 目录权限说明:
/为根目录
./表示当前目录 $prvdir @@ -240,8 +240,7 @@ if ($action == '') { $setupsql = preg_replace("#TYPE=MyISAM#i", $sql41tmp, $setupsql); } //_ROOTURL_ - if ($cfg_cmspath == '/') $cfg_cmspath = ''; - $rooturl = $cfg_basehost.$cfg_cmspath; + $rooturl = $cfg_basehost; $setupsql = preg_replace("#_ROOTURL_#i", $rooturl, $setupsql); $setupsql = preg_replace("#[\r\n]{1,}#", "\n", $setupsql); $sqls = preg_split('/;[ \t]{0,}\n/', $setupsql); @@ -264,7 +263,7 @@ if ($action == '') { $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
该模块的语言编码与您系统的编码不一致,请向贡献者确认它的兼容性'); $dev_id = empty($infos['dev_id'])? "未认证" : "{$infos['dev_id']} 已认证"; $win = new OxWindow(); - $win->Init("module_main.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("module_main.php", "/static/web/js/admin.blank.js", "post"); $wecome_info = "模块管理 - 删除{$infos['name']}"; $win->AddHidden("hash", $hash); $win->AddHidden("action", "delok"); @@ -321,7 +320,7 @@ if ($action == '') { } $dev_id = empty($infos['dev_id'])? "未认证" : "{$infos['dev_id']} 已认证"; $win = new OxWindow(); - $win->Init("module_main.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("module_main.php", "/static/web/js/admin.blank.js", "post"); $wecome_info = "模块管理 - 卸载{$infos['name']}"; $win->AddHidden("hash", $hash); $win->AddHidden("action", 'uninstallok'); @@ -405,7 +404,7 @@ if ($action == '') { $msg = preg_replace("/<\/body>(.*)/isU", "", $msg); $dm->Clear(); $win = new OxWindow(); - $win->Init("module_main.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("module_main.php", "/static/web/js/admin.blank.js", "post"); $wecome_info = "模块管理 - 使用说明"; $win->AddMsgItem("$msg"); $winform = $win->GetWindow("hand"); @@ -441,7 +440,7 @@ if ($action == '') { } $dev_id = empty($infos['dev_id'])? "安装{$s}" : "{$infos['dev_id']} 安装{$s}"; $win = new OxWindow(); - $win->Init("", "../static/web/js/admin.blank.js", ""); + $win->Init("", "/static/web/js/admin.blank.js", ""); $wecome_info = "模块管理 - {$infos['name']}"; $msg = " 模块名称: diff --git a/src/admin/module_upload.php b/src/admin/module_upload.php index 78898e92..f73ab99a 100644 --- a/src/admin/module_upload.php +++ b/src/admin/module_upload.php @@ -52,7 +52,7 @@ if ($action == 'upload') { } } else { $win = new OxWindow(); - $win->Init("module_upload.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data"); + $win->Init("module_upload.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data"); $wecome_info = "模块管理 - 上传模块插件"; $win->AddTitle('请选择上传的模块插件文件'); $win->AddHidden("action", 'upload'); diff --git a/src/admin/mychannel_edit.php b/src/admin/mychannel_edit.php index e7fe0f9b..2ec90906 100644 --- a/src/admin/mychannel_edit.php +++ b/src/admin/mychannel_edit.php @@ -50,7 +50,7 @@ if ($dopost == "show") { $wintitle = "复制指定文档模型"; $wecome_info = "文档模型管理 - 复制文档模型"; $win = new OxWindow(); - $win->Init("mychannel_edit.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("mychannel_edit.php", "/static/web/js/admin.blank.js", "post"); $win->AddTitle("复制文档模型:".$row['typename'].""); $win->AddHidden("cid", $id); $win->AddHidden("id", $id); @@ -100,14 +100,14 @@ if ($dopost == "show") { $win = new OxWindow(); $win->Init(); $win->AddTitle("导出{$row['typename']}文档模型规则"); - $winform = $win->GetWindow("hand", ""); + $winform = $win->GetWindow("hand", ""); $win->Display(); exit(); } else if ($dopost == "exportin") { $wintitle = "导入指定文档模型规则"; $wecome_info = "文档模型管理 - 导入文档模型规则"; $win = new OxWindow(); - $win->Init("mychannel_edit.php", "../static/web/js/admin.blank.js", "post"); + $win->Init("mychannel_edit.php", "/static/web/js/admin.blank.js", "post"); $win->AddHidden("dopost", "exportinok"); $win->AddMsgItem(""); $winform = $win->GetWindow("ok"); @@ -289,7 +289,7 @@ if ($dopost == "show") { $wintitle = "查看模型应用模板"; $wecome_info = "文档模型管理 - 模型应用模板"; $win = new OxWindow(); - $win->Init("", "../static/web/js/admin.blank.js", ""); + $win->Init("", "/static/web/js/admin.blank.js", ""); $win->AddTitle("栏目".$row['typename']."默认模板文件说明"); $defaulttemplate = $cfg_templets_dir.'/'.$cfg_df_style; $msg = " @@ -328,7 +328,7 @@ if ($dopost == "show") { $wintitle = "删除指定文档模型"; $wecome_info = "文档模型管理 - 删除文档模型"; $win = new OxWindow(); - $win->Init("mychannel_edit.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("mychannel_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("job", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("id", $id); @@ -441,7 +441,7 @@ if ($dopost == "show") { $addonfields = ''; } $template = trim($template); - $forms = "
"; + $forms = ""; $forms .= ""; $forms .= ""; $forms .= "
"; @@ -558,14 +558,14 @@ if ($dopost == "show") { $query = "REPLACE INTO `#@__advancedsearch` (mid, maintable, mainfields, addontable, addonfields, forms, template) VALUES ('$mid','$maintable','$mainstring','$addontable','$addonstring','$formssql', '$template')"; $dsql->ExecuteNoneQuery($query); $formshtml = dede_htmlspecialchars($forms); - echo ' - - - - - - - '; + echo ' + + + + + + + '; echo ""; echo "

下面生成的网页表单,根据自己需求修改样式后粘贴到对应的模板中

"; echo "
"; diff --git a/src/admin/plus_edit.php b/src/admin/plus_edit.php index acd25037..648a9978 100644 --- a/src/admin/plus_edit.php +++ b/src/admin/plus_edit.php @@ -27,7 +27,7 @@ if ($dopost == "show") { $wintitle = "删除指定插件"; $wecome_info = "插件管理 - 删除插件"; $win = new OxWindow(); - $win->Init("plus_edit.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("plus_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("job", "yes"); $win->AddHidden("dopost", $dopost); $win->AddHidden("aid", $aid); diff --git a/src/admin/sys_admin_user_edit.php b/src/admin/sys_admin_user_edit.php index e0bffc61..82053b46 100644 --- a/src/admin/sys_admin_user_edit.php +++ b/src/admin/sys_admin_user_edit.php @@ -80,7 +80,7 @@ if ($dopost == 'saveedit') { $wintitle = "删除指定管理员"; $wecome_info = "系统帐号管理 - 删除管理员"; $win = new OxWindow(); - $win->Init("sys_admin_user_edit.php", "../static/web/js/admin.blank.js", "POST"); + $win->Init("sys_admin_user_edit.php", "/static/web/js/admin.blank.js", "POST"); $win->AddHidden("dopost", $dopost); $win->AddHidden("userok", "yes"); $win->AddHidden("randcode", $randcode); diff --git a/src/admin/sys_data_done.php b/src/admin/sys_data_done.php index 439c10b3..84b2ad86 100644 --- a/src/admin/sys_data_done.php +++ b/src/admin/sys_data_done.php @@ -254,7 +254,7 @@ else if ($dopost == 'redat') { function PutInfo($msg1, $msg2) { global $cfg_soft_lang; - $msginfo = "系统提示

系统提示

{$msg1}{$msg2}
"; + $msginfo = "系统提示

系统提示

{$msg1}{$msg2}
"; echo $msginfo.""; } function RpLine($str) diff --git a/src/admin/sys_repair.php b/src/admin/sys_repair.php index b1434fd5..be53e88f 100644 --- a/src/admin/sys_repair.php +++ b/src/admin/sys_repair.php @@ -13,7 +13,7 @@ CheckPurview('sys_ArcBatch'); require_once(DEDEINC.'/libraries/oxwindow.class.php'); if (empty($dopost)) { $win = new OxWindow(); - $win->Init("sys_repair.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); + $win->Init("sys_repair.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); $wecome_info = "系统修复工具"; $win->AddTitle('系统修复工具用于检测和修复系统数据错误'); $msg = " @@ -36,7 +36,7 @@ if (empty($dopost)) { //数据结构常规检测 else if ($dopost == 1) { $win = new OxWindow(); - $win->Init("sys_repair.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); + $win->Init("sys_repair.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); $wecome_info = "系统修复工具 - 检测数据结构"; $win->AddTitle('系统修复工具用于检测和修复系统数据错误'); $msg = " @@ -105,7 +105,7 @@ else if ($dopost == 2) { } UpDateCatCache(); $win = new OxWindow(); - $win->Init("sys_repair.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); + $win->Init("sys_repair.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); $wecome_info = "系统修复工具 - 检测微表数据"; $win->AddTitle('系统修复工具用于检测和修复系统数据错误'); $msg = " @@ -151,7 +151,7 @@ else if ($dopost == 3) { } } $win = new OxWindow(); - $win->Init("sys_repair.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); + $win->Init("sys_repair.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data'"); $wecome_info = "系统修复工具 - 高级检测"; $win->AddTitle('系统修复工具用于检测和修复系统数据错误'); $msg = " diff --git a/src/admin/sys_sql_query.php b/src/admin/sys_sql_query.php index e299f0d6..17c9621c 100644 --- a/src/admin/sys_sql_query.php +++ b/src/admin/sys_sql_query.php @@ -90,7 +90,7 @@ else if ($dopost == "query") { echo "删除数据表或数据库的语句不允许在这里执行"; exit(); } - echo ''; + echo ''; //运行查询语句 if (preg_match("#^select #i", $sqlquery)) { $dsql->SetQuery($sqlquery); diff --git a/src/admin/templets/action_search.htm b/src/admin/templets/action_search.htm index bfe9c06c..b7c51de5 100644 --- a/src/admin/templets/action_search.htm +++ b/src/admin/templets/action_search.htm @@ -4,9 +4,9 @@ 搜索结果 - - - + + + diff --git a/src/admin/templets/ad_add.htm b/src/admin/templets/ad_add.htm index 032048dc..e03ee612 100644 --- a/src/admin/templets/ad_add.htm +++ b/src/admin/templets/ad_add.htm @@ -4,13 +4,13 @@ 添加广告 - - - - - - - + + + + + + + diff --git a/src/admin/templets/ad_edit.htm b/src/admin/templets/ad_edit.htm index 16a408f4..3cc8dc5b 100644 --- a/src/admin/templets/ad_edit.htm +++ b/src/admin/templets/ad_edit.htm @@ -4,13 +4,13 @@ 修改广告 - - - - - - - + + + + + + + diff --git a/src/admin/templets/ad_main.htm b/src/admin/templets/ad_main.htm index b0f83105..c0da2e4e 100644 --- a/src/admin/templets/ad_main.htm +++ b/src/admin/templets/ad_main.htm @@ -5,9 +5,9 @@ 广告管理 - - - + + + diff --git a/src/admin/templets/adtype_main.htm b/src/admin/templets/adtype_main.htm index 1f9ff800..39f90539 100644 --- a/src/admin/templets/adtype_main.htm +++ b/src/admin/templets/adtype_main.htm @@ -4,9 +4,9 @@ 广告分类管理 - - - + + + diff --git a/src/admin/templets/album_add.htm b/src/admin/templets/album_add.htm index eaafddd9..a827467f 100644 --- a/src/admin/templets/album_add.htm +++ b/src/admin/templets/album_add.htm @@ -4,21 +4,21 @@ 发布图片模型 - - - - - - + + + + + + - - - - - - - - + + + + + + + + @@ -100,7 +100,7 @@ - +
@@ -195,9 +195,9 @@ 表现方式: - - - + + + diff --git a/src/admin/templets/album_edit.htm b/src/admin/templets/album_edit.htm index 2e5517f1..a6d5ca72 100644 --- a/src/admin/templets/album_edit.htm +++ b/src/admin/templets/album_edit.htm @@ -4,21 +4,21 @@ 修改图片模型 - - - - - - + + + + + + - - - - - - - - + + + + + + + + @@ -101,7 +101,7 @@ - + @@ -188,9 +188,9 @@ 表现方式: - - - + + + diff --git a/src/admin/templets/archives_add.htm b/src/admin/templets/archives_add.htm index 546bcd40..96dda2c0 100644 --- a/src/admin/templets/archives_add.htm +++ b/src/admin/templets/archives_add.htm @@ -4,19 +4,19 @@ 发布自定义文档模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -95,7 +95,7 @@ - + diff --git a/src/admin/templets/archives_edit.htm b/src/admin/templets/archives_edit.htm index 735a1e3e..7d6e3c46 100644 --- a/src/admin/templets/archives_edit.htm +++ b/src/admin/templets/archives_edit.htm @@ -4,19 +4,19 @@ 修改自定义文档模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -97,7 +97,7 @@ - + diff --git a/src/admin/templets/archives_sg_add.htm b/src/admin/templets/archives_sg_add.htm index 6f8f5d42..bee03666 100644 --- a/src/admin/templets/archives_sg_add.htm +++ b/src/admin/templets/archives_sg_add.htm @@ -4,19 +4,19 @@ 发布分类模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -68,7 +68,7 @@ - + diff --git a/src/admin/templets/archives_sg_edit.htm b/src/admin/templets/archives_sg_edit.htm index e31beb5b..c809e40c 100644 --- a/src/admin/templets/archives_sg_edit.htm +++ b/src/admin/templets/archives_sg_edit.htm @@ -4,19 +4,19 @@ 修改分类模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -72,7 +72,7 @@ - + diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 6fa73307..b7638def 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -4,19 +4,19 @@ 发布文档模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -94,7 +94,7 @@ - + diff --git a/src/admin/templets/article_description_main.htm b/src/admin/templets/article_description_main.htm index 70980424..a29b7da1 100644 --- a/src/admin/templets/article_description_main.htm +++ b/src/admin/templets/article_description_main.htm @@ -4,9 +4,9 @@ 自动摘要分页 - - - + + + diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index 8871c685..d372a033 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -4,19 +4,19 @@ 修改文档模型 - - - - - + + + + + - - - - - - - + + + + + + + @@ -101,7 +101,7 @@ - + diff --git a/src/admin/templets/article_keywords_main.htm b/src/admin/templets/article_keywords_main.htm index fd8f2c16..b8815da7 100644 --- a/src/admin/templets/article_keywords_main.htm +++ b/src/admin/templets/article_keywords_main.htm @@ -4,9 +4,9 @@ 文档关键词维护 - - - + + + diff --git a/src/admin/templets/article_keywords_select.htm b/src/admin/templets/article_keywords_select.htm index 58c3ce12..5e7caf38 100644 --- a/src/admin/templets/article_keywords_select.htm +++ b/src/admin/templets/article_keywords_select.htm @@ -4,9 +4,9 @@ 关键词管理 - - - + + + diff --git a/src/admin/templets/article_result_same.htm b/src/admin/templets/article_result_same.htm index 335577ee..c3c0d0ec 100644 --- a/src/admin/templets/article_result_same.htm +++ b/src/admin/templets/article_result_same.htm @@ -4,9 +4,9 @@ 文档重复检测 - - - + + + diff --git a/src/admin/templets/article_test_same.htm b/src/admin/templets/article_test_same.htm index 3f9a1c81..85fdb975 100644 --- a/src/admin/templets/article_test_same.htm +++ b/src/admin/templets/article_test_same.htm @@ -4,9 +4,9 @@ 文档重复检测 - - - + + + diff --git a/src/admin/templets/cards_make.htm b/src/admin/templets/cards_make.htm index 464c495f..a2645c7a 100644 --- a/src/admin/templets/cards_make.htm +++ b/src/admin/templets/cards_make.htm @@ -4,9 +4,9 @@ 生成积分 - - - + + + diff --git a/src/admin/templets/cards_manmage.htm b/src/admin/templets/cards_manmage.htm index f84a17d0..bdd099b3 100644 --- a/src/admin/templets/cards_manmage.htm +++ b/src/admin/templets/cards_manmage.htm @@ -4,9 +4,9 @@ 积分产品管理 - - - + + + diff --git a/src/admin/templets/cards_type.htm b/src/admin/templets/cards_type.htm index 6b650ed9..f37c2a81 100644 --- a/src/admin/templets/cards_type.htm +++ b/src/admin/templets/cards_type.htm @@ -4,9 +4,9 @@ 积分产品分类 - - - + + + diff --git a/src/admin/templets/catalog_add.htm b/src/admin/templets/catalog_add.htm index 57270718..f6e366e5 100644 --- a/src/admin/templets/catalog_add.htm +++ b/src/admin/templets/catalog_add.htm @@ -4,12 +4,12 @@ 添加栏目 - - - - - - + + + + + + diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 9e7504dc..1d5f92ab 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -4,12 +4,12 @@ 批量添加栏目 - - - - - - + + + + + + diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index 26d17291..91a05a04 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -4,12 +4,12 @@ 修改栏目 - - - - - - + + + + + + diff --git a/src/admin/templets/catalog_main.htm b/src/admin/templets/catalog_main.htm index d67c1aee..ae937a78 100644 --- a/src/admin/templets/catalog_main.htm +++ b/src/admin/templets/catalog_main.htm @@ -4,12 +4,12 @@ 网站栏目管理 - - - - - - + + + + + +
diff --git a/src/admin/templets/content_att.htm b/src/admin/templets/content_att.htm index 8607bfa6..3b95ced2 100644 --- a/src/admin/templets/content_att.htm +++ b/src/admin/templets/content_att.htm @@ -4,9 +4,9 @@ 文档自定义属性 - - - + + + diff --git a/src/admin/templets/content_batch_up.htm b/src/admin/templets/content_batch_up.htm index 7876f257..e41455bc 100644 --- a/src/admin/templets/content_batch_up.htm +++ b/src/admin/templets/content_batch_up.htm @@ -4,13 +4,13 @@ 文档批量维护 - - - - - - - + + + + + + + diff --git a/src/admin/templets/content_i_list.htm b/src/admin/templets/content_i_list.htm index b575405a..cd5792be 100644 --- a/src/admin/templets/content_i_list.htm +++ b/src/admin/templets/content_i_list.htm @@ -4,17 +4,17 @@ 图片文档列表 - - - - - - - - - - - + + + + + + + + + + +
diff --git a/src/admin/templets/content_list.htm b/src/admin/templets/content_list.htm index 8189d1bc..7864e91a 100644 --- a/src/admin/templets/content_list.htm +++ b/src/admin/templets/content_list.htm @@ -4,17 +4,17 @@ 所有文档列表 - - - - - - - - - - - + + + + + + + + + + +
diff --git a/src/admin/templets/content_s_list.htm b/src/admin/templets/content_s_list.htm index 9f566415..ede47237 100644 --- a/src/admin/templets/content_s_list.htm +++ b/src/admin/templets/content_s_list.htm @@ -4,14 +4,14 @@ 专题列表 - - - - - - - - + + + + + + + +
diff --git a/src/admin/templets/content_select_list.htm b/src/admin/templets/content_select_list.htm index 01daf283..b59ec390 100644 --- a/src/admin/templets/content_select_list.htm +++ b/src/admin/templets/content_select_list.htm @@ -4,9 +4,9 @@ 选择文档 - - - + + + diff --git a/src/admin/templets/content_sg_list.htm b/src/admin/templets/content_sg_list.htm index 223944a8..adf2595b 100644 --- a/src/admin/templets/content_sg_list.htm +++ b/src/admin/templets/content_sg_list.htm @@ -4,17 +4,17 @@ 单表文档列表 - - - - - - - - - - - + + + + + + + + + + +
diff --git a/src/admin/templets/diy_add.htm b/src/admin/templets/diy_add.htm index 625743eb..426fddc2 100644 --- a/src/admin/templets/diy_add.htm +++ b/src/admin/templets/diy_add.htm @@ -4,12 +4,12 @@ 添加自定义表单 - - - - - - + + + + + + diff --git a/src/admin/templets/diy_edit.htm b/src/admin/templets/diy_edit.htm index fce74b69..68790bfd 100644 --- a/src/admin/templets/diy_edit.htm +++ b/src/admin/templets/diy_edit.htm @@ -4,12 +4,12 @@ 修改自定义表单 - - - - - - + + + + + + diff --git a/src/admin/templets/diy_edit_content.htm b/src/admin/templets/diy_edit_content.htm index 6221a831..ac9d2bb6 100644 --- a/src/admin/templets/diy_edit_content.htm +++ b/src/admin/templets/diy_edit_content.htm @@ -4,9 +4,9 @@ 修改自定义表单数据 - - - + + + diff --git a/src/admin/templets/diy_field_add.htm b/src/admin/templets/diy_field_add.htm index 8133fef4..b9ba7a39 100644 --- a/src/admin/templets/diy_field_add.htm +++ b/src/admin/templets/diy_field_add.htm @@ -4,12 +4,12 @@ 添加自定义表单字段 - - - - - - + + + + + + diff --git a/src/admin/templets/diy_field_edit.htm b/src/admin/templets/diy_field_edit.htm index a5a86e72..a22a4a82 100644 --- a/src/admin/templets/diy_field_edit.htm +++ b/src/admin/templets/diy_field_edit.htm @@ -4,12 +4,12 @@ 修改自定义表单字段 - - - - - - + + + + + + diff --git a/src/admin/templets/diy_list.htm b/src/admin/templets/diy_list.htm index 576a81d7..0ae2d3ef 100644 --- a/src/admin/templets/diy_list.htm +++ b/src/admin/templets/diy_list.htm @@ -4,9 +4,9 @@ <?php echo $diy->name;?> - - - + + + @@ -41,7 +41,7 @@ - 预览 + 预览 diff --git a/src/admin/templets/diy_main.htm b/src/admin/templets/diy_main.htm index 1314741f..2a7c9f93 100644 --- a/src/admin/templets/diy_main.htm +++ b/src/admin/templets/diy_main.htm @@ -5,9 +5,9 @@ 自定义表单管理 - - - + + +
@@ -28,7 +28,7 @@ diff --git a/src/admin/templets/diy_post.htm b/src/admin/templets/diy_post.htm index 484652de..1b60d6c1 100644 --- a/src/admin/templets/diy_post.htm +++ b/src/admin/templets/diy_post.htm @@ -4,9 +4,9 @@ <?php echo $diy->name;?> - - - + + + diff --git a/src/admin/templets/erradd.htm b/src/admin/templets/erradd.htm index e13b4f67..0cf495f5 100644 --- a/src/admin/templets/erradd.htm +++ b/src/admin/templets/erradd.htm @@ -5,9 +5,9 @@ 文档错误管理 - - - + + + diff --git a/src/admin/templets/feedback_edit.htm b/src/admin/templets/feedback_edit.htm index 0066d5a7..4bbd4b10 100644 --- a/src/admin/templets/feedback_edit.htm +++ b/src/admin/templets/feedback_edit.htm @@ -4,9 +4,9 @@ 修改评论 - - - + + + diff --git a/src/admin/templets/feedback_main.htm b/src/admin/templets/feedback_main.htm index f4d9bc66..5830868e 100644 --- a/src/admin/templets/feedback_main.htm +++ b/src/admin/templets/feedback_main.htm @@ -4,12 +4,12 @@ 评论管理 - - - - - - + + + + + + diff --git a/src/admin/templets/file_edit.htm b/src/admin/templets/file_edit.htm index 233a9f8a..6559622e 100644 --- a/src/admin/templets/file_edit.htm +++ b/src/admin/templets/file_edit.htm @@ -4,20 +4,20 @@ 新建/修改文件 - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/src/admin/templets/file_manage_main.htm b/src/admin/templets/file_manage_main.htm index b901f65f..cdb5b05e 100644 --- a/src/admin/templets/file_manage_main.htm +++ b/src/admin/templets/file_manage_main.htm @@ -4,9 +4,9 @@ 文件管理器 - - - + + +
修改 导出 - 预览 + 预览 删除
@@ -48,7 +48,7 @@ } $tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); $line = "\n - + "; $dirs[] = $line; @@ -56,7 +56,7 @@ if (preg_match("#^_(.*)$#i",$file)) continue; if (preg_match("#^\.(.*)$#i",$file)) continue; $line = "\n - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/src/admin/templets/index.htm b/src/admin/templets/index.htm index 47567ae9..a8da565f 100644 --- a/src/admin/templets/index.htm +++ b/src/admin/templets/index.htm @@ -6,11 +6,11 @@ <?php echo $cfg_webname;?>后台管理 - - - - - + + + + + @@ -19,7 +19,7 @@ -
+
diff --git a/src/admin/templets/makehtml_list.htm b/src/admin/templets/makehtml_list.htm index 63735cd8..3f08d7cb 100644 --- a/src/admin/templets/makehtml_list.htm +++ b/src/admin/templets/makehtml_list.htm @@ -4,9 +4,9 @@ 更新栏目 - - - + + + diff --git a/src/admin/templets/makehtml_spec.htm b/src/admin/templets/makehtml_spec.htm index a64f308a..bc01fbb1 100644 --- a/src/admin/templets/makehtml_spec.htm +++ b/src/admin/templets/makehtml_spec.htm @@ -4,9 +4,9 @@ 更新专题 - - - + + + @@ -17,7 +17,7 @@ diff --git a/src/admin/templets/makehtml_taglist.htm b/src/admin/templets/makehtml_taglist.htm index 801c52a1..52e75b8c 100644 --- a/src/admin/templets/makehtml_taglist.htm +++ b/src/admin/templets/makehtml_taglist.htm @@ -4,9 +4,9 @@ 更新标签 - - - + + + diff --git a/src/admin/templets/media_add.htm b/src/admin/templets/media_add.htm index 3c73ddd5..875a6eea 100644 --- a/src/admin/templets/media_add.htm +++ b/src/admin/templets/media_add.htm @@ -4,12 +4,12 @@ 添加附件 - - - - - - + + + + + + diff --git a/src/admin/templets/media_edit.htm b/src/admin/templets/media_edit.htm index 2fcd160e..45f7d660 100644 --- a/src/admin/templets/media_edit.htm +++ b/src/admin/templets/media_edit.htm @@ -4,12 +4,12 @@ 修改附件 - - - - - - + + + + + + diff --git a/src/admin/templets/media_main.htm b/src/admin/templets/media_main.htm index 5c0c9b22..5cd6790c 100644 --- a/src/admin/templets/media_main.htm +++ b/src/admin/templets/media_main.htm @@ -4,9 +4,9 @@ 附件管理 - - - + + + diff --git a/src/admin/templets/member_edit.htm b/src/admin/templets/member_edit.htm index 08020946..de4f65f1 100644 --- a/src/admin/templets/member_edit.htm +++ b/src/admin/templets/member_edit.htm @@ -4,12 +4,12 @@ 修改会员 - - - - - - + + + + + + @@ -160,7 +160,7 @@ diff --git a/src/admin/templets/member_main.htm b/src/admin/templets/member_main.htm index 9bb0b7c6..b72ff66c 100644 --- a/src/admin/templets/member_main.htm +++ b/src/admin/templets/member_main.htm @@ -5,9 +5,9 @@ 所有会员列表 - - - + + + diff --git a/src/admin/templets/member_operations.htm b/src/admin/templets/member_operations.htm index 5f3ab00c..5d64c204 100644 --- a/src/admin/templets/member_operations.htm +++ b/src/admin/templets/member_operations.htm @@ -4,9 +4,9 @@ 会员消费记录 - - - + + + diff --git a/src/admin/templets/member_pm.htm b/src/admin/templets/member_pm.htm index d1fee22c..ba6a85e8 100644 --- a/src/admin/templets/member_pm.htm +++ b/src/admin/templets/member_pm.htm @@ -5,9 +5,9 @@ 会员短信管理 - - - + + + diff --git a/src/admin/templets/member_pmall.htm b/src/admin/templets/member_pmall.htm index 218bb6ec..194f200c 100644 --- a/src/admin/templets/member_pmall.htm +++ b/src/admin/templets/member_pmall.htm @@ -4,9 +4,9 @@ 会员短信管理 - - - + + + diff --git a/src/admin/templets/member_pmone.htm b/src/admin/templets/member_pmone.htm index 8f83f8d3..02b52d64 100644 --- a/src/admin/templets/member_pmone.htm +++ b/src/admin/templets/member_pmone.htm @@ -4,9 +4,9 @@ 会员短信管理 - - - + + + diff --git a/src/admin/templets/member_rank.htm b/src/admin/templets/member_rank.htm index 9db095f1..4e5bf44f 100644 --- a/src/admin/templets/member_rank.htm +++ b/src/admin/templets/member_rank.htm @@ -4,9 +4,9 @@ 会员级别设置 - - - + + + diff --git a/src/admin/templets/member_scores.htm b/src/admin/templets/member_scores.htm index 4a2f01e0..df97c83e 100644 --- a/src/admin/templets/member_scores.htm +++ b/src/admin/templets/member_scores.htm @@ -4,12 +4,12 @@ 积分头衔设置 - - - - - - + + + + + + diff --git a/src/admin/templets/member_toadmin.htm b/src/admin/templets/member_toadmin.htm index 87e82d7f..fc561769 100644 --- a/src/admin/templets/member_toadmin.htm +++ b/src/admin/templets/member_toadmin.htm @@ -4,12 +4,12 @@ 提升会员 - - - - - - + + + + + + diff --git a/src/admin/templets/member_type.htm b/src/admin/templets/member_type.htm index f9c34693..9ed6c56b 100644 --- a/src/admin/templets/member_type.htm +++ b/src/admin/templets/member_type.htm @@ -4,9 +4,9 @@ 会员等级分类 - - - + + + diff --git a/src/admin/templets/module_edit.htm b/src/admin/templets/module_edit.htm index 0b774de8..2117c1f3 100644 --- a/src/admin/templets/module_edit.htm +++ b/src/admin/templets/module_edit.htm @@ -4,10 +4,10 @@ 模块打包 - - - - + + + + @@ -60,7 +60,7 @@

- (用相对于会员中心的网址,如:../ask) + (用相对于会员中心的网址,如:/ask)
@@ -110,7 +110,7 @@ diff --git a/src/admin/templets/module_main.htm b/src/admin/templets/module_main.htm index 506f1f6e..ee46f88f 100644 --- a/src/admin/templets/module_main.htm +++ b/src/admin/templets/module_main.htm @@ -4,12 +4,12 @@ 模块管理 - - - - - - + + + + + + + + + + @@ -57,7 +57,7 @@ @@ -104,7 +104,7 @@ diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index f682791b..892bb431 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -4,9 +4,9 @@ 新增文档模型 - - - + + + diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index 89ef3550..cc9173be 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -4,15 +4,15 @@ 修改文档模型 - - - - - - - - - + + + + + + + + + diff --git a/src/admin/templets/mychannel_field_add.htm b/src/admin/templets/mychannel_field_add.htm index 31cf094c..21bde46c 100644 --- a/src/admin/templets/mychannel_field_add.htm +++ b/src/admin/templets/mychannel_field_add.htm @@ -4,12 +4,12 @@ 添加文档模型字段 - - - - - - + + + + + + diff --git a/src/admin/templets/mychannel_field_edit.htm b/src/admin/templets/mychannel_field_edit.htm index 17d408fb..0137bf02 100644 --- a/src/admin/templets/mychannel_field_edit.htm +++ b/src/admin/templets/mychannel_field_edit.htm @@ -4,12 +4,12 @@ 修改文档模型字段 - - - - - - + + + + + + diff --git a/src/admin/templets/mychannel_main.htm b/src/admin/templets/mychannel_main.htm index 636e20c9..190dfcf0 100644 --- a/src/admin/templets/mychannel_main.htm +++ b/src/admin/templets/mychannel_main.htm @@ -5,9 +5,9 @@ 文档模型管理 - - - + + +
上级目录上级目录 当前目录:$activepath
$file$file @@ -91,7 +91,7 @@ $files[] = $line; } else if (preg_match("#\.(swf|fla|fly)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -103,7 +103,7 @@ $files[] = $line; } else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -115,7 +115,7 @@ $files[] = $line; } else if (preg_match("#\.(exe)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -127,7 +127,7 @@ $files[] = $line; } else if (preg_match("#\.(mp3|wma)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -139,7 +139,7 @@ $files[] = $line; } else if (preg_match("#\.(wmv|api)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -151,7 +151,7 @@ $files[] = $line; } else if (preg_match("#\.(rm|rmvb)#i",$file)) { $line = "\n
$file$file $filesize KB $filetime @@ -164,7 +164,7 @@ } else if (preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n
$file$file $filesize KB $filetime @@ -178,7 +178,7 @@ } else if (preg_match("#\.(htm|html)#i",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n
$file$file $filesize KB $filetime @@ -192,7 +192,7 @@ } else if (preg_match("#\.(php)#i",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n
$file$file $filesize KB $filetime @@ -206,7 +206,7 @@ } else if (preg_match("#\.(js)#i",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n
$file$file $filesize KB $filetime @@ -220,7 +220,7 @@ } else if (preg_match("#\.(css)#i",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n
$file$file $filesize KB $filetime diff --git a/src/admin/templets/file_upload.htm b/src/admin/templets/file_upload.htm index 709f1111..f5d6175c 100644 --- a/src/admin/templets/file_upload.htm +++ b/src/admin/templets/file_upload.htm @@ -4,9 +4,9 @@ 文件上传 - - - + + + diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index 6bd39d5e..d340b71e 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -4,18 +4,18 @@ 添加自由列表 - - - - - - - - - - - - + + + + + + + + + + + + @@ -38,16 +38,16 @@
- + - + - + - +
diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index 90287b99..70d31cb4 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -4,18 +4,18 @@ 修改自由列表 - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/src/admin/templets/freelist_main.htm b/src/admin/templets/freelist_main.htm index a8daec0e..95e1f432 100644 --- a/src/admin/templets/freelist_main.htm +++ b/src/admin/templets/freelist_main.htm @@ -4,12 +4,12 @@ 自由列表管理 - - - - - - + + + + + + - - + + + + + + diff --git a/src/admin/templets/friendlink_edit.htm b/src/admin/templets/friendlink_edit.htm index 7eca2fe9..808f02d5 100644 --- a/src/admin/templets/friendlink_edit.htm +++ b/src/admin/templets/friendlink_edit.htm @@ -4,9 +4,9 @@ 友情链接修改 - - - + + + diff --git a/src/admin/templets/friendlink_main.htm b/src/admin/templets/friendlink_main.htm index 9c8d2b76..97187c8f 100644 --- a/src/admin/templets/friendlink_main.htm +++ b/src/admin/templets/friendlink_main.htm @@ -5,12 +5,12 @@ 友情链接管理 - - - - - - + + + + + + diff --git a/src/admin/templets/friendlink_type.htm b/src/admin/templets/friendlink_type.htm index fe06b199..f76899cf 100644 --- a/src/admin/templets/friendlink_type.htm +++ b/src/admin/templets/friendlink_type.htm @@ -4,9 +4,9 @@ 网站类型管理 - - - + + + @@ -44,7 +44,7 @@
添加链接 - 外部申请表单 + 外部申请表单
-
更新首页文件默认存放在根目录,不是根目录安装的网站,首页需要更新到网站根目录,请使用相对路径,则安装在:http://www.abc.com/DedeBIZ/目录,更新首页:http://www.abc.com/index.html,填写:../index.html
+
更新首页文件默认存放在根目录,不是根目录安装的网站,首页需要更新到网站根目录,请使用相对路径,则安装在:http://www.abc.com/DedeBIZ/目录,更新首页:http://www.abc.com/index.html,填写:/index.html
-
更新专题说明:发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:
+
更新专题说明:发布专题后需要手动更新,建议专题目录设置仅可读写权限,存放目录:
操作: - 修改资料 + 修改资料 会员面板
文件列表: -

(每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件,如:如果已经指定了../book则不需要再指定目录里的../book/index.php 等文件或目录,系统会自动索引整个目录,对于不需要索引整个目录的,请不要指定这个目录,否则会把不必要的文件也放进模块中)

+

(每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件,如:如果已经指定了/book则不需要再指定目录里的/book/index.php 等文件或目录,系统会自动索引整个目录,对于不需要索引整个目录的,请不要指定这个目录,否则会把不必要的文件也放进模块中)

文件列表: -

(每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件,如:如果已经指定了../book则不需要再指定目录里的../book/index.php 等文件或目录,系统会自动索引整个目录,对于不需要索引整个目录的,请不要指定这个目录,否则会把不必要的文件也放进模块中)

+

(每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件,如:如果已经指定了/book则不需要再指定目录里的/book/index.php 等文件或目录,系统会自动索引整个目录,对于不需要索引整个目录的,请不要指定这个目录,否则会把不必要的文件也放进模块中)

diff --git a/src/admin/templets/mychannel_modifysearch.htm b/src/admin/templets/mychannel_modifysearch.htm index 343dd950..079a7899 100644 --- a/src/admin/templets/mychannel_modifysearch.htm +++ b/src/admin/templets/mychannel_modifysearch.htm @@ -4,12 +4,12 @@ 自定义搜索管理 - - - - - - + + + + + + diff --git a/src/admin/templets/mytag_add.htm b/src/admin/templets/mytag_add.htm index 64b7db59..abb6af4a 100644 --- a/src/admin/templets/mytag_add.htm +++ b/src/admin/templets/mytag_add.htm @@ -4,15 +4,15 @@ 添加自定义宏标记 - - - - - - - - - + + + + + + + + + diff --git a/src/admin/templets/mytag_edit.htm b/src/admin/templets/mytag_edit.htm index a0681b3b..19e07abd 100644 --- a/src/admin/templets/mytag_edit.htm +++ b/src/admin/templets/mytag_edit.htm @@ -4,9 +4,9 @@ 修改自定义宏标记 - - - + + + diff --git a/src/admin/templets/mytag_main.htm b/src/admin/templets/mytag_main.htm index b9815078..ef506ffb 100644 --- a/src/admin/templets/mytag_main.htm +++ b/src/admin/templets/mytag_main.htm @@ -5,9 +5,9 @@ 自定义标记 - - - + + +
diff --git a/src/admin/templets/mytag_tag_guide.htm b/src/admin/templets/mytag_tag_guide.htm index 122c3c01..78b900a6 100644 --- a/src/admin/templets/mytag_tag_guide.htm +++ b/src/admin/templets/mytag_tag_guide.htm @@ -4,17 +4,17 @@ 智能标记向导 - - - - - - - - - - - + + + + + + + + + + + @@ -32,16 +32,16 @@
- + - + - + - +
diff --git a/src/admin/templets/mytag_tag_guide_ok.htm b/src/admin/templets/mytag_tag_guide_ok.htm index 293ab57a..e03556ee 100644 --- a/src/admin/templets/mytag_tag_guide_ok.htm +++ b/src/admin/templets/mytag_tag_guide_ok.htm @@ -4,9 +4,9 @@ 智能标记向导预览 - - - + + + diff --git a/src/admin/templets/plus_edit.htm b/src/admin/templets/plus_edit.htm index 71033059..da0e91db 100644 --- a/src/admin/templets/plus_edit.htm +++ b/src/admin/templets/plus_edit.htm @@ -4,9 +4,9 @@ 修改插件 - - - + + + diff --git a/src/admin/templets/plus_main.htm b/src/admin/templets/plus_main.htm index fef6f279..6bd02a8b 100644 --- a/src/admin/templets/plus_main.htm +++ b/src/admin/templets/plus_main.htm @@ -5,9 +5,9 @@ 插件管理 - - - + + + diff --git a/src/admin/templets/recycling.htm b/src/admin/templets/recycling.htm index e35be3fd..66544713 100644 --- a/src/admin/templets/recycling.htm +++ b/src/admin/templets/recycling.htm @@ -4,9 +4,9 @@ 文档回收站 - - - + + + diff --git a/src/admin/templets/search_keywords_main.htm b/src/admin/templets/search_keywords_main.htm index 535dc40a..19d4e2ba 100644 --- a/src/admin/templets/search_keywords_main.htm +++ b/src/admin/templets/search_keywords_main.htm @@ -4,13 +4,13 @@ 搜索关键词管理 - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + + + + + diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm index c1bd8ca8..68f41741 100644 --- a/src/admin/templets/soft_edit.htm +++ b/src/admin/templets/soft_edit.htm @@ -4,19 +4,19 @@ 修改软件模型 - - - - - + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - + + + + + + + - - + + + + + + diff --git a/src/admin/templets/sys_admin_user_edit.htm b/src/admin/templets/sys_admin_user_edit.htm index b68442db..21e75642 100644 --- a/src/admin/templets/sys_admin_user_edit.htm +++ b/src/admin/templets/sys_admin_user_edit.htm @@ -4,9 +4,9 @@ 修改管理员 - - - + + + diff --git a/src/admin/templets/sys_cache_up.htm b/src/admin/templets/sys_cache_up.htm index a5e6a5da..02771033 100644 --- a/src/admin/templets/sys_cache_up.htm +++ b/src/admin/templets/sys_cache_up.htm @@ -4,9 +4,9 @@ 更新缓存 - - - + + + diff --git a/src/admin/templets/sys_cloud.htm b/src/admin/templets/sys_cloud.htm index 936b2b10..a538ad38 100644 --- a/src/admin/templets/sys_cloud.htm +++ b/src/admin/templets/sys_cloud.htm @@ -4,12 +4,12 @@ 云服务设置 - - - - - - + + + + + +
diff --git a/src/admin/templets/sys_data.htm b/src/admin/templets/sys_data.htm index 07a6646d..b51410f3 100644 --- a/src/admin/templets/sys_data.htm +++ b/src/admin/templets/sys_data.htm @@ -4,13 +4,13 @@ 数据备份还原 - - - - - - - + + + + + + +
diff --git a/src/admin/templets/sys_data_replace.htm b/src/admin/templets/sys_data_replace.htm index 976e40b2..693959ee 100644 --- a/src/admin/templets/sys_data_replace.htm +++ b/src/admin/templets/sys_data_replace.htm @@ -4,13 +4,13 @@ 数据批量替换 - - - - - - - + + + + + + + @@ -86,7 +86,7 @@ diff --git a/src/admin/templets/sys_data_revert.htm b/src/admin/templets/sys_data_revert.htm index 632411db..f9ba543e 100644 --- a/src/admin/templets/sys_data_revert.htm +++ b/src/admin/templets/sys_data_revert.htm @@ -4,9 +4,9 @@ 数据还原 - - - + + +
验证码: - +
diff --git a/src/admin/templets/sys_group.htm b/src/admin/templets/sys_group.htm index b9769fb5..9ab65818 100644 --- a/src/admin/templets/sys_group.htm +++ b/src/admin/templets/sys_group.htm @@ -4,9 +4,9 @@ 会员组管理 - - - + + +
diff --git a/src/admin/templets/sys_group_add.htm b/src/admin/templets/sys_group_add.htm index 5278b69c..6ff5ff4a 100644 --- a/src/admin/templets/sys_group_add.htm +++ b/src/admin/templets/sys_group_add.htm @@ -4,9 +4,9 @@ 添加系统会员组 - - - + + + diff --git a/src/admin/templets/sys_group_edit.htm b/src/admin/templets/sys_group_edit.htm index d97a9fca..d6cd9fe9 100644 --- a/src/admin/templets/sys_group_edit.htm +++ b/src/admin/templets/sys_group_edit.htm @@ -4,9 +4,9 @@ 修改系统会员组 - - - + + + diff --git a/src/admin/templets/sys_info.htm b/src/admin/templets/sys_info.htm index c8539cb0..13f544d8 100644 --- a/src/admin/templets/sys_info.htm +++ b/src/admin/templets/sys_info.htm @@ -4,12 +4,12 @@ 系统设置 - - - - - - + + + + + +
@@ -132,7 +132,7 @@ if ($row['value']) { echo " "; } else { - echo " "; + echo " "; } } else { $addstr=''; diff --git a/src/admin/templets/sys_info_mark.htm b/src/admin/templets/sys_info_mark.htm index cc52d7e0..7f72eac4 100644 --- a/src/admin/templets/sys_info_mark.htm +++ b/src/admin/templets/sys_info_mark.htm @@ -4,9 +4,9 @@ 图片水印设置 - - - + + + @@ -49,7 +49,7 @@ diff --git a/src/admin/templets/sys_login.htm b/src/admin/templets/sys_login.htm index a50bcb2d..a0a30299 100644 --- a/src/admin/templets/sys_login.htm +++ b/src/admin/templets/sys_login.htm @@ -4,11 +4,11 @@ 登录设置 - - - - - + + + + +
水印图片文件名: - + (如果不存在,则使用文字水印)
diff --git a/src/admin/templets/sys_payment.htm b/src/admin/templets/sys_payment.htm index edf9695a..15625182 100644 --- a/src/admin/templets/sys_payment.htm +++ b/src/admin/templets/sys_payment.htm @@ -4,11 +4,11 @@ 支付接口设置 - - - - - + + + + + diff --git a/src/admin/templets/sys_safetest.htm b/src/admin/templets/sys_safetest.htm index 53318141..40eb054e 100644 --- a/src/admin/templets/sys_safetest.htm +++ b/src/admin/templets/sys_safetest.htm @@ -4,12 +4,12 @@ 文件扫描工具 - - - - - - + + + + + +
diff --git a/src/admin/templets/sys_safetest_viewdiff.htm b/src/admin/templets/sys_safetest_viewdiff.htm index 42c9966d..e838bc75 100644 --- a/src/admin/templets/sys_safetest_viewdiff.htm +++ b/src/admin/templets/sys_safetest_viewdiff.htm @@ -4,10 +4,10 @@ 查看差异文件 - - - - + + + + diff --git a/src/admin/templets/sys_sql_query.htm b/src/admin/templets/sys_sql_query.htm index a0c74107..bf9f1549 100644 --- a/src/admin/templets/sys_sql_query.htm +++ b/src/admin/templets/sys_sql_query.htm @@ -4,12 +4,12 @@ SQL命令工具 - - - - - - + + + + + +
diff --git a/src/admin/templets/tag_test.htm b/src/admin/templets/tag_test.htm index 6fbaa854..d64e0dd9 100644 --- a/src/admin/templets/tag_test.htm +++ b/src/admin/templets/tag_test.htm @@ -4,15 +4,15 @@ 全局标记测试 - - - - - - - - - + + + + + + + + + diff --git a/src/admin/templets/tags_main.htm b/src/admin/templets/tags_main.htm index 688413c3..8fe2a661 100644 --- a/src/admin/templets/tags_main.htm +++ b/src/admin/templets/tags_main.htm @@ -4,12 +4,12 @@ 标签管理 - - - - - - + + + + + + @@ -48,7 +48,7 @@ - + diff --git a/src/admin/templets/templets_default.htm b/src/admin/templets/templets_default.htm index 5b147bf6..374a6721 100644 --- a/src/admin/templets/templets_default.htm +++ b/src/admin/templets/templets_default.htm @@ -4,9 +4,9 @@ 主题模板管理 - - - + + +
{dede:field.id/}{dede:field.tag/}{dede:field.tag/}
@@ -34,7 +34,7 @@ $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename]:'未知模板'); ?> - +
diff --git a/src/admin/templets/templets_one.htm b/src/admin/templets/templets_one.htm index 221f6578..7c5b7e9f 100644 --- a/src/admin/templets/templets_one.htm +++ b/src/admin/templets/templets_one.htm @@ -5,9 +5,9 @@ 文档单页管理 - - - + + + diff --git a/src/admin/templets/templets_one_add.htm b/src/admin/templets/templets_one_add.htm index eb80b331..dd706797 100644 --- a/src/admin/templets/templets_one_add.htm +++ b/src/admin/templets/templets_one_add.htm @@ -4,12 +4,12 @@ 添加自定义页面 - - - - - - + + + + + + diff --git a/src/admin/templets/templets_one_edit.htm b/src/admin/templets/templets_one_edit.htm index dea6a205..2fb5f0ac 100644 --- a/src/admin/templets/templets_one_edit.htm +++ b/src/admin/templets/templets_one_edit.htm @@ -4,12 +4,12 @@ 修改自定义页面 - - - - - - + + + + + + diff --git a/src/admin/templets/templets_tagsource.htm b/src/admin/templets/templets_tagsource.htm index c6b3685a..70d41056 100644 --- a/src/admin/templets/templets_tagsource.htm +++ b/src/admin/templets/templets_tagsource.htm @@ -4,9 +4,9 @@ 标签源码管理 - - - + + + @@ -34,7 +34,7 @@ $fileinfo = GetHelpInfo(str_replace('.lib.php','',$filename)); ?> - + diff --git a/src/admin/templets/tpl_edit.htm b/src/admin/templets/tpl_edit.htm index 40c6d843..064a349a 100644 --- a/src/admin/templets/tpl_edit.htm +++ b/src/admin/templets/tpl_edit.htm @@ -4,15 +4,15 @@ 新建/修改模板 - - - - - - - - - + + + + + + + + + diff --git a/src/admin/templets/tpl_edit_tag.htm b/src/admin/templets/tpl_edit_tag.htm index 1039e346..aad4fc9d 100644 --- a/src/admin/templets/tpl_edit_tag.htm +++ b/src/admin/templets/tpl_edit_tag.htm @@ -4,20 +4,20 @@ 标签源码管理 - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/src/admin/templets/tpl_newfile.htm b/src/admin/templets/tpl_newfile.htm index 32cf59f7..d625f572 100644 --- a/src/admin/templets/tpl_newfile.htm +++ b/src/admin/templets/tpl_newfile.htm @@ -4,9 +4,9 @@ 文件修改 - - - + + + diff --git a/src/admin/templets/vote_add.htm b/src/admin/templets/vote_add.htm index 112911bb..d58f2eae 100644 --- a/src/admin/templets/vote_add.htm +++ b/src/admin/templets/vote_add.htm @@ -4,15 +4,15 @@ 添加投票 - - - - - - - - - + + + + + + + + + - - - - + + + + + + + + + diff --git a/src/admin/templets/vote_getcode.htm b/src/admin/templets/vote_getcode.htm index 2e1cba93..b1d9116a 100644 --- a/src/admin/templets/vote_getcode.htm +++ b/src/admin/templets/vote_getcode.htm @@ -4,9 +4,9 @@ 获取投票标签 - - - + + + diff --git a/src/admin/templets/vote_main.htm b/src/admin/templets/vote_main.htm index faa79a09..6a091a09 100644 --- a/src/admin/templets/vote_main.htm +++ b/src/admin/templets/vote_main.htm @@ -5,9 +5,9 @@ 投票管理 - - - + + +
修改
diff --git a/src/admin/templets_one_edit.php b/src/admin/templets_one_edit.php index 4bfe0bb7..d1cd2cfc 100644 --- a/src/admin/templets_one_edit.php +++ b/src/admin/templets_one_edit.php @@ -45,7 +45,7 @@ if ($dopost == "saveedit") { ShowMsg("系统文件禁止重名", "javascript:;"); exit(); } - $oldfilename = $cfg_basedir.$cfg_cmspath."/".$oldfilename; + $oldfilename = $cfg_basedir.'/'.$oldfilename; if (is_file($oldfilename)) { unlink($oldfilename); } @@ -64,7 +64,7 @@ if ($dopost == "saveedit") { exit(); } else if ($dopost == "delete") { $row = $dsql->GetOne("SELECT filename FROM `#@__sgpage` WHERE aid='$aid'"); - $filename = preg_replace("#\/{1,}#", "/", $cfg_basedir.$cfg_cmspath."/".$row['filename']); + $filename = preg_replace("#\/{1,}#", "/", $cfg_basedir."/".$row['filename']); $dsql->ExecuteNoneQuery(" DELETE FROM `#@__sgpage` WHERE aid='$aid' "); if (is_file($filename)) { unlink($filename); diff --git a/src/admin/tpl.php b/src/admin/tpl.php index 62090f96..d1e28949 100644 --- a/src/admin/tpl.php +++ b/src/admin/tpl.php @@ -110,7 +110,7 @@ else if ($action == 'upload') { $acdir = str_replace('.', '', $acdir); $win = new OxWindow(); make_hash(); - $win->Init("tpl.php", "../static/web/js/admin.blank.js", "POST' enctype='multipart/form-data' "); + $win->Init("tpl.php", "/static/web/js/admin.blank.js", "POST' enctype='multipart/form-data' "); $wecome_info = "模板管理 - 上传模板"; $win->AddTitle('请选择要上传的模块文件'); $win->AddHidden("action", 'uploadok'); diff --git a/src/apps/diy.php b/src/apps/diy.php index f7303f79..e78a5f14 100755 --- a/src/apps/diy.php +++ b/src/apps/diy.php @@ -66,16 +66,12 @@ if ($action == 'post') { $query = "INSERT INTO `{$diy->table}` (`id`, `ifcheck` $addvar) VALUES (NULL, 0 $addvalue); "; if ($dsql->ExecuteNoneQuery($query)) { $id = $dsql->GetLastID(); - if ($diy->public == 2) - { + if ($diy->public == 2) { $goto = "diy.php?action=list&diyid={$diy->diyid}"; $bkmsg = '发布成功,正在前往表单列表'; } else { - $goto = !empty($cfg_cmspath) ? $cfg_cmspath : '/'; + $goto = '/'; $bkmsg = '发布成功,请等待管理员处理'; - //提交后返回提交页面 - ShowMsg('提交成功', '-1'); - exit; } ShowMsg($bkmsg, $goto); } diff --git a/src/apps/feedback.php b/src/apps/feedback.php index 16f27f85..b0cc16ef 100755 --- a/src/apps/feedback.php +++ b/src/apps/feedback.php @@ -65,7 +65,7 @@ if ($action == '' || $action == 'show') { $dsql->Execute('fb', $querystring." LIMIT 20 "); $data = array(); while ($row = $dsql->GetArray('fb')) { - $row['face'] = empty($row['mface']) ? $GLOBALS['cfg_cmspath'].'/static/web/img/admin.png' : $row['mface']; + $row['face'] = empty($row['mface']) ? '/static/web/img/admin.png' : $row['mface']; $row['dtimestr'] = MyDate('Y-m-d', $row['dtime']); unset($row['ip']); $data[] = $row; diff --git a/src/apps/view.php b/src/apps/view.php index f1165c5b..6ab7ac3e 100755 --- a/src/apps/view.php +++ b/src/apps/view.php @@ -68,7 +68,7 @@ if ($needMoney > 0 || $needRank > 1) { showmsg('购买失败, 请返回', -1); exit; } - showmsg('购买成功,购买扣点不会重扣金币', $GLOBALS['cfg_cmsurl'].'/apps/view.php?aid='.$aid); + showmsg('购买成功,购买扣点不会重扣金币', '/apps/view.php?aid='.$aid); exit; } else { showmsg('购买失败,请返回', -1); diff --git a/src/install/config.cache.inc.php b/src/install/config.cache.inc.php index f6a71060..7080f564 100755 --- a/src/install/config.cache.inc.php +++ b/src/install/config.cache.inc.php @@ -1,6 +1,5 @@ alert('写入配置失败,请检查../data目录是否可写入');history.go(-1);"); + $fp = fopen(DEDEDATA."/common.inc.php","w") or die(""); fwrite($fp,$configStr1); fclose($fp); //config.cache.inc.php @@ -218,8 +218,6 @@ else if ($step==2) { //更新配置 $cquery = "UPDATE `{$dbprefix}sysconfig` SET value='{$baseurl}' WHERE varname='cfg_basehost';"; $dbtype == 'sqlite'? $db->exec($cquery) : mysql_query($cquery,$conn); - $cquery = "UPDATE `{$dbprefix}sysconfig` SET value='{$cmspath}' WHERE varname='cfg_cmspath';"; - $dbtype == 'sqlite'? $db->exec($cquery) : mysql_query($cquery,$conn); $cquery = "UPDATE `{$dbprefix}sysconfig` SET value='{$indexUrl}' WHERE varname='cfg_indexurl';"; $dbtype == 'sqlite'? $db->exec($cquery) : mysql_query($cquery,$conn); $cquery = "UPDATE `{$dbprefix}sysconfig` SET value='{$cookieencode}' WHERE varname='cfg_cookie_encode';"; @@ -252,7 +250,7 @@ else if ($step==2) { $fp = fopen(INSLOCKFILE,'w'); fwrite($fp,'ok'); fclose($fp); - header('Location:../admin/index.php'); + header('Location:/admin/index.php'); exit(); } //检测数据库是否有效 diff --git a/src/install/install.html b/src/install/install.html index 57bf27ab..56655803 100644 --- a/src/install/install.html +++ b/src/install/install.html @@ -4,20 +4,20 @@ 安装DedeV<?php echo $cfg_version_detail;?> - - - - - - - + + + + + + +
diff --git a/src/theme/dedebiz/article_article.htm b/src/theme/dedebiz/article_article.htm index 76918eca..729e50bb 100644 --- a/src/theme/dedebiz/article_article.htm +++ b/src/theme/dedebiz/article_article.htm @@ -7,11 +7,11 @@ {dede:field.title/}-{dede:global.cfg_webname/} - - - - - + + + + + {dede:include filename='top.htm'/} @@ -71,7 +71,7 @@ {dede:include filename='foot.htm'/} - + {dede:include filename='foot.htm'/} - + - - + + + {dede:statistics/} - + + \ No newline at end of file diff --git a/src/user/templets/album_edit.htm b/src/user/templets/album_edit.htm index a68a3e9e..e1a04872 100755 --- a/src/user/templets/album_edit.htm +++ b/src/user/templets/album_edit.htm @@ -5,9 +5,9 @@ 修改<?php echo $row['title']?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -121,8 +121,8 @@ - - + + diff --git a/src/user/templets/archives_add.htm b/src/user/templets/archives_add.htm index 4ade604c..f6e5cc03 100755 --- a/src/user/templets/archives_add.htm +++ b/src/user/templets/archives_add.htm @@ -5,9 +5,9 @@ 发布<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -35,7 +35,7 @@
缩略图
- + 上传缩略图
@@ -69,7 +69,7 @@
- + \ No newline at end of file diff --git a/src/user/templets/archives_edit.htm b/src/user/templets/archives_edit.htm index 6bc63260..289de0fd 100755 --- a/src/user/templets/archives_edit.htm +++ b/src/user/templets/archives_edit.htm @@ -5,9 +5,9 @@ 修改<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -68,7 +68,7 @@ - + \ No newline at end of file diff --git a/src/user/templets/archives_sg_add.htm b/src/user/templets/archives_sg_add.htm index 7153cd1c..351e4ccd 100755 --- a/src/user/templets/archives_sg_add.htm +++ b/src/user/templets/archives_sg_add.htm @@ -5,9 +5,9 @@ 发布<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -35,7 +35,7 @@
缩略图
- + 上传缩略图
@@ -65,7 +65,7 @@
- + \ No newline at end of file diff --git a/src/user/templets/archives_sg_edit.htm b/src/user/templets/archives_sg_edit.htm index 92d5143e..50a009cb 100755 --- a/src/user/templets/archives_sg_edit.htm +++ b/src/user/templets/archives_sg_edit.htm @@ -5,9 +5,9 @@ 修改<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -64,7 +64,7 @@ - + \ No newline at end of file diff --git a/src/user/templets/article_add.htm b/src/user/templets/article_add.htm index 946ed291..2526a1b9 100755 --- a/src/user/templets/article_add.htm +++ b/src/user/templets/article_add.htm @@ -5,9 +5,9 @@ 发布<?php echo $cInfos['typename'];?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -35,7 +35,7 @@
缩略图
- + 上传缩略图
@@ -73,7 +73,7 @@
- + \ No newline at end of file diff --git a/src/user/templets/article_edit.htm b/src/user/templets/article_edit.htm index 1da5bb84..6b3f12a7 100755 --- a/src/user/templets/article_edit.htm +++ b/src/user/templets/article_edit.htm @@ -5,9 +5,9 @@ 修改<?php echo $row['title']?>-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -76,7 +76,7 @@ - + \ No newline at end of file diff --git a/src/user/templets/buy.htm b/src/user/templets/buy.htm index 73fb0a26..03ff79a2 100755 --- a/src/user/templets/buy.htm +++ b/src/user/templets/buy.htm @@ -5,9 +5,9 @@ 积分钱包-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -58,7 +58,7 @@ diff --git a/src/user/templets/buy_action_payment.htm b/src/user/templets/buy_action_payment.htm index 56f0e46d..91083404 100755 --- a/src/user/templets/buy_action_payment.htm +++ b/src/user/templets/buy_action_payment.htm @@ -5,9 +5,9 @@ 订单确认-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/content_list.htm b/src/user/templets/content_list.htm index dda38c3e..5a4fff42 100755 --- a/src/user/templets/content_list.htm +++ b/src/user/templets/content_list.htm @@ -5,9 +5,9 @@ 我的文档-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/content_sg_list.htm b/src/user/templets/content_sg_list.htm index 3e052ddc..e540c89b 100755 --- a/src/user/templets/content_sg_list.htm +++ b/src/user/templets/content_sg_list.htm @@ -5,9 +5,9 @@ 我的文档-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/edit_baseinfo.htm b/src/user/templets/edit_baseinfo.htm index 867134ba..7bcf9982 100755 --- a/src/user/templets/edit_baseinfo.htm +++ b/src/user/templets/edit_baseinfo.htm @@ -5,9 +5,9 @@ 资料修改-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -111,7 +111,7 @@ var fileData = $('#iptNewface')[0].files[0]; formData.append('file', fileData); $.ajax({ - url: '/user/api.php?action=upload&type=face', + url: '/api.php?action=upload&type=face', type: 'POST', data: formData, processData: false, diff --git a/src/user/templets/index.htm b/src/user/templets/index.htm index 38e3deac..ba233038 100755 --- a/src/user/templets/index.htm +++ b/src/user/templets/index.htm @@ -5,9 +5,9 @@ 会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/login.htm b/src/user/templets/login.htm index 7a6d8c1d..fe9f530e 100755 --- a/src/user/templets/login.htm +++ b/src/user/templets/login.htm @@ -5,9 +5,9 @@ 会员登录-<?php echo $cfg_webname;?> - - - + + + @@ -32,7 +32,7 @@
- +
@@ -43,6 +43,6 @@ - + \ No newline at end of file diff --git a/src/user/templets/mypay.htm b/src/user/templets/mypay.htm index 5e52d6a9..98d1a2e0 100755 --- a/src/user/templets/mypay.htm +++ b/src/user/templets/mypay.htm @@ -5,9 +5,9 @@ 购买文档-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/mystow.htm b/src/user/templets/mystow.htm index cf933c7f..fab21d7a 100755 --- a/src/user/templets/mystow.htm +++ b/src/user/templets/mystow.htm @@ -5,9 +5,9 @@ 收藏夹-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/operation.htm b/src/user/templets/operation.htm index ff78edd2..cbe4a72a 100755 --- a/src/user/templets/operation.htm +++ b/src/user/templets/operation.htm @@ -5,9 +5,9 @@ 金币订单-会员中心-<?php echo $cfg_webname;?> - - - + + + diff --git a/src/user/templets/pm-main.htm b/src/user/templets/pm-main.htm index f268f202..8298903b 100755 --- a/src/user/templets/pm-main.htm +++ b/src/user/templets/pm-main.htm @@ -5,9 +5,9 @@ 消息管理-会员中心-<?php echo $cfg_webname;?> - - - + + + @@ -86,7 +86,7 @@ - + + + - + + + + + {dede:include filename='top.htm'/}
验证码 - +