Browse Source

换回名称避免数据错误

tags/6.2.5
叙述、别离 2 years ago
parent
commit
67436e5d8a
9 changed files with 10 additions and 10 deletions
  1. +1
    -1
      src/admin/file_manage_control.php
  2. +1
    -1
      src/admin/file_manage_main.php
  3. +1
    -1
      src/admin/file_manage_view.php
  4. +1
    -1
      src/admin/inc/inc_action_info.php
  5. +2
    -2
      src/admin/inc/inc_menu.php
  6. +1
    -1
      src/admin/templets_main.php
  7. +1
    -1
      src/admin/templets_tagsource.php
  8. +1
    -1
      src/admin/tpl.php
  9. +1
    -1
      src/install/sql-dfdata.txt

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

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_file');
CheckPurview('plus_文件管理器');
require(DEDEINC."/libraries/oxwindow.class.php");
require_once(DEDEADMIN.'/file_class.php');
$activepath = str_replace("..", "", $activepath);


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

@@ -9,7 +9,7 @@
* @link https://www.dedebiz.com
*/
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_file');
CheckPurview('plus_文件管理器');
if (!isset($activepath)) $activepath = DEDEBIZ_SAFE_MODE? $cfg_medias_dir : $cfg_cmspath;
$inpath = "";
$activepath = str_replace("..", "", $activepath);


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

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


+ 1
- 1
src/admin/inc/inc_action_info.php View File

@@ -90,7 +90,7 @@ $actionSearch[2] = array(
2 => array(
'title' => '文件式管理器',
'description' => '应用文件浏览的模式进行附件的管理',
'purview' => 'plus_file',
'purview' => 'plus_文件管理器',
'linkurl' => 'media_main.php?dopost=filemanager'
),
)


+ 2
- 2
src/admin/inc/inc_menu.php View File

@@ -84,10 +84,10 @@ $menusMain = "<m:top item='1_' name='常用操作' icon='fa-desktop'>
<m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' />
<m:item name='标签管理' link='tags_main.php' rank='sys_Keyword' target='main' />
</m:top>
<m:top item='3_' name='附件管理' rank='sys_Upload,sys_MyUpload,plus_file' icon='fa-folder'>
<m:top item='3_' name='附件管理' rank='sys_Upload,sys_MyUpload,plus_文件管理器' icon='fa-folder'>
<m:item name='上传新文件' link='media_add.php' rank='' target='main' />
<m:item name='附件数据管理' link='media_main.php' rank='sys_Upload,sys_MyUpload' target='main' />
<m:item name='文件式管理器' link='media_main.php?dopost=filemanager' rank='plus_file' target='main' />
<m:item name='文件式管理器' link='media_main.php?dopost=filemanager' rank='plus_文件管理器' target='main' />
</m:top>
$adminMenu1
<m:top item='5_' name='批量维护' icon='fa-circle-o-notch'>


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

@@ -12,7 +12,7 @@ require_once(dirname(__FILE__).'/config.php');
if (DEDEBIZ_SAFE_MODE) {
die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER));
}
CheckPurview('plus_file');
CheckPurview('plus_文件管理器');
if (empty($acdir)) $acdir = $cfg_df_style;
$templetdir = $cfg_basedir.$cfg_templets_dir;
$templetdird = $templetdir.'/'.$acdir;


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

@@ -12,7 +12,7 @@ require_once(dirname(__FILE__).'/config.php');
if (DEDEBIZ_SAFE_MODE) {
die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER));
}
CheckPurview('plus_file');
CheckPurview('plus_文件管理器');
$libdir = DEDEINC.'/taglib';
$helpdir = DEDEINC.'/taglib/help';
//获取默认文件说明信息


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

@@ -12,7 +12,7 @@ require_once(dirname(__FILE__)."/config.php");
if (DEDEBIZ_SAFE_MODE) {
die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER));
}
CheckPurview('plus_file');
CheckPurview('plus_文件管理器');
$action = isset($action) ? trim($action) : '';
if (empty($acdir)) $acdir = $cfg_df_style;
$templetdir = $cfg_basedir.$cfg_templets_dir;


+ 1
- 1
src/install/sql-dfdata.txt View File

@@ -4090,7 +4090,7 @@ INSERT INTO `#@__sys_module` VALUES(1, '1f35620fb42d452fa2bdc1dee1690f92', '文
(4, 'acb8b88eb4a6d4bfc375c18534f9439e', '投票模块', '', '', 0, ''),
(5, '572606600345b1a4bb8c810bbae434cc', '挑错管理', '', '', 0, '');
INSERT INTO `#@__plus` VALUES(1, '文件管理器', '<m:item name=''文件管理器'' link=''file_manage_main.php'' rank=''plus_file'' target=''main'' />', '', 'DedeBIZ', 1, ''),
INSERT INTO `#@__plus` VALUES(1, '文件管理器', '<m:item name=''文件管理器'' link=''file_manage_main.php'' rank=''plus_文件管理器'' target=''main'' />', '', 'DedeBIZ', 1, ''),
(2, '友情链接模块', '<m:item name=''友情链接'' link=''friendlink_main.php'' rank=''plus_友情链接'' target=''main'' />', '', 'DedeBIZ', 1, ''),
(3, '广告管理', '<m:item name=''广告管理'' link=''ad_main.php'' rank=''plus_广告管理'' target=''main'' />', '', 'DedeBIZ', 1, ''),
(4, '投票模块', '<m:item name=''投票模块'' link=''vote_main.php'' rank=''plus_投票模块'' target=''main'' />', '', 'DedeBIZ', 1, ''),


Loading…
Cancel
Save