Browse Source

结构调整

tags/6.1.0^2
tianya 3 years ago
parent
commit
28bc5c1c23
46 changed files with 52 additions and 52 deletions
  1. +3
    -3
      dedebiz
  2. +1
    -1
      src/admin/ad_edit.php
  3. +1
    -1
      src/admin/album_add.php
  4. +1
    -1
      src/admin/album_edit.php
  5. +1
    -1
      src/admin/archives_add.php
  6. +4
    -4
      src/admin/archives_do.php
  7. +1
    -1
      src/admin/archives_edit.php
  8. +1
    -1
      src/admin/archives_sg_add.php
  9. +1
    -1
      src/admin/archives_sg_edit.php
  10. +1
    -1
      src/admin/article_add.php
  11. +1
    -1
      src/admin/article_allowurl_edit.php
  12. +1
    -1
      src/admin/article_edit.php
  13. +1
    -1
      src/admin/article_source_edit.php
  14. +1
    -1
      src/admin/article_string_mix.php
  15. +1
    -1
      src/admin/article_template_rand.php
  16. +1
    -1
      src/admin/article_writer_edit.php
  17. +1
    -1
      src/admin/catalog_del.php
  18. +2
    -2
      src/admin/catalog_do.php
  19. +1
    -1
      src/admin/diy_edit.php
  20. +1
    -1
      src/admin/erraddsave.php
  21. +1
    -1
      src/admin/file_manage_control.php
  22. +1
    -1
      src/admin/file_manage_view.php
  23. +1
    -1
      src/admin/mail_file_manage.php
  24. +1
    -1
      src/admin/mda_main.php
  25. +1
    -1
      src/admin/member_do.php
  26. +1
    -1
      src/admin/module_main.php
  27. +1
    -1
      src/admin/module_upload.php
  28. +3
    -3
      src/admin/mychannel_edit.php
  29. +1
    -1
      src/admin/mytag_edit.php
  30. +1
    -1
      src/admin/plus_edit.php
  31. +1
    -1
      src/admin/public_guide.php
  32. +1
    -1
      src/admin/soft_add.php
  33. +1
    -1
      src/admin/soft_edit.php
  34. +1
    -1
      src/admin/spec_add.php
  35. +1
    -1
      src/admin/spec_edit.php
  36. +1
    -1
      src/admin/sys_admin_user_edit.php
  37. +1
    -1
      src/admin/sys_repair.php
  38. +2
    -2
      src/admin/tpl.php
  39. +1
    -1
      src/system/common.inc.php
  40. +0
    -0
      src/system/libraries/cli.class.php
  41. +0
    -0
      src/system/libraries/dedebiz.class.php
  42. +0
    -0
      src/system/libraries/oxwindow.class.php
  43. +1
    -1
      src/user/archives_sg_add.php
  44. +1
    -1
      src/user/archives_sg_edit.php
  45. +1
    -1
      src/user/inc/archives_check.php
  46. +1
    -1
      src/user/inc/archives_check_edit.php

+ 3
- 3
dedebiz View File

@@ -88,7 +88,7 @@ if (count($argv) > 1 && ($argv[1] == "serv" || $argv[1] == "s")) {
}

require_once($workDir . "/system/common.inc.php");
require_once(DEDEINC . "/cli.class.php");
require_once(DEDEINC . "/libraries/cli.class.php");

