Browse Source

调整

tags/6.2.0
叙述、别离 1 year ago
parent
commit
7ac543b38e
7 changed files with 19 additions and 29 deletions
  1. +1
    -6
      src/admin/spec_add.php
  2. +1
    -6
      src/admin/spec_edit.php
  3. +6
    -6
      src/admin/templets/file_manage_main.htm
  4. +1
    -1
      src/admin/templets/index_body.htm
  5. +6
    -6
      src/admin/templets/member_scores.htm
  6. +2
    -2
      src/admin/templets/sys_safetest_viewdiff.htm
  7. +2
    -2
      src/admin/tpl.php

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

@@ -118,12 +118,7 @@ else if ($dopost == 'save') {
}
}
}
$notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\'
infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\'
name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\'
keywords=\\'$keywords\\' typeid=\\'$typeid\\'}
$listtmp
{/dede:specnote}\r\n";
$notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' keywords=\\'$keywords\\' typeid=\\'$typeid\\'} $listtmp {/dede:specnote}\r\n";
}
}
//分析处理附加表数据


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

@@ -165,12 +165,7 @@ else if ($dopost == 'save') {
}
}
}
$notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\'
infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\'
name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\'
keywords=\\'$keywords\\' typeid=\\'$ttypeid\\'}
$listtmp
{/dede:specnote}\r\n";
$notelist .= "{dede:specnote imgheight=\\'$imgheight\\' imgwidth=\\'$imgwidth\\' infolen=\\'$infolen\\' titlelen=\\'$titlelen\\' col=\\'$col\\' idlist=\\'$okids\\' name=\\'$notename\\' noteid=\\'$noteid\\' isauto=\'$isauto\' rownum=\\'$rownum\\' keywords=\\'$keywords\\' typeid=\\'$ttypeid\\'} $listtmp {/dede:specnote}\r\n";
}
}
//更新附加表


+ 6
- 6
src/admin/templets/file_manage_main.htm View File

@@ -10,11 +10,11 @@
</head>
<body>
<table cellspacing="1" cellpadding="2" align="center" class="table maintable icon my-3">
<tr align="center">
<td width="36%" bgcolor="#f5f5f5">文件名称</td>
<td width="12%" bgcolor="#f5f5f5">文件大小</td>
<td width="20%" bgcolor="#f5f5f5">修改时间</td>
<td width="30%" bgcolor="#f5f5f5">操作</td>
<tr bgcolor="#f5f5f5" align="center">
<td width="36%">文件名称</td>
<td width="12%">文件大小</td>
<td width="20%">修改时间</td>
<td width="30%">操作</td>
</tr>
<?php
$dh = scandir($inpath);
@@ -281,7 +281,7 @@
}
?>
<tr>
<td colspan="4" bgcolor="#f5f5f5">
<td bgcolor="#f5f5f5" colspan="4">
<?php if (!DEDEBIZ_SAFE_MODE) {?><a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a><?php }?>
<a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a>
<a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a>


+ 1
- 1
src/admin/templets/index_body.htm View File

@@ -61,7 +61,7 @@
</div>
</div>
</div>
<div class="col-md-6 my-3 updatenews">
<div class="col-md-6 my-3">
<div class="card">
<div class="card-header"><a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">软件:<?php echo $cfg_version_detail;?>|操作系统:<?php echo PHP_OS;?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP:<?php echo @phpversion();?>|数据库:<?php echo $dsql->GetVersion();?></span>


+ 6
- 6
src/admin/templets/member_scores.htm View File

@@ -28,12 +28,12 @@
<tr>
<td colspan="5" bgcolor="#f5f5f5">积分头衔设置</td>
</tr>
<tr>
<td width="6%" align="center" bgcolor="#e9ecef"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 反选</td>
<td width="23%" align="center" bgcolor="#e9ecef">积分大于</td>
<td width="30%" align="center" bgcolor="#e9ecef">星星数</td>
<td width="23%" align="center" bgcolor="#e9ecef">级别头衔</td>
<td width="30%" align="center" bgcolor="#e9ecef">是否默认</td>
<tr bgcolor="#e9ecef">
<td width="6%" align="center"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 反选</td>
<td width="23%" align="center">积分大于</td>
<td width="30%" align="center">星星数</td>
<td width="23%" align="center">级别头衔</td>
<td width="30%" align="center">是否默认</td>
</tr>
<?php foreach($Scores as $v) {?>
<tr onmousemove="javascript:this.bgColor='#e9ecef';" onmouseout="javascript:this.bgColor='#ffffff';">


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

@@ -17,8 +17,8 @@
sm = new difflib.SequenceMatcher(base, newtxt),
opcodes = sm.get_opcodes(),
diffoutputdiv = $("#diffoutput");
diffoutputdiv.html("")
diffoutputdiv.html(diffview.buildView({
diffoutputdiv.html("")
diffoutputdiv.html(diffview.buildView({
baseTextLines: base,
newTextLines: newtxt,
opcodes: opcodes,


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

@@ -228,8 +228,8 @@ else if ($action == 'savetagfile') {
$msg = "
<form name='form1' action='tag_test_action.php' target='blank' method='post'>
<input type='hidden' name='dopost' value='make' />
测试标签:(需要使用环境变量的不能在此测试)<br>
<textarea name='partcode' cols='150' rows='6' style='width:90%;'>{dede:{$tagname} }{/dede:{$tagname}}</textarea><br>
标签测试(环境变量标签不能测试)<br>
<textarea name='partcode' cols='150' rows='6' style='width:90%;'>{dede:{$tagname}}{/dede:{$tagname}}</textarea><br>
<button type='submit' name='B1' class='btn btn-success btn-sm'>确定</button>
</form>
";


Loading…
Cancel
Save