Explorar el Código

修正

tags/6.1.8
xushubieli hace 3 años
padre
commit
8b2df2124e
Se han modificado 50 ficheros con 99 adiciones y 497 borrados
  1. +1
    -1
      src/admin/templets/ad_edit.htm
  2. +1
    -1
      src/admin/templets/album_add.htm
  3. +1
    -1
      src/admin/templets/album_edit.htm
  4. +1
    -1
      src/admin/templets/archives_add.htm
  5. +1
    -1
      src/admin/templets/archives_edit.htm
  6. +1
    -1
      src/admin/templets/archives_sg_add.htm
  7. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  8. +1
    -1
      src/admin/templets/article_description_main.htm
  9. +1
    -1
      src/admin/templets/article_keywords_make.htm
  10. +1
    -1
      src/admin/templets/article_test_same.htm
  11. +1
    -1
      src/admin/templets/cards_make.htm
  12. +2
    -2
      src/admin/templets/content_batch_up.htm
  13. +1
    -1
      src/admin/templets/diy_field_add.htm
  14. +1
    -1
      src/admin/templets/diy_main.htm
  15. +2
    -2
      src/admin/templets/freelist_edit.htm
  16. +3
    -3
      src/admin/templets/log_list.htm
  17. +1
    -1
      src/admin/templets/makehtml_all.htm
  18. +1
    -1
      src/admin/templets/makehtml_archives.htm
  19. +1
    -1
      src/admin/templets/makehtml_freelist.htm
  20. +1
    -1
      src/admin/templets/makehtml_homepage.htm
  21. +1
    -1
      src/admin/templets/makehtml_js.htm
  22. +1
    -1
      src/admin/templets/makehtml_list.htm
  23. +1
    -1
      src/admin/templets/makehtml_rss.htm
  24. +1
    -1
      src/admin/templets/makehtml_spec.htm
  25. +1
    -1
      src/admin/templets/makehtml_taglist.htm
  26. +1
    -1
      src/admin/templets/member_main.htm
  27. +1
    -1
      src/admin/templets/member_pm.htm
  28. +1
    -1
      src/admin/templets/member_pmall.htm
  29. +1
    -1
      src/admin/templets/member_pmone.htm
  30. +1
    -1
      src/admin/templets/member_scores.htm
  31. +1
    -1
      src/admin/templets/member_type.htm
  32. +1
    -1
      src/admin/templets/module_edit.htm
  33. +1
    -1
      src/admin/templets/module_make.htm
  34. +15
    -19
      src/admin/templets/module_upload.htm
  35. +3
    -3
      src/admin/templets/mychannel_add.htm
  36. +3
    -3
      src/admin/templets/mychannel_edit.htm
  37. +10
    -10
      src/admin/templets/mychannel_field_edit.htm
  38. +18
    -28
      src/admin/templets/mychannel_modifysearch.htm
  39. +1
    -1
      src/admin/templets/plus_edit.htm
  40. +1
    -1
      src/admin/templets/search_keywords_main.htm
  41. +1
    -1
      src/admin/templets/sys_admin_user.htm
  42. +1
    -1
      src/admin/templets/sys_cache_up.htm
  43. +3
    -3
      src/admin/templets/sys_data.htm
  44. +1
    -1
      src/admin/templets/sys_data_replace.htm
  45. +1
    -1
      src/admin/templets/sys_data_revert.htm
  46. +1
    -1
      src/admin/templets/tag_test.htm
  47. +1
    -1
      src/admin/templets/tpl_edit.htm
  48. +0
    -384
      src/admin/testenv.php
  49. +1
    -1
      src/theme/plus/flink-add.htm
  50. +1
    -1
      src/user/templets/album_edit.htm

+ 1
- 1
src/admin/templets/ad_edit.htm Ver fichero

@@ -44,7 +44,7 @@
</script>
</head>
<body>
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> &gt; 修改广告</td>
</tr>


+ 1
- 1
src/admin/templets/album_add.htm Ver fichero

@@ -63,7 +63,7 @@ table{border-collapse:separate}
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</td>
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/album_edit.htm Ver fichero

