Browse Source

提示优化

tags/6.2.7
叙述、别离 1 year ago
parent
commit
90545e2a90
5 changed files with 18 additions and 18 deletions
  1. +1
    -1
      src/admin/inc/inc_action_info.php
  2. +1
    -1
      src/admin/inc/inc_menu.php
  3. +1
    -1
      src/admin/soft_config.php
  4. +13
    -13
      src/admin/sys_info.php
  5. +2
    -2
      src/admin/templets/sys_info.htm

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

@@ -316,7 +316,7 @@ $actionSearch[9] = array(
'description' => '后台系统设置',
'soniterm' => array(
0 => array(
'title' => '系统配置变量',
'title' => '系统变量配置',
'description' => '站点设置、核心设置、附件设置、会员设置、互动设置、性能选项、其它选项、添加新变量等功能设置',
'purview' => 'sys_Edit',
'linkurl' => 'sys_info.php'


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

@@ -58,7 +58,7 @@ if ($cuserLogin->getUserType() >= 10) {
<m:item name='支付接口设置' link='sys_payment.php' .php' rank='sys_Data' target='main' />
</m:top>
<m:top item='12_' name='系统设置' rank='sys_User,sys_Group,sys_Edit,sys_Log,sys_Data' icon='fa-cog'>
<m:item name='系统配置变量' link='sys_info.php' rank='sys_Edit' target='main' />
<m:item name='系统变量配置' link='sys_info.php' rank='sys_Edit' target='main' />
<m:item name='系统日志管理' link='log_list.php' rank='sys_Log' target='main' />
<m:item name='系统会员管理' link='sys_admin_user.php' rank='sys_User' target='main' />
<m:item name='系统会员组管理' link='sys_group.php' rank='sys_Group' target='main' />


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

@@ -1,6 +1,6 @@
<?php
/**
* 系统配置变量保存
* 系统变量配置保存
*
* @version $id:soft_config.php 16:09 2010年7月20日 tianya $
* @package DedeBIZ.Administrator


+ 13
- 13
src/admin/sys_info.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 系统配置变量
* 系统变量配置
*
* @version $id:sys_info.php 22:28 2010年7月20日 tianya $
* @package DedeBIZ.Administrator
@@ -54,7 +54,7 @@ if ($dopost == "save") {
$dsql->ExecuteNoneQuery("UPDATE `#@__sysconfig` SET `value`='$v' WHERE varname='$k' ");
}
ReWriteConfig();
ShowMsg("成功修改站点配置", "sys_info.php");
ShowMsg("成功修改系统变量配置", "sys_info.php");
exit();
}
//添加新变量
@@ -101,7 +101,7 @@ else if ($dopost == 'search') {
$configstr = <<<EOT
<table cellspacing="1" cellpadding="1" align="center" id="tdSearch" class="table maintable my-3">
<tr>
<td bgcolor="#f5f5f5" colspan="3">系统配置变量搜索</td>
<td bgcolor="#f5f5f5" colspan="3">系统变量配置搜索</td>
</tr>
<tr bgcolor="#e9ecef" align="center">
<td width="360">参数说明</td>
@@ -126,14 +126,14 @@ EOT;
$c1 = '';
$c2 = '';
$row['value'] == 'Y' ? $c1 = " checked" : $c2 = " checked";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='Y'$c1> 是 </label> ";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='N'$c2> 否 </label> ";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='Y'$c1> 是</label> ";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='N'$c2> 否</label> ";
} else if ($row['type'] == 'bstring') {
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='textarea_info' style='width:98%;height:50px'>".dede_htmlspecialchars($row['value'])."</textarea>";
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='admin-textarea-xl'>".dede_htmlspecialchars($row['value'])."</textarea>";
} else if ($row['type'] == 'number') {
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value='{$row['value']}' style='width:30%'>";
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value='{$row['value']}' class='w-50'>";
} else {
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value=\"".dede_htmlspecialchars($row['value'])."\" style='width:80%'>";
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value=\"".dede_htmlspecialchars($row['value'])."\" class='w-75'>";
}
?>
</td>
@@ -144,11 +144,11 @@ EOT;
?>
</table>
<?php
exit;
}
if ($i == 1) {
echo '<tr bgcolor="#f5f5f5" align="center"><td colspan="3">搜索不到参数</td></tr></table>';
}
exit;
}
if ($i == 1) {
echo '<tr bgcolor="#f5f5f5" align="center"><td colspan="3">搜索不到参数</td></tr></table>';
}
exit;
} else if ($dopost == 'make_encode') {
$chars = 'abcdefghigklmnopqrstuvwxwyABCDEFGHIGKLMNOPQRSTUVWXWY0123456789';


+ 2
- 2
src/admin/templets/sys_info.htm View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统配置变量</title>
<title>系统变量配置</title>
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -96,7 +96,7 @@
?>
<table cellspacing="1" cellpadding="1" align="center" id="td<?php echo $n?>" class="table maintable mb-3" style="<?php if ($n!=$gp) echo 'display:none';?>">
<tr>
<td bgcolor="#f5f5f5" colspan="3">系统配置变量</td>
<td bgcolor="#f5f5f5" colspan="3">系统变量配置</td>
</tr>
<tr bgcolor="#e9ecef" align="center">
<td width="360">变量说明</td>


Loading…
Cancel
Save