//一个命令行的生成工具
if (count($argv) > 2 && ($argv[2] == "arc" || $argv[2] == "a")) {
@@ -274,7 +274,7 @@ if (count($argv) > 1 && ($argv[1] == "serv" || $argv[1] == "s")) {
} else if (count($argv) > 1 && ($argv[1] == "update" || $argv[1] == "u")) {
define("DEDEINC", $workDir."/system");
require_once(DEDEINC."/dedehttpdown.class.php");
require_once(DEDEINC . "/cli.class.php");
require_once(DEDEINC . "/libraries/cli.class.php");
//更新系统
$latestURL = "https://cdn.dedebiz.com/release/latest.txt";
$del = new DedeHttpDown();
@@ -296,7 +296,7 @@ if (count($argv) > 1 && ($argv[1] == "serv" || $argv[1] == "s")) {
//TODO 命令行自动更新
} else if (count($argv) > 1 && ($argv[1] == "quick" || $argv[1] == "q")){
define("DEDEINC", $workDir."/system");
require_once(DEDEINC . "/cli.class.php");
require_once(DEDEINC . "/libraries/cli.class.php");
//快速开始一个用于开发的DedeBIZ环境,基于SQLite无其他依赖
if (file_exists($workDir."/data/DedeBIZ.db")) {
DedeCli::write("development environment has inited");


+ 1
- 1
src/admin/ad_edit.php View File

@@ -19,7 +19,7 @@ if ($dopost == 'delete') {
ShowMsg("成功删除一则广告代码", $ENV_GOBACK_URL);
exit();
} else if ($dopost == "gettag") {
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$jscode = "<script src='{$cfg_phpurl}/ad_js.php?aid=$aid' language='javascript'></script>";
$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml .= "预览:<iframe name='testfrm' frameborder='0' src='ad_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='200'></iframe>";


+ 1
- 1
src/admin/album_add.php View File

@@ -39,7 +39,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(50, 200) : $cfg_arc_click);


+ 1
- 1
src/admin/album_edit.php View File

@@ -57,7 +57,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($typeid2)) $typeid2 = 0;


+ 1
- 1
src/admin/archives_add.php View File

@@ -42,7 +42,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(50, 200) : $cfg_arc_click);


+ 4
- 4
src/admin/archives_do.php View File

@@ -253,7 +253,7 @@ function delArchives(){ }
---------------------------*/
else if ($dopost == "delArchives") {
CheckPurview('a_Del,a_AccDel,a_MyDel,sys_ArcBatch');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($fmdo)) $fmdo = '';

if ($fmdo == 'yes') {
@@ -387,7 +387,7 @@ function RbReturnArchives(){ }
------------------------------*/
else if ($dopost == 'return') {
CheckPurview('a_Del,a_AccDel,a_MyDel,sys_ArcBatch');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");

if (!empty($aid) && empty($qstr)) $qstr = $aid;

@@ -409,7 +409,7 @@ function RbClearArchives(){ }
------------------------------*/
else if ($dopost == 'clear') {
CheckPurview('a_Del,a_AccDel,a_MyDel,sys_ArcBatch');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($fmdo)) $fmdo = '';
$recycle = empty($recycle) ? "" : $recycle;

@@ -464,7 +464,7 @@ function RbDelArchives(){ }
------------------------------*/
else if ($dopost == 'del') {
CheckPurview('a_Del,a_AccDel,a_MyDel,sys_ArcBatch');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($fmdo)) $fmdo = '';
$recycle = empty($recycle) ? "" : $recycle;
if ($fmdo == 'yes') {


+ 1
- 1
src/admin/archives_edit.php View File

@@ -46,7 +46,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($litpic_b64)) $litpic_b64 = '';


+ 1
- 1
src/admin/archives_sg_add.php View File

@@ -40,7 +40,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
if ($typeid == 0) {
ShowMsg("请指定文档的栏目", "-1");
exit();


+ 1
- 1
src/admin/archives_sg_edit.php View File

@@ -38,7 +38,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
if ($typeid == 0) {
ShowMsg("请指定文档的栏目", "-1");
exit();


+ 1
- 1
src/admin/article_add.php View File

@@ -53,7 +53,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($typeid2)) $typeid2 = '';


+ 1
- 1
src/admin/article_allowurl_edit.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
CheckPurview('sys_Source');
if (empty($dopost)) $dopost = '';
if (empty($allurls)) $allsource = '';


+ 1
- 1
src/admin/article_edit.php View File

@@ -53,7 +53,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($typeid2)) $typeid2 = 0;


+ 1
- 1
src/admin/article_source_edit.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
CheckPurview('sys_Source');
if (empty($dopost)) $dopost = '';
if (empty($allsource)) $allsource = '';


+ 1
- 1
src/admin/article_string_mix.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__).'/config.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
CheckPurview('sys_StringMix');
if (empty($dopost)) $dopost = '';



+ 1
- 1
src/admin/article_template_rand.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__).'/config.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
CheckPurview('sys_StringMix');
if (empty($dopost)) $dopost = '';
$templates = empty($templates) ? '' : stripslashes($templates);


+ 1
- 1
src/admin/article_writer_edit.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__).'/config.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
CheckPurview('sys_Writer');
if (empty($dopost)) $dopost = '';



+ 1
- 1
src/admin/catalog_del.php View File

@@ -13,7 +13,7 @@ require_once(dirname(__FILE__).'/config.php');
//检查权限许可
CheckPurview('t_Del,t_AccDel');
require_once(DEDEINC.'/typelink/typeunit.class.admin.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$id = trim(preg_replace("#[^0-9]#", '', $id));

//检查栏目操作许可


+ 2
- 2
src/admin/catalog_do.php View File

@@ -208,7 +208,7 @@ function unitCatalog() { }
-----------------*/
else if ($dopost == 'unitCatalog') {
CheckPurview('t_Move');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
require_once(DEDEINC.'/typelink/typelink.class.php');
require_once(DEDEINC.'/channelunit.func.php');
if (empty($nextjob)) {
@@ -267,7 +267,7 @@ function moveCatalog() { }
-----------------*/
else if ($dopost == 'moveCatalog') {
CheckPurview('t_Move');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
require_once(DEDEINC.'/typelink/typelink.class.php');
require_once(DEDEINC.'/channelunit.func.php');
if (empty($nextjob)) {


+ 1
- 1
src/admin/diy_edit.php View File

@@ -11,7 +11,7 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('c_Edit');
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($dopost)) $dopost = "";
$diyid = (empty($diyid) ? 0 : intval($diyid));
/*----------------


+ 1
- 1
src/admin/erraddsave.php View File

@@ -70,7 +70,7 @@ if ($dopost == "delete") {
ShowMsg("成功删除指定的文档", "erraddsave.php");
exit();
} else {
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$wintitle = "删除";
$wecome_info = "<a href='erraddsave.php'>错误管理</a>::删除错误";
$win = new OxWindow();


+ 1
- 1
src/admin/file_manage_control.php View File

@@ -10,7 +10,7 @@
*/
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_文件管理器');
require(DEDEINC."/oxwindow.class.php");
require(DEDEINC."/libraries/oxwindow.class.php");
require_once(DEDEADMIN.'/file_class.php');
$activepath = str_replace("..", "", $activepath);
$activepath = preg_replace("#^\/{1,}#", "/", $activepath);


+ 1
- 1
src/admin/file_manage_view.php View File

@@ -10,7 +10,7 @@
*/
require_once(dirname(__FILE__)."/config.php");
CheckPurview('plus_文件管理器');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$activepath = str_replace("..", "", $activepath);
$activepath = preg_replace("#^\/{1,}#", "/", $activepath);
if ($activepath == "/") $activepath = "";


+ 1
- 1
src/admin/mail_file_manage.php View File

@@ -1,6 +1,6 @@
<?php
require(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
CheckPurview('plus_Mail');
if(!isset($fmdo)) $fmdo="";
if($fmdo=="del")


+ 1
- 1
src/admin/mda_main.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__).'/config.php');
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");

helper('mda');



+ 1
- 1
src/admin/member_do.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($dopost)) $dopost = '';
if (empty($fmdo)) $fmdo = '';
$ENV_GOBACK_URL = isset($_COOKIE['ENV_GOBACK_URL']) ? 'member_main.php' : '';


+ 1
- 1
src/admin/module_main.php View File

@@ -11,7 +11,7 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_module');
require_once(DEDEINC."/dedemodule.class.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($action)) $action = '';
require_once(DEDEDATA."/admin/config_update.php");
$mdir = DEDEDATA.'/module';


+ 1
- 1
src/admin/module_upload.php View File

@@ -11,7 +11,7 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_module');
require_once(DEDEINC."/dedemodule.class.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($action)) $action = '';
$mdir = DEDEDATA.'/module';
if ($action == 'upload') {


+ 3
- 3
src/admin/mychannel_edit.php View File

@@ -11,7 +11,7 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('c_Edit');
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($dopost)) $dopost = "";
$id = isset($id) && is_numeric($id) ? $id : 0;
/*----------------
@@ -327,7 +327,7 @@ else if ($dopost == "save") {
function __GetTemplate()
--------------------*/
else if ($dopost == "gettemplets") {
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'");
$wintitle = "&nbsp;频道管理-查看模板";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::查看模板";
@@ -362,7 +362,7 @@ else if ($dopost == "delete") {
if (empty($job)) $job = "";
if ($job == "") //确认提示
{
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$wintitle = "频道管理-删除模型";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::删除模型";
$win = new OxWindow();


+ 1
- 1
src/admin/mytag_edit.php View File

@@ -37,7 +37,7 @@ if ($dopost == 'delete') {
ShowMsg("成功修改一个自定义标记", $ENV_GOBACK_URL);
exit();
} else if ($dopost == "getjs") {
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$jscode = "<script src='{$cfg_phpurl}/mytag_js.php?aid=$aid' language='javascript'></script>";
$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>";
$showhtml .= "<b>预览:</b><iframe name='testfrm' frameborder='0' src='mytag_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='250'></iframe>";


+ 1
- 1
src/admin/plus_edit.php View File

@@ -23,7 +23,7 @@ if ($dopost == "show") {
if (empty($job)) $job = "";
if ($job == "") //确认提示
{
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$wintitle = "删除插件";
$wecome_info = "<a href='plus_main.php'>插件管理</a>::删除插件";
$win = new OxWindow();


+ 1
- 1
src/admin/public_guide.php View File

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($action)) $action = '';

/*--------------------


+ 1
- 1
src/admin/soft_add.php View File

@@ -40,7 +40,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(50, 200) : $cfg_arc_click);


+ 1
- 1
src/admin/soft_edit.php View File

@@ -79,7 +79,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($typeid2)) $typeid2 = 0;


+ 1
- 1
src/admin/spec_add.php View File

@@ -30,7 +30,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(50, 200) : $cfg_arc_click);


+ 1
- 1
src/admin/spec_edit.php View File

@@ -44,7 +44,7 @@ function __save(){ }
-------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$flag = isset($flags) ? join(',', $flags) : '';
$notpost = isset($notpost) && $notpost == 1 ? 1 : 0;
if (!isset($tags)) $tags = '';


+ 1
- 1
src/admin/sys_admin_user_edit.php View File

@@ -52,7 +52,7 @@ if ($dopost == 'saveedit') {
if ($userok != "yes") {
$randcode = mt_rand(10000, 99999);
$safecode = substr(md5($cfg_cookie_encode.$randcode), 0, 24);
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$wintitle = "删除用户";
$wecome_info = "<a href='sys_admin_user.php'>系统帐号管理</a>::删除用户";
$win = new OxWindow();


+ 1
- 1
src/admin/sys_repair.php View File

@@ -10,7 +10,7 @@
*/
require_once(dirname(__FILE__).'/config.php');
CheckPurview('sys_ArcBatch');
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
//ShowMsg("目前暂不需要此工具,以后有需要系统会进行自动升级这个程序<br><a href='index_body.php'>&lt;&lt;点击此返回&gt;&gt;</a>", "javascript:;");
//exit();
if (empty($dopost)) {


+ 2
- 2
src/admin/tpl.php View File

@@ -118,7 +118,7 @@ function _upload() {}
上传新模板
-----------------------*/
else if ($action == 'upload') {
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$acdir = str_replace('.', '', $acdir);
$win = new OxWindow();
make_hash();
@@ -225,7 +225,7 @@ else if ($action == 'savetagfile') {
ShowMsg('文件名不合法,不允许进行操作', '-1');
exit();
}
require_once(DEDEINC.'/oxwindow.class.php');
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$tagname = preg_replace("#\.lib\.php$#i", "", $filename);
$content = stripslashes($content);
$truefile = DEDEINC.'/taglib/'.$filename;


+ 1
- 1
src/system/common.inc.php View File

@@ -223,7 +223,7 @@ if ($cfg_sendmail_bysmtp == 'Y' && !empty($cfg_smtp_usermail)) {
$cfg_adminemail = $cfg_smtp_usermail;
}
//DedeBIZ商业化组件
require_once(DEDEINC.'/dedebiz.class.php');
require_once(DEDEINC.'/libraries/dedebiz.class.php');
//对全局分页传递参数进行过滤
if (isset($GLOBALS['PageNo'])) {
$GLOBALS['PageNo'] = intval($GLOBALS['PageNo']);


src/system/cli.class.php → src/system/libraries/cli.class.php View File


src/system/dedebiz.class.php → src/system/libraries/dedebiz.class.php View File


src/system/oxwindow.class.php → src/system/libraries/oxwindow.class.php View File


+ 1
- 1
src/user/archives_sg_add.php View File

@@ -52,7 +52,7 @@ function _SaveArticle(){ }
------------------------------*/
else if ($dopost == 'save') {
include_once(DEDEINC."/image.func.php");
include_once(DEDEINC."/oxwindow.class.php");
include_once(DEDEINC."/libraries/oxwindow.class.php");
$svali = GetCkVdValue();
if (preg_match("/3/", $safe_gdopen)) {
if (strtolower($vdcode) != $svali || $svali == '') {


+ 1
- 1
src/user/archives_sg_edit.php View File

@@ -46,7 +46,7 @@ function _SaveArticle(){ }
------------------------------*/
else if ($dopost == 'save') {
require_once(DEDEINC."/image.func.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$flag = '';
$typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;
$userip = GetIP();


+ 1
- 1
src/user/inc/archives_check.php View File

@@ -11,7 +11,7 @@
if (!defined('DEDEMEMBER')) exit('dedebiz');
include_once(DEDEINC.'/image.func.php');
include_once(DEDEINC.'/oxwindow.class.php');
include_once(DEDEINC.'/libraries/oxwindow.class.php');
$svali = GetCkVdValue();
if (strtolower($vdcode) != $svali || $svali == '') {


+ 1
- 1
src/user/inc/archives_check_edit.php View File

@@ -11,7 +11,7 @@
if (!defined('DEDEMEMBER')) exit('dedebiz');
require_once(DEDEINC."/image.func.php");
require_once(DEDEINC."/oxwindow.class.php");
require_once(DEDEINC."/libraries/oxwindow.class.php");
$flag = '';
$typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0;


Loading…
Cancel
Save