@@ -63,7 +63,7 @@ table{border-collapse:separate}
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</td>
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_add.htm Ver fichero

@@ -39,7 +39,7 @@ table{border-collapse:separate}
<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_edit.htm Ver fichero

@@ -36,7 +36,7 @@ table{border-collapse:separate}
<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</td>
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_sg_add.htm Ver fichero

@@ -40,7 +40,7 @@ table{border-collapse:separate}
<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</td>
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_sg_edit.htm Ver fichero

@@ -37,7 +37,7 @@ table{border-collapse:separate}
<body>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</td>
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</td>
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/article_description_main.htm Ver fichero

@@ -63,7 +63,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/article_keywords_make.htm Ver fichero

@@ -33,7 +33,7 @@
<a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-success btn-sm">自动获取关键词</a>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/article_test_same.htm Ver fichero

@@ -63,7 +63,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="30">结果:</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/cards_make.htm Ver fichero

@@ -75,7 +75,7 @@ $dsql->Close();
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 2
- 2
src/admin/templets/content_batch_up.htm Ver fichero

@@ -62,7 +62,7 @@
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="180" height="18" style="padding-left:10px">文档批量维护</td>
<td width="30%" style="padding-left:10px">文档批量维护</td>
<td align="right"></td>
</tr>
</table>
@@ -147,7 +147,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/diy_field_add.htm Ver fichero

@@ -74,7 +74,7 @@ function GetFields()
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; 增加新字段</td>
<td width="30%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> &gt; 增加新字段</td>
<td align="right">
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button>
</td>


+ 1
- 1
src/admin/templets/diy_main.htm Ver fichero

@@ -13,7 +13,7 @@
<td class="tbtitletxt" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" class="py-3"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td>
<td width="30%" style="padding-left:10px"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td>
<td align="right"></td>
</tr>
</table>


+ 2
- 2
src/admin/templets/freelist_edit.htm Ver fichero

@@ -57,8 +57,8 @@
<td height="26" background="../static/web/img/tbg.gif">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless">
<tr>
<td width="35%" height="18" align="left" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> &gt; 修改自由列表</td>
<td width="65%" align="right"></td>
<td width="30%" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> &gt; 修改自由列表</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>


+ 3
- 3
src/admin/templets/log_list.htm Ver fichero

@@ -46,8 +46,8 @@
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="20%" height="18" style="padding-left:10px">管理系统日志</td>
<td width="80%" align="right"></td>
<td width="30%" style="padding-left:10px">管理系统日志</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
@@ -124,7 +124,7 @@
<button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="36" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/makehtml_all.htm Ver fichero

@@ -84,7 +84,7 @@ function SelUp(){
<td height="30" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_archives.htm Ver fichero

@@ -58,7 +58,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_freelist.htm Ver fichero

@@ -44,7 +44,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td width="24%">结果:</td>
<td width="76%" align="right">
<script language='javascript'>


+ 1
- 1
src/admin/templets/makehtml_homepage.htm Ver fichero

@@ -127,7 +127,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_js.htm Ver fichero

@@ -69,7 +69,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_list.htm Ver fichero

@@ -56,7 +56,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_rss.htm Ver fichero

@@ -30,7 +30,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_spec.htm Ver fichero

@@ -30,7 +30,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/makehtml_taglist.htm Ver fichero

@@ -76,7 +76,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/member_main.htm Ver fichero

@@ -130,7 +130,7 @@
<button type="button" onClick="delArc(0);" class="btn btn-success btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能)
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/member_pm.htm Ver fichero

@@ -67,7 +67,7 @@
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#f8f8f8">
<tr>
<td height="36" colspan="9" align="center"> {dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/member_pmall.htm Ver fichero

@@ -61,7 +61,7 @@
</form>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="9" align="center"></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/member_pmone.htm Ver fichero

@@ -65,7 +65,7 @@
</form>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="9" align="center"></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/member_scores.htm Ver fichero

@@ -56,7 +56,7 @@
<?php
}
?>
<tr bgcolor="#f8f8f8">
<tr>
<td>新增:</td>
<td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td>
<td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td>


+ 1
- 1
src/admin/templets/member_type.htm Ver fichero

@@ -78,7 +78,7 @@
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="5">&nbsp;新增一个会员产品类型:</td>
</tr>
<tr height="26" align="center">


+ 1
- 1
src/admin/templets/module_edit.htm Ver fichero

@@ -189,7 +189,7 @@ td{padding-left:8px}
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td colspan="2" align="center" class="py-3">
<button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button>
<button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button>


+ 1
- 1
src/admin/templets/module_make.htm Ver fichero

@@ -173,7 +173,7 @@
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td colspan="2" align="center" class="py-3">
<div class="alert alert-info">制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a></div>
<button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button>


+ 15
- 19
src/admin/templets/module_upload.htm Ver fichero

@@ -3,6 +3,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
@@ -13,35 +15,29 @@
<td height="26" colspan="2" style="padding-left:10px"><a href="plus_main.php">模块管理</a> &gt; 模块打包</td>
</tr>
<tr>
<td width="20%" align="center">插件名称</td>
<td width="80%"><input name="plusname" type="text" id="plusname">
</td>
<td width="260" height="26">插件名称</td>
<td height="26"><input name="plusname" type="text" id="plusname"> </td>
</tr>
<tr>
<td align="center">作者</td>
<td> <input name="writer" type="text" id="writer"></td>
<td height="26">作者</td>
<td height="26"><input name="writer" type="text" id="writer"></td>
</tr>
<tr>
<td align="center">主程序文件</td>
<td><input name="link" type="text" id="link" size="30"></td>
<td height="26">主程序文件</td>
<td height="26"><input name="link" type="text" id="link" size="30"></td>
</tr>
<tr>
<td align="center">目标框架</td>
<td><input name="target" type="text" id="target" value="main"></td>
<td height="26">目标框架</td>
<td height="26"><input name="target" type="text" id="target" value="main"></td>
</tr>
<tr>
<td align="center">文件列表</td>
<td>文件用&quot;,&quot;分开,路径相对于管理目录(当前目录)<br>
<td height="26">文件列表</td>
<td height="26">文件用&quot;,&quot;分开,路径相对于管理目录(当前目录)<br>
<textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td>
</tr>
<tr bgcolor="#F9FDF0">
<td height="26" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30%"></td>
<td><input name="imageField" type="submit" class="coolbg np" value="提交"></td>
<td><input type="button" name="button" id="button" value="返回" onClick="location='plus_main.php';" class="coolbg np"></td>
</tr>
</table>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">确定</button>
</td>
</tr>
</form>


+ 3
- 3
src/admin/templets/mychannel_add.htm Ver fichero

@@ -47,11 +47,11 @@
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mychannel_main.php">内容模型管理</a> &gt; 新增内容模型</td>
</tr>
<tr>
<td width="35%">
<td width="30%">
频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span>
</td>
<td width="65%">
<td width="70%">
<input name="id" type="text" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> *
</td>
</tr>
@@ -232,7 +232,7 @@
<input name="usermancon" type="text" id="usermancon" value="content_list.php" class="pubinputs">
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>


+ 3
- 3
src/admin/templets/mychannel_edit.htm Ver fichero

@@ -115,10 +115,10 @@
</td>
</tr>
<tr>
<td width="35%">频道ID<br>
<td width="30%">频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span>
</td>
<td width="65%"><?php echo $row['id']; ?></td>
<td width="70%"><?php echo $row['id']; ?></td>
</tr>
<tr>
<td>名字标识<br>
@@ -360,7 +360,7 @@ if($ft==1)
</tr>
</table>
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>


+ 10
- 10
src/admin/templets/mychannel_field_edit.htm Ver fichero

@@ -60,11 +60,11 @@
padding-left: 6px;
}

.STYLE1 {
.style1 {
color: #FF3300
}

.STYLE2 {
.style2 {
color: #424b51
}

@@ -90,7 +90,7 @@
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px"><a href="mychannel_main.php">频道管理</a> &gt; 查看/修改字段</td>
<td width="30%" style="padding-left:10px"><a href="mychannel_main.php">频道管理</a> &gt; 查看修改字段</td>
<td align="right">
<button type="button" name="ss1" class="btn btn-success btn-sm" onClick="location='mychannel_edit.php?id=<?php echo $id?>&dopost=edit';">当前模型信息</button>
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">内容模型管理</button>
@@ -102,19 +102,19 @@
<?php if($row['issystem']==1){ ?>
<tr>
<td colspan="2">
<span class="STYLE1">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</span></td>
<span class="style1">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</span></td>
</tr>
<?php } ?>
<tr>
<td>表单提示文字:<br>
<span class="STYLE2">发布内容时显示的提示文字</span></td>
<span class="style2">发布内容时显示的提示文字</span></td>
<td>
<input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs">
*(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
<span class="STYLE2">只能用英文字母或数字,数据表的真实字段名</span></td>
<span class="style2">只能用英文字母或数字,数据表的真实字段名</span></td>
<td width="72%" style="table-layout:fixed;word-break:break-all">
<?php echo $fname?> </td>
</tr>
@@ -180,7 +180,7 @@
</tr>
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"'; ?>>
<td>内容模型:<br>
<span class="STYLE2">
<span class="style2">
选择关联内容对应的内容模型
</span>
</td>
@@ -206,7 +206,7 @@
</tr>
<tr>
<td>内容是否需要分页符:<br>
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split"
@@ -218,13 +218,13 @@
</tr>
<tr>
<td>默认值:<br>
<span class="STYLE2">
<span class="style2">
如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="STYLE2"> 文本数据必须填写,大于255为text类型 </span></td>
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td>
<td>
<input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td>
</tr>


+ 18
- 28
src/admin/templets/mychannel_modifysearch.htm Ver fichero

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.STYLE1 {
.style1 {
color: #dc3545
}
td {
@@ -17,7 +17,7 @@
padding-left: 6px;
line-height: 150%;
}
.STYLE2 {
.style2 {
color: #424b51;
}
</style>
@@ -37,59 +37,49 @@
</td>
</tr>
<tr>
<td width="30%" height="26" align="left">频道ID:</td>
<td width="70%"><?php echo $mid; ?></td>
<td width="260" height="26">频道ID:</td>
<td height="26"><?php echo $mid; ?></td>
</tr>
<tr>
<td height="26" align="left">频道名称:<br></td>
<td>
<?php echo $channel['typename']?>
</td>
<td height="26">频道名称:<br></td>
<td height="26"><?php echo $channel['typename']?></td>
</tr>
<?php
if($channel['issystem'] >= 0) {
?>
<tr>
<td align="left">主表可供自定义搜索的字段<br>
<span class="STYLE2" id="help2">标题、关键词、摘要为默认选项,不用选择 </span>
</td>
<td>
<?php echo $mainfields; ?>
<td height="26">主表可供自定义搜索的字段<br>
<span class="style2" id="help2">标题、关键词、摘要为默认选项,不用选择 </span>
</td>
<td height="26"><?php echo $mainfields; ?></td>
</tr>
<?php
}
?>
<tr>
<td height="26" align="left">附件表可供自定义搜索的字段:<br>
<span class="STYLE2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span>
<td height="26">附件表可供自定义搜索的字段:<br>
<span class="style2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span>
</td>
<td><?php echo $addonfields; ?></td>
</tr>
<tr>
<td align="left">自定义搜索结果页模板<br>
<span class="STYLE2" id="help5" style="display:none">只填写文件名,且文件必须在templets/default目录中</span>
<td height="26">自定义搜索结果页模板<br>
<span class="style2" id="help5" style="display:none">只填写文件名,且文件必须在templets/default目录中</span>
</td>
<td><input type="text" name="template" value="<?php echo $template; ?>" style="width:260px"></td>
</tr>
<tr>
<td height="26" colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</table>
<td align="center" colspan="2" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2" bgcolor="#f8f8f8">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">&nbsp;&nbsp;结果:</td>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {


+ 1
- 1
src/admin/templets/plus_edit.htm Ver fichero

@@ -8,7 +8,7 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="plus_edit.php" method="post">
<input type='hidden' name='dopost' value='saveedit'>
<input type='hidden' name='aid' value='<?php echo $aid?>'>


+ 1
- 1
src/admin/templets/search_keywords_main.htm Ver fichero

@@ -141,7 +141,7 @@ function ReloadPageNum(startnum) {
<div class="main" align="center">
<table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#f8f8f8" class="table maintable mt-3 mb-3">
<tr>
<td width="30%" align="left" style="padding-left:10px">搜索关键词维护</td>
<td width="30%" style="padding-left:10px">搜索关键词维护</td>
<td align="right"><button class="btn btn-success btn-sm" name="n1" type="button" id="n1" onClick="location='article_keywords_main.php';">文档关键词维护</button></td>
</tr>
</table>


+ 1
- 1
src/admin/templets/sys_admin_user.htm Ver fichero

@@ -54,7 +54,7 @@
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#f8f8f8">
<tr>
<td height="36" colspan="5" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/sys_cache_up.htm Ver fichero

@@ -41,7 +41,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 3
- 3
src/admin/templets/sys_data.htm Ver fichero

@@ -147,7 +147,7 @@
echo "</tr>";
}
?>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="8">其它数据表:</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
@@ -201,7 +201,7 @@
<button name="b3" type="button" id="b3" class="btn btn-success btn-sm" onClick="NoneSel()">取消</button>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="8">数据备份选项:</td>
</tr>
<tr align="center">
@@ -225,7 +225,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="8">结果:</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/sys_data_replace.htm Ver fichero

@@ -126,7 +126,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/sys_data_revert.htm Ver fichero

@@ -59,7 +59,7 @@
<td height="26" colspan="4" background="../static/web/img/tbg.gif">
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="30%">数据还原</td>
<td width="30%" style="padding-left:10px">数据还原</td>
<td width="70%" align="right">
<a href="sys_data.php" class="btn btn-success btn-sm">数据备份</a>
<a href="sys_sql_query.php" class="btn btn-success btn-sm">SQL命令行工具</a>


+ 1
- 1
src/admin/templets/tag_test.htm Ver fichero

@@ -71,7 +71,7 @@
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8">
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>


+ 1
- 1
src/admin/templets/tpl_edit.htm Ver fichero

@@ -60,7 +60,7 @@
<td>文件名称</td>
<td><input name=filename value="<?php echo $filename; ?>" style="width:260px">(不允许用 “..” 形式的路径)</td>
</tr>
<tr bgcolor="#f8f8f8">
<tr>
<td colspan='2' hieght="30" style="padding-left:10px">参考标签:</td>
</tr>
<tr>


+ 0
- 384
src/admin/testenv.php Ver fichero

@@ -1,384 +0,0 @@
<?php
@set_time_limit(0);
/**
* 系统运行环境检测
*
* @version $Id: testenv.php 13:57 2011/11/10 tianya $
* @package DedeBIZ.Administrator
* @copyright Copyright (c) 2022, DedeBIZ.COM
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Edit');
$action = isset($action) ? $action : '';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['cfg_soft_lang']; ?>">
<title>系统运行目录权限检测</title>
<link rel="stylesheet" href="../static/web/css/admin.css" />
<link rel="stylesheet" href="css/indexbody.css" />
<script type="text/javascript" src="../static/web/js/jquery.min.js"></script>
</head>
<body>
<?php
if (!function_exists('TestWriteable')) {
//检测是否可写
function TestWriteable($d, $c = TRUE)
{
$tfile = '_write_able.txt';
$d = preg_replace("/\/$/", '', $d);
$fp = @fopen($d.'/'.$tfile, 'w');
if (!$fp) {
if ($c == false) {
@chmod($d, 0777);
return false;
} else return TestWriteable($d, true);
} else {
fclose($fp);
return @unlink($d.'/'.$tfile) ? true : false;
}
}
}
if (!function_exists('TestExecuteable')) {
//检查是否具目录可执行
function TestExecuteable($d = '.', $siteuRL = '', $rootDir = '')
{
$testStr = '<'.chr(0x3F).'p'.chr(hexdec(68)).chr(112)."\n\r";
$filename = md5($d).'.php';
$testStr .= 'function test(){ echo md5(\''.$d.'\');}'."\n\rtest();\n\r";
$testStr .= chr(0x3F).'>';
$reval = false;
if (empty($rootDir)) $rootDir = DEDEROOT;
if (TestWriteable($d)) {
@file_put_contents($d.'/'.$filename, $testStr);
$remoteUrl = $siteuRL.'/'.str_replace($rootDir, '', str_replace("\\", '/', realpath($d))).'/'.$filename;
$tempStr = @PostHost($remoteUrl);

$reval = (md5($d) == trim($tempStr)) ? true : false;
unlink($d.'/'.$filename);
return $reval;
} else {
return -1;
}
}
}
if (!function_exists('PostHost')) {
function PostHost($host, $data = '', $method = 'GET', $showagent = null, $port = null, $timeout = 30)
{
$parse = @parse_url($host);
if (empty($parse)) return false;
if ((int)$port > 0) {
$parse['port'] = $port;
} elseif (!@$parse['port']) {
$parse['port'] = '80';
}
$parse['host'] = str_replace(array('http://', 'https://'), array('', 'ssl://'), "$parse[scheme]://").$parse['host'];
if (!$fp = @fsockopen($parse['host'], $parse['port'], $errnum, $errstr, $timeout)) {
return false;
}
$method = strtoupper($method);
$wlength = $wdata = $responseText = '';
$parse['path'] = str_replace(array('\\', '//'), '/', @$parse['path'])."?".@$parse['query'];
if ($method == 'GET') {
$separator = @$parse['query'] ? '&' : '';
substr($data, 0, 1) == '&' && $data = substr($data, 1);
$parse['path'] .= $separator.$data;
} elseif ($method == 'POST') {
$wlength = "Content-length: ".strlen($data)."\r\n";
$wdata = $data;
}
$write = "$method $parse[path] HTTP/1.0\r\nHost: $parse[host]\r\nContent-type: application/x-www-form-urlencoded\r\n{$wlength}Connection: close\r\n\r\n$wdata";
@fwrite($fp, $write);
while ($data = @fread($fp, 4096)) {
$responseText .= $data;
}
@fclose($fp);
empty($showagent) && $responseText = trim(stristr($responseText, "\r\n\r\n"), "\r\n");
return $responseText;
}
}
$allPath = array();
$needDir = "$cfg_medias_dir|
$cfg_image_dir|
$ddcfg_image_dir|
$cfg_user_dir|
$cfg_soft_dir|
$cfg_other_medias|
$cfg_medias_dir/flink|
$cfg_cmspath/data|
$cfg_cmspath/data/$cfg_backup_dir|
$cfg_cmspath/data/textdata|
$cfg_cmspath/data/sessions|
$cfg_cmspath/data/tplcache|
$cfg_cmspath/data/admin|
$cfg_cmspath/data/enums|
$cfg_cmspath/data/mark|
$cfg_cmspath/data/module|
$cfg_cmspath/data/rss|
$cfg_special|
$cfg_cmspath$cfg_arcdir";
$needDir = explode('|', $needDir);
foreach ($needDir as $key => $val) {
$allPath[trim($val)] = array(
'read' => true, //读取
'write' => true, //写入
'execute' => false //执行
);
}
//所有栏目目录
$sql = "SELECT typedir FROM #@__arctype ORDER BY id DESC";
$dsql->SetQuery($sql);
$dsql->Execute('al', $sql);
while ($row = $dsql->GetArray('al')) {
$typedir = str_replace($cfg_basehost, '', $row['typedir']);
if (preg_match("/^http:|^ftp:/i", $row['typedir'])) continue;
$typedir = str_replace("{cmspath}", $cfg_cmspath, $row['typedir']);
$allPath[trim($typedir)] = array(
'read' => true, //读取
'write' => true, //写入
'execute' => false //执行
);
}
//只允许读取,不允许写入的目录
$needDir = array(
'include',
'member',
'plus',
);
//获取子目录
function GetSondir($d, &$dirname = array())
{
$dh = dir($d);
while ($filename = $dh->read()) {
if (
substr($filename, 0, 1) == '.' || is_file($d.'/'.$filename) ||
preg_match("#^(svn|bak-)#i", $filename)
) {
continue;
}
if (is_dir($d.'/'.$filename)) {
$dirname[] = $d.'/'.$filename;
GetSondir($d.'/'.$filename, $dirname);
}
}
$dh->close();
return $dirname;
}
//获取所有文件列表
function preg_ls($path = ".", $rec = FALSE, $pat = "/.*/", $ignoredir = '')
{
while (substr($path, -1, 1) == "/") {
$path = substr($path, 0, -1);
}
if (!is_dir($path)) {
$path = dirname($path);
}
if ($rec !== TRUE) {
$rec = FALSE;
}
$d = dir($path);
$ret = array();
while (FALSE !== ($e = $d->read())) {
if (($e == ".") || ($e == "..")) {
continue;
}
if ($rec && is_dir($path."/".$e) && ($ignoredir == '' || strpos($ignoredir, $e) === FALSE)) {
$ret = array_merge($ret, preg_ls($path."/".$e, $rec, $pat, $ignoredir));
continue;
}
if (!preg_match($pat, $e)) {
continue;
}
$ret[] = $path."/".$e;
}
return (empty($ret) && preg_match($pat, basename($path))) ? array($path."/") : $ret;
}
foreach ($needDir as $key => $val) {
$allPath[trim('/'.$val)] = array(
'read' => true, //读取
'write' => false, //写入
'execute' => true //执行
);
$sonDir = GetSondir(DEDEROOT.'/'.$val);
foreach ($sonDir as $kk => $vv) {
$vv = trim(str_replace(DEDEROOT, '', $vv));
$allPath[$vv] = array(
'read' => true, //读取
'write' => false, //写入
'execute' => true //执行
);
}
}
//不需要执行的
$needDir = array(
'/images',
'/templets'
);
foreach ($needDir as $key => $val) {
$allPath[trim('/'.$val)] = array(
'read' => true, //读取
'write' => false, //写入
'execute' => false //执行
);
$sonDir = GetSondir(DEDEROOT.'/'.$val);
foreach ($sonDir as $kk => $vv) {
$vv = trim(str_replace(DEDEROOT.'/', '', $vv));
$allPath[$vv] = array(
'read' => true, //读取
'write' => false, //写入
'execute' => false //执行
);
}
}
//所有js建议只读
$jsDir = array(
'/images',
'/templets',
'/include'
);
foreach ($jsDir as $k => $v) {
$jsfiles = preg_ls(DEDEROOT.$v, TRUE, "/.*\.(js)$/i");
foreach ($jsfiles as $k => $v) {
$vv = trim(str_replace(DEDEROOT.'/', '/', $v));
$allPath[$vv] = array(
'read' => true, //读取
'write' => false, //写入
'execute' => false //执行
);
}
}
?>
<div id="safemsg">
<dl style="margin-left:0.5%;margin-right:0.5%; width:97%" id="item1" class="dbox">
<dt class="lside"><span class="l" style="float:left">系统运行目录权限检测</span><span style="float:right; margin-right:20px"><a href="index_body.php">返回主页</a></span><span style="float:right; margin-right:20px"><a href="https://www.dedebiz.com/help" target="_blank">帮助说明</a></span></dt>
<dd>
<div style="padding:10px"> 说明:本程序用于检测DedeBIZ站点所涉及的目录权限,并且提供一个全面的检测说明,您可以根据检测报告来配置站点以保证站点更为安全</div>
<div id="tableHeader" style="margin-left:10px">
<table width="784" border="0" cellpadding="0" cellspacing="1" bgcolor="#047700" id="scanTable">
<thead>
<tr>
<td width="40%" height="26" align="center" bgcolor="#E3F1D1">目录</td>
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">执行</td>
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">读取</td>
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">写入</td>
</tr>
</thead>
</table>
</div>
<div id="safelist" style="margin-left:10px">
<div class="install" id="log" style="height: 260px; overflow: auto;">
<table width="784" border="0" cellpadding="0" cellspacing="1" bgcolor="#047700" id="scanTable">
<tbody id="mainList">
</tbody>
</table>
</div>
</div>
</dd>
</dl>
</div>
<div style="margin: 0 auto; width:200px"><a href="javascript:startScan();"><img src="images/btn_scan.gif" width="154" height="36" /></a></div>
<script type="text/javascript">
$ = jQuery;
var log = "<?php
foreach ($allPath as $key => $val) {
if (is_dir(DEDEROOT.$key)) {
?><?php echo $key; ?>|<?php
$rs = TestExecuteable(DEDEROOT.$key, $cfg_basehost, $cfg_cmspath);
if ($rs === -1) {
echo "<span style='color:#dc3545'>无法判断</span>";
} else {
if ($val['execute'] == true)
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>";
else
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:#28a745'>正常(不可执行)</span>";
}
?>|<?php
if ($val['read'] == true)
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>";
else
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>";
?>|<?php
if ($val['write'] == true)
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>";
else
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>";
?><dedecms><?php
} else {
?><?php echo $key; ?>|无需判断|<?php
if ($val['read'] == true)
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>";
else
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>";
?>|<?php
if ($val['write'] == true)
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>";
else
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>";
?><dedecms><?php
}
}
?>";
var n = 0;
var timer = 0;
log = log.split('<dedecms>');

function GoPlay() {
if (n > log.length - 1) {
n = -1;
clearIntervals();
}
if (n > -1) {
postcheck(n);
n++;
}
}

function postcheck(n) {
var item = log[n];
item = item.split('|');

document.getElementById('log').scrollTop = document.getElementById('log').scrollHeight;
if (item == '') {
return false;
}
var tempvar = '<tr>\r<td width="40%" height="26">' + item[0] + '</td>\r<td width="20%" height="26" align="center" bgcolor="#FEF7C5">' + item[1] + '</td>\r <td width="20%" height="26" align="center">\r' + item[2] + '</td>\r<td width="20%" height="26" align="center">\r' + item[3] + '</td>\r </tr>';

//chiledelem.innerHTML = tempvar;
//document.getElementById("mainList").appendChild(chiledelem);
$("#mainList").append(tempvar);
document.getElementById('log').scrollTop = document.getElementById('log').scrollHeight;
}

function setIntervals() {
timer = setInterval('GoPlay()', 50);
}

function clearIntervals() {
clearInterval(timer);
//document.getElementById('install').submit();
alert('全部检测完毕,您可以按照检测结果进行系统权限调整');
}
//setTimeout(setIntervals, 100);


function changeHeight() {
var newheight = $(window).height() - 170;
$("#safelist").css('height', newheight + 'px');
var logheight = newheight;
$("#log").css('height', logheight + 'px');
}
//开始检测
function startScan() {
setTimeout(setIntervals, 100);
}
$.ready = function() {
changeHeight();
$(window).resize(function() {
changeHeight();
});
};
</script>
</body>

+ 1
- 1
src/theme/plus/flink-add.htm Ver fichero

@@ -29,7 +29,7 @@
<div class="formbox">
<form name="form1" method="post" action="flink.php">
<input type='hidden' name='dopost' value='save'>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="table">
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="table">
<tr>
<td height="26">网址:</td>
<td><input name="url" type="text" id="url" value="http://" size="30" class="ipt-txt"></td>


+ 1
- 1
src/user/templets/album_edit.htm Ver fichero

@@ -113,7 +113,7 @@
?>
<table width='98%' align="center">
<tr>
<td height="18"><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1'>
<td><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1'>
显示/隐藏图片[<?php echo $j; ?>]的选框 </td>
</tr>
</table>


Cargando…
Cancelar
Guardar