Selaa lähdekoodia

移除...

tags/6.1.0^2
xushubieli 3 vuotta sitten
vanhempi
commit
31a01010d1
97 muutettua tiedostoa jossa 184 lisäystä ja 184 poistoa
  1. +2
    -2
      src/admin/article_description_main.php
  2. +5
    -5
      src/admin/article_keywords_make.php
  3. +1
    -1
      src/admin/article_template_rand.php
  4. +4
    -4
      src/admin/catalog_do.php
  5. +3
    -3
      src/admin/content_batchup_action.php
  6. +1
    -1
      src/admin/dialog/select_mimages.php
  7. +2
    -2
      src/admin/inc/inc_action_info.php
  8. +7
    -7
      src/admin/inc/inc_archives_all.php
  9. +1
    -1
      src/admin/inc/inc_menu.php
  10. +1
    -1
      src/admin/inc/inc_menu_map.php
  11. +1
    -1
      src/admin/js/mode/xml/index.html
  12. +2
    -2
      src/admin/makehtml_archives_action.php
  13. +1
    -1
      src/admin/makehtml_freelist_action.php
  14. +2
    -2
      src/admin/makehtml_homepage.php
  15. +1
    -1
      src/admin/makehtml_list_action.php
  16. +1
    -1
      src/admin/makehtml_map.php
  17. +1
    -1
      src/admin/makehtml_taglist_action.php
  18. +2
    -2
      src/admin/module_main.php
  19. +1
    -1
      src/admin/mychannel_edit.php
  20. +2
    -2
      src/admin/stepselect_main.php
  21. +5
    -5
      src/admin/sys_cache_up.php
  22. +1
    -1
      src/admin/sys_payment.php
  23. +1
    -1
      src/admin/sys_repair.php
  24. +1
    -1
      src/admin/tags_main.php
  25. +4
    -4
      src/admin/task_do.php
  26. +1
    -1
      src/admin/templets/ad_add.htm
  27. +1
    -1
      src/admin/templets/ad_edit.htm
  28. +1
    -1
      src/admin/templets/ad_main.htm
  29. +4
    -4
      src/admin/templets/album_add.htm
  30. +3
    -3
      src/admin/templets/album_edit.htm
  31. +2
    -2
      src/admin/templets/archives_add.htm
  32. +1
    -1
      src/admin/templets/archives_edit.htm
  33. +1
    -1
      src/admin/templets/archives_sg_add.htm
  34. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  35. +1
    -1
      src/admin/templets/article_add.htm
  36. +2
    -2
      src/admin/templets/article_coonepage_rule.htm
  37. +5
    -5
      src/admin/templets/catalog_add.htm
  38. +2
    -2
      src/admin/templets/catalog_add_quick.htm
  39. +5
    -5
      src/admin/templets/catalog_edit.htm
  40. +1
    -1
      src/admin/templets/catalog_main.htm
  41. +1
    -1
      src/admin/templets/catalog_menu.htm
  42. +1
    -1
      src/admin/templets/catalog_menu2.htm
  43. +1
    -1
      src/admin/templets/content_batch_up.htm
  44. +2
    -2
      src/admin/templets/content_i_list.htm
  45. +1
    -1
      src/admin/templets/content_s_list.htm
  46. +1
    -1
      src/admin/templets/content_select_list.htm
  47. +1
    -1
      src/admin/templets/content_sg_list.htm
  48. +5
    -5
      src/admin/templets/freelist_add.htm
  49. +3
    -3
      src/admin/templets/freelist_edit.htm
  50. +2
    -2
      src/admin/templets/freelist_main.htm
  51. +4
    -4
      src/admin/templets/index_body.htm
  52. +3
    -3
      src/admin/templets/makehtml_archives.htm
  53. +1
    -1
      src/admin/templets/makehtml_homepage.htm
  54. +3
    -3
      src/admin/templets/makehtml_js.htm
  55. +4
    -4
      src/admin/templets/makehtml_list.htm
  56. +2
    -2
      src/admin/templets/makehtml_rss.htm
  57. +2
    -2
      src/admin/templets/makehtml_spec.htm
  58. +1
    -1
      src/admin/templets/makehtml_taglist.htm
  59. +1
    -1
      src/admin/templets/module_help.htm
  60. +1
    -1
      src/admin/templets/module_main.htm
  61. +2
    -2
      src/admin/templets/mynews_add.htm
  62. +3
    -3
      src/admin/templets/mynews_edit.htm
  63. +3
    -3
      src/admin/templets/mytag_tag_guide.htm
  64. +3
    -3
      src/admin/templets/search_keywords_main.htm
  65. +2
    -2
      src/admin/templets/soft_add.htm
  66. +1
    -1
      src/admin/templets/soft_edit.htm
  67. +4
    -4
      src/admin/templets/spec_add.htm
  68. +3
    -3
      src/admin/templets/spec_edit.htm
  69. +1
    -1
      src/admin/templets/stepselect_main.htm
  70. +2
    -2
      src/admin/templets/sys_admin_user_tj.htm
  71. +1
    -1
      src/admin/templets/sys_data_replace.htm
  72. +1
    -1
      src/admin/templets/sys_data_revert.htm
  73. +1
    -1
      src/admin/templets/sys_safetest.htm
  74. +1
    -1
      src/admin/templets/tag_test.htm
  75. +1
    -1
      src/include/arc.archives.class.php
  76. +2
    -2
      src/include/cli.class.php
  77. +1
    -1
      src/include/common.func.php
  78. +7
    -7
      src/include/customfields.func.php
  79. +1
    -1
      src/include/dedetag.class.php
  80. +1
    -1
      src/include/dedetemplate.class.php
  81. +1
    -1
      src/include/helpers/channelunit.helper.php
  82. +1
    -1
      src/include/helpers/test.helper.php
  83. +1
    -1
      src/include/qrcode/phpqrcode.php
  84. +1
    -1
      src/include/qrcode/qrspec.php
  85. +1
    -1
      src/include/splitword.class.php
  86. +1
    -1
      src/install/sql-dfdata.txt
  87. +1
    -1
      src/member/config.php
  88. +2
    -2
      src/member/index_do.php
  89. +1
    -1
      src/member/templets/album_add.htm
  90. +1
    -1
      src/member/templets/archives_add.htm
  91. +1
    -1
      src/member/templets/archives_sg_add.htm
  92. +1
    -1
      src/member/templets/article_add.htm
  93. +1
    -1
      src/member/templets/soft_add.htm
  94. +2
    -2
      src/templets/plus/list_diyform.htm
  95. +1
    -1
      src/templets/system/list_fulllist.htm
  96. +1
    -1
      src/templets/system/part_autochannel.htm
  97. +1
    -1
      src/templets/system/part_channelartlist.htm

+ 2
- 2
src/admin/article_description_main.php Näytä tiedosto

@@ -82,7 +82,7 @@ if ($dojob == '') {
}
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务...";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务";
$nurl = "article_description_main.php?totalnum=$totalnum&startdd={$startdd}&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}";
ShowMsg($tjsta, $nurl, 0, 500);
exit();
@@ -143,7 +143,7 @@ if ($dojob == '') {
}
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务...";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务";

if ($tjnum < $totalnum) {
$nurl = "article_description_main.php?totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}";


+ 5
- 5
src/admin/article_keywords_make.php Näytä tiedosto

@@ -15,7 +15,7 @@ CheckPurview('sys_Keyword');
if (empty($dopost)) $dopost = '';
//分析已存在的关键字(适用于默认的文章模型)
if ($dopost == 'analyse') {
echo "正在读取关键字数据库...<br>\r\n";
echo "正在读取关键字数据库<br>\r\n";
flush();
$ws = $wserr = $wsnew = "";
$dsql->SetQuery("SELECT * FROM `#@__keywords`");
@@ -26,7 +26,7 @@ if ($dopost == 'analyse') {
}
echo "完成关键字数据库的载入<br>\r\n";
flush();
echo "读取档案数据库,并对禁用的关键字和生字进行处理...<br>\r\n";
echo "读取档案数据库,并对禁用的关键字和生字进行处理<br>\r\n";
flush();
$dsql->SetQuery("SELECT id,keywords FROM `#@__archives`");
$dsql->Execute();
@@ -57,10 +57,10 @@ if ($dopost == 'analyse') {
echo "完成档案数据库的处理<br>\r\n";
flush();
if (is_array($wsnew)) {
echo "对关键字进行排序...<br>\r\n";
echo "对关键字进行排序<br>\r\n";
flush();
arsort($wsnew);
echo "把关键字保存到数据库...<br>\r\n";
echo "把关键字保存到数据库<br>\r\n";
flush();
foreach ($wsnew as $k => $v) {
if (strlen($k) > 20) {
@@ -189,7 +189,7 @@ else if ($dopost == 'fetch') {

$dvlen = $tjlen * 2;
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,位置:{$startdd},继续执行任务...";
$tjsta .= "<br>完成处理文档总数的:$tjlen %,位置:{$startdd},继续执行任务";

if ($tjnum < $totalnum) {
$nurl = "article_keywords_make.php?dopost=fetch&totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize";


+ 1
- 1
src/admin/article_template_rand.php Näytä tiedosto

@@ -91,7 +91,7 @@ function DoRand(jobname)
}
</script>
<div id='loading' style='z-index:3000;top:160;left:300;position:absolute;display:none;'>
<img src='images/loadinglit.gif' /> 请稍后,正在操作中...
<img src='images/loadinglit.gif' /> 请稍后,正在操作中
</div>
<table width='98%' align='center'>
<tr>


+ 4
- 4
src/admin/catalog_do.php Näytä tiedosto

@@ -95,7 +95,7 @@ else if ($dopost == "viewSgPage") {
require_once(DEDEINC."/arc.listview.class.php");
$lv = new ListView($cid);
$pageurl = $lv->MakeHtml();
ShowMsg("更新缓冲,请稍后...", $pageurl);
ShowMsg("更新缓冲,请稍后", $pageurl);
exit();
}
/*------------------------
@@ -117,7 +117,7 @@ else if ($dopost == "upRank") {
$dsql->ExecuteNoneQuery("UPDATE #@__arctype SET sortrank='$sortrank' WHERE id='$cid'");
}
UpDateCatCache();
ShowMsg("操作成功,返回目录...", "catalog_main.php");
ShowMsg("操作成功,返回目录", "catalog_main.php");
exit();
} else if ($dopost == "upRankAll") {
//检查权限许可
@@ -132,7 +132,7 @@ else if ($dopost == "upRank") {
}
}
UpDateCatCache();
ShowMsg("操作成功,正在返回...", "catalog_main.php");
ShowMsg("操作成功,正在返回", "catalog_main.php");
exit();
}
/*--------------------------
@@ -164,7 +164,7 @@ else if ($dopost == "upcatcache") {
$doarray[$tb] = 1;
}
}
ShowMsg("操作成功,正在返回...", "catalog_main.php");
ShowMsg("操作成功,正在返回", "catalog_main.php");
exit();
}
/*---------------------


+ 3
- 3
src/admin/content_batchup_action.php Näytä tiedosto

@@ -69,7 +69,7 @@ if ($action == 'check') {
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET arcrank=0 WHERE id='{$row->id}'");
}
}
ShowMsg("完成数据库的审核处理,准备更新HTML...", $jumpurl);
ShowMsg("完成数据库的审核处理,准备更新HTML", $jumpurl);
exit();
}
//批量删除
@@ -156,9 +156,9 @@ else if ($action == 'move') {
$jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$startid";
$jumpurl .= "&typeid=$newtypeid&pagesize=20&seltime=$seltime";
$jumpurl .= "&stime=".urlencode($starttime)."&etime=".urlencode($endtime);
ShowMsg("成功移动 $tdd 条记录,准备重新生成HTML...", $jumpurl);
ShowMsg("成功移动 $tdd 条记录,准备重新生成HTML", $jumpurl);
} else {
ShowMsg("完成操作,没移动任何数据...", "javascript:;");
ShowMsg("完成操作,没移动任何数据", "javascript:;");
}
}
//删除空标题内容


+ 1
- 1
src/admin/dialog/select_mimages.php Näytä tiedosto

@@ -190,7 +190,7 @@ button+button{margin-left:10px}
document.querySelectorAll('#file_list li.up-no').forEach((el,i)=>{
el.classList ? el.classList.add('up-now') : el.className+=' up-now';
});
e.target.innerText='上传中...';
e.target.innerText='上传中';
upAllFiles(0);
}
});


+ 2
- 2
src/admin/inc/inc_action_info.php Näytä tiedosto

@@ -301,7 +301,7 @@ $actionSearch[8] = array(
'linkurl' => 'makehtml_list.php'
),
2 => array(
'title' => '更新文档HTML',
'title' => '更新文档H',
'description' => '对每个栏目下的文档进行静态HTML页面的生成',
'purview' => 'sys_MakeHtml',
'linkurl' => 'makehtml_archives.php'
@@ -313,7 +313,7 @@ $actionSearch[8] = array(
'linkurl' => 'makehtml_map_guide.php'
),
4 => array(
'title' => '更新RSS文件 HTML',
'title' => '更新订阅 HTML',
'description' => '对全站的RSS进行更新',
'purview' => 'sys_MakeHtml',
'linkurl' => 'makehtml_rss.php'


+ 7
- 7
src/admin/inc/inc_archives_all.php Näytä tiedosto

@@ -84,22 +84,22 @@ function GetFormItem($ctag)
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "img") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "addon") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
@@ -309,17 +309,17 @@ function GetFormItemValue($ctag, $fvalue)
}
$ntag = $ndtp->GetTag("img");
$fvalue = trim($ntag->GetInnerText());
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "addon") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;


+ 1
- 1
src/admin/inc/inc_menu.php Näytä tiedosto

@@ -111,7 +111,7 @@ $adminMenu1
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新网站地图' link='makehtml_map_guide.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' />
<m:item name='获取脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' />
</m:top>


+ 1
- 1
src/admin/inc/inc_menu_map.php Näytä tiedosto

@@ -68,7 +68,7 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'>
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新网站地图' link='makehtml_map_guide.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' />
<m:item name='获取脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' />
</m:top>


+ 1
- 1
src/admin/js/mode/xml/index.html Näytä tiedosto

@@ -32,7 +32,7 @@
&lt;/head&gt;
&lt;body&gt;
The indentation tries to be &lt;em&gt;somewhat &amp;quot;do what
I mean&amp;quot;&lt;/em&gt;... but might not match your style.
I mean&amp;quot;&lt;/em&gt; but might not match your style.
&lt;/body&gt;
&lt;/html&gt;
</textarea></form>


+ 2
- 2
src/admin/makehtml_archives_action.php Näytä tiedosto

@@ -81,7 +81,7 @@ $ttime = number_format(($ttime / 60), 2);
$tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100;
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>";
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的:$tjlen %,继续执行任务...";
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的:$tjlen %,继续执行任务";
if ($tjnum < $totalnum) {
$nurl = "makehtml_archives_action.php?endid=$endid&startid=$startid&typeid=$typeid";
$nurl .= "&totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize";
@@ -95,7 +95,7 @@ if ($tjnum < $totalnum) {
if ($uptype == '') {
ShowMsg("完成所有创建任务,生成文件:$totalnum 总用时:{$ttime} 分钟", "javascript:;");
} else {
ShowMsg("完成文档HTML更新任务,现在开始进行主页更新...", "makehtml_all.php?action=make&step=3&uptype=$uptype&mkvalue=$mkvalue");
ShowMsg("完成文档HTML更新任务,现在开始进行主页更新", "makehtml_all.php?action=make&step=3&uptype=$uptype&mkvalue=$mkvalue");
}
}
}

+ 1
- 1
src/admin/makehtml_freelist_action.php Näytä tiedosto

@@ -58,7 +58,7 @@ if ($nextpage == $totalpage) {
ShowMsg("成功创建列表:".$tid.",继续进行操作", $gourl, 0, 100);
} else {
$gourl = "makehtml_freelist_action.php?mkpage=$mkpage&maxpagesize=$maxpagesize&startid=$startid&endid=$endid&pageno=$pageno";
ShowMsg("列表:".$tid.",继续进行操作...", $gourl, 0, 100);
ShowMsg("列表:".$tid.",继续进行操作", $gourl, 0, 100);
}
}
$dsql->ExecuteNoneQuery("Update `#@__freelist` set nodefault='1' where aid='$startid';");

+ 2
- 2
src/admin/makehtml_homepage.php Näytä tiedosto

@@ -78,12 +78,12 @@ if ($dopost == "view") {
$pv->SetTemplet($cfg_basedir.$cfg_templets_dir."/".$templet);
$pv->SaveToHtml($homeFile);
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>";
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新首页:".$homeFile." <a href='{$position}' target='_blank' class='btn btn-success btn-sm'>浏览...</a></div>";
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新首页:".$homeFile." <a href='{$position}' target='_blank' class='btn btn-success btn-sm'>浏览</a></div>";
} else {
//动态浏览
if (file_exists($homeFile)) @unlink($homeFile);
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>";
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览:<a href='../index.php' target='_blank' class='btn btn-success btn-sm'>浏览...</a></div>";
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览:<a href='../index.php' target='_blank' class='btn btn-success btn-sm'>浏览</a></div>";
}
$iquery = "UPDATE `#@__homepageset` SET showmod='$showmod'";
$dsql->ExecuteNoneQuery($iquery);


+ 1
- 1
src/admin/makehtml_list_action.php Näytä tiedosto

@@ -115,7 +115,7 @@ if ($nextpage >= $totalpage && $finishType) {
exit();
} else {
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno";
ShowMsg("栏目:".$tid.",继续进行操作...", $gourl, 0, 100);
ShowMsg("栏目:".$tid.",继续进行操作", $gourl, 0, 100);
exit();
}
}

+ 1
- 1
src/admin/makehtml_map.php Näytä tiedosto

@@ -32,5 +32,5 @@ $dtp->LoadTemplet($tmpfile);
$dtp->SaveTo($cfg_basedir.$murl);
$dtp->Clear();
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>";
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览...</a></div>";
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览</a></div>";
exit();

+ 1
- 1
src/admin/makehtml_taglist_action.php Näytä tiedosto

@@ -99,7 +99,7 @@ if (is_array($tag) && count($tag) > 0) {
} else {
//继续当前这个
$gourl = "makehtml_taglist_action.php?mkpage=$mkpage&maxpagesize=$maxpagesize&tagid=$tagid&pageno=$pageno&upall=$upall&ctagid=$ctagid";
ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作...", $gourl, 0, 100);
ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作", $gourl, 0, 100);
exit();
}
}


+ 2
- 2
src/admin/module_main.php Näytä tiedosto

@@ -269,7 +269,7 @@ else if ($action == 'setupstart') {
$rflwft .= "</script>";
echo $rflwft;
UpDateCatCache();
ShowMsg('模块安装完成...', 'module_main.php');
ShowMsg('模块安装完成', 'module_main.php');
exit();
}
}
@@ -433,7 +433,7 @@ else if ($action == 'uninstallok') {
$rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n";
$rflwft .= "</script>";
echo $rflwft;
ShowMsg('模块卸载完成...', 'module_main.php');
ShowMsg('模块卸载完成', 'module_main.php');
exit();
}
}


+ 1
- 1
src/admin/mychannel_edit.php Näytä tiedosto

@@ -270,7 +270,7 @@ else if ($dopost == "copysave") {
}
$rs = $dsql->ExecuteNoneQuery($inquery);
if ($rs) {
ShowMsg("成功复制模型,现转到详细参数页... ", "mychannel_edit.php?id={$newid}&dopost=edit");
ShowMsg("成功复制模型,现转到详细参数页 ", "mychannel_edit.php?id={$newid}&dopost=edit");
exit();
} else {
$errv = $dsql->GetError();


+ 2
- 2
src/admin/stepselect_main.php Näytä tiedosto

@@ -174,12 +174,12 @@ else if ($action == 'exarea') {
function __addenum_save() { }
关于二级枚举的说明,为了节省查询速度,二级枚举是通过特殊算法生成的,原理为
凡是能被 500 整除的都是一级枚举,(500 * n) + 1 < em < 500 * (n+1) 为下级枚举
如:1000 的下级枚举对应的值为 1001,1002,1003...1499
如:1000 的下级枚举对应的值为 1001,1002,10031499
对于 issign=1 的,表示这个类别只有一级枚举,则不受上面的算法限制
------------------------------------------------------------------------
更新算法:
新增二级枚举下添加"-N"自己类别选择,例如:
1001二级枚举下面的3级类目,则为1001-1,1001-2...
1001二级枚举下面的3级类目,则为1001-1,1001-2
这时候需要issign=2
---------------------*/
else if ($action == 'addenum_save') {


+ 5
- 5
src/admin/sys_cache_up.php Näytä tiedosto

@@ -23,7 +23,7 @@ if ($dopost == "ok") {
else if ($step == 1) {
UpDateCatCache();
ClearOptCache();
ShowMsg("成功更新栏目缓存,及后台栏目选项,准备更新枚举缓存...", "sys_cache_up.php?dopost=ok&step=2&uparc=$uparc");
ShowMsg("成功更新栏目缓存,及后台栏目选项,准备更新枚举缓存", "sys_cache_up.php?dopost=ok&step=2&uparc=$uparc");
exit();
}
//更新枚举缓存
@@ -31,17 +31,17 @@ if ($dopost == "ok") {
include_once(DEDEINC."/enums.func.php");
WriteEnumsCache();
//WriteAreaCache(); 已过期
ShowMsg("成功更新枚举缓存,准备更新调用缓存...", "sys_cache_up.php?dopost=ok&step=3&uparc=$uparc");
ShowMsg("成功更新枚举缓存,准备更新调用缓存", "sys_cache_up.php?dopost=ok&step=3&uparc=$uparc");
exit();
}
//清理arclist调用缓存、过期会员访问历史、过期短信
else if ($step == 3) {
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$cfg_soft_lang.'">';
$dsql->ExecuteNoneQuery("DELETE FROM `#@__arccache`");
echo "\n成功更新arclist调用缓存,准备清理过期会员访问历史...<hr />";
echo "\n成功更新arclist调用缓存,准备清理过期会员访问历史<hr />";
$oldtime = time() - (90 * 24 * 3600);
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_pms` WHERE sendtime<'$oldtime' ");
echo "成功清理过期短信,准备修正错误文档,这可能要占较长的时间...";
echo "成功清理过期短信,准备修正错误文档,这可能要占较长的时间";
if ($uparc == 1) {
echo "<script language='javascript'>location='sys_cache_up.php?dopost=ok&step=9';</script>";
} else {
@@ -51,7 +51,7 @@ if ($dopost == "ok") {
}
//修正错误文档
else if ($step == 9) {
ShowMsg('修正错误文档操作已经取消,后台系统:系统错误修复中操作...', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000);
ShowMsg('修正错误文档操作已经取消,后台系统:系统错误修复中操作', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000);
exit();
}
}

+ 1
- 1
src/admin/sys_payment.php Näytä tiedosto

@@ -27,7 +27,7 @@ $pid = (empty($pid)) ? 0 : intval($pid);
[iterm]=>'1:使用标准双接口,使用担保交易接口', //如果含有":",则前面为value值,后面为显示内容
[value]=>'使用担保交易接口',
),
...
)
使用方法:
将上述的格式传入到数组中去,然后进行解析:


+ 1
- 1
src/admin/sys_repair.php Näytä tiedosto

@@ -112,7 +112,7 @@ else if ($dopost == 2) {
} else {
$sql = " TRUNCATE TABLE `#@__arctiny`";
$dsql->ExecuteNoneQuery($sql);
$msg .= "<span style='color:#dc3545'>两者记录不一致,尝试进行简单修正...</span><br>";
$msg .= "<span style='color:#dc3545'>两者记录不一致,尝试进行简单修正</span><br>";
//导入普通模型微数据
$sql = "INSERT INTO `#@__arctiny`(id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid)
SELECT id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid FROM `#@__archives` ";


+ 1
- 1
src/admin/tags_main.php Näytä tiedosto

@@ -146,6 +146,6 @@ else if ($action == 'fetch') {
}
$start = $start + 100;
$goto = "tags_main.php?action=fetch&startaid=$startaid&endaid=$endaid&start=$start";
ShowMsg('继续获取tags ...', $goto, 0, 500);
ShowMsg('继续获取tags ', $goto, 0, 500);
exit();
}

+ 4
- 4
src/admin/task_do.php Näytä tiedosto

@@ -71,7 +71,7 @@ if ($dopost == 'makeprenext') {
exit();
} else {
$jumpurl = GetNextUrl();
ShowMsg("完成下篇文档更新任务 继续执行其它任务...", $jumpurl, 0, 500);
ShowMsg("完成下篇文档更新任务 继续执行其它任务", $jumpurl, 0, 500);
exit();
}
}
@@ -104,7 +104,7 @@ if ($dopost == 'makeindex') {
exit();
} else {
$jumpurl = GetNextUrl();
ShowMsg("完成主页更新 现在跳转到其它更新任务...", $jumpurl, 0, 500);
ShowMsg("完成主页更新 现在跳转到其它更新任务", $jumpurl, 0, 500);
exit();
}
}
@@ -145,7 +145,7 @@ else if ($dopost == 'makeparenttype') {
if (!empty($doposttmp)) {
$jumpurl = preg_replace("#doposttmp|nextdotmp#", 'del', $jumpurl);
$jumpurl .= "&dopost={$doposttmp}&nextdo={$nextdotmp}";
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,继续执行后续任务...</b>", $jumpurl, 0, 500);
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,继续执行后续任务</b>", $jumpurl, 0, 500);
exit();
} else {
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,完成所有更新任务</b>", "close::tgtable");
@@ -154,7 +154,7 @@ else if ($dopost == 'makeparenttype') {
} else {
$curpage++;
$jumpurl .= "&curpage={$curpage}&dopost=makeparenttype";
ShowMsg("完成栏目:{$tid} 更新,继续更新其它栏目...", $jumpurl, 0, 500);
ShowMsg("完成栏目:{$tid} 更新,继续更新其它栏目", $jumpurl, 0, 500);
exit();
}
}

+ 1
- 1
src/admin/templets/ad_add.htm Näytä tiedosto

@@ -96,7 +96,7 @@
<tr>
<td height="26" align="center">广告分类:</td>
<td colspan="2"><select name='clsid' style='width:150' id="clsid">
<option value='0'>默认分类...</option>
<option value='0'>默认分类</option>
<?php echo $option;?>
</select></td>
</tr>


+ 1
- 1
src/admin/templets/ad_edit.htm Näytä tiedosto

@@ -62,7 +62,7 @@
<tr>
<td height="26" align="center">广告分类:</td>
<td colspan="2"><select name='clsid' style='width:150' id="clsid">
<option value='0'>默认分类...</option>
<option value='0'>默认分类</option>

<?php echo $option;?>



+ 1
- 1
src/admin/templets/ad_main.htm Näytä tiedosto

@@ -26,7 +26,7 @@
<tr>
<td width='90' align='center'>请选择分类:</td>
<td width='124'><select name='clsid' style='width:150' id="clsid">
<option value='0'>默认分类...</option>
<option value='0'>默认分类</option>

<?php echo $option;?>



+ 4
- 4
src/admin/templets/album_add.htm Näytä tiedosto

@@ -186,7 +186,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择栏目...</option>\r\n";
echo "<option value='0'>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
@@ -291,7 +291,7 @@ table{border-collapse:separate}
<tr>
<td width="100">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'>
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览...</button>
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" />
处理后删除压缩文件</label></td>
</tr>
@@ -307,7 +307,7 @@ table{border-collapse:separate}
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
<br>
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里...</div>
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
@@ -454,7 +454,7 @@ table{border-collapse:separate}
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键字:</td>
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览...</button></td>
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button></td>
</tr>
</table>
</td>


+ 3
- 3
src/admin/templets/album_edit.htm Näytä tiedosto

@@ -180,7 +180,7 @@ table{border-collapse:separate}
<td><?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类...</option>\r\n";
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类</option>\r\n";
echo $typeOptions;
echo '</select>';
?>
@@ -416,7 +416,7 @@ if($cfg_need_typeid2=='Y') {
<tr>
<td width="100">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'>
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览...</button>
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" />
处理后删除压缩文件</label>
</td>
@@ -433,7 +433,7 @@ if($cfg_need_typeid2=='Y') {
<br>把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
<br>
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里...</div>
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/archives_add.htm Näytä tiedosto

@@ -169,7 +169,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择栏目...</option>\r\n";
echo "<option value='0'>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
@@ -333,7 +333,7 @@ table{border-collapse:separate}
<td width="450"><input type='text' name="keywords" id="keywords" style="width:80%" value="" /></td>
<td width="260"><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>
自动获取,手动填写用","分开</label><br>
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览...</button>
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_edit.htm Näytä tiedosto

@@ -165,7 +165,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目...</option>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/admin/templets/archives_sg_add.htm Näytä tiedosto

@@ -154,7 +154,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择栏目...</option>\r\n";
echo "<option value='0'>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?></span>


+ 1
- 1
src/admin/templets/archives_sg_edit.htm Näytä tiedosto

@@ -144,7 +144,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目...</option>\r\n";
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/admin/templets/article_add.htm Näytä tiedosto

@@ -229,7 +229,7 @@ table{border-collapse:separate}
<td width="90">&nbsp;关键字:</td>
<td width="450">
<input type='text' name="keywords" id="keywords" style="width:80%" value="<?php echo $keywords; ?>">
<button type="button" name="Submit" style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览...</button>
<button type="button" name="Submit" style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览</button>
</td>
<td>
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?>>&nbsp;自动获取,手动填写用","分开</label><br>


+ 2
- 2
src/admin/templets/article_coonepage_rule.htm Näytä tiedosto

@@ -23,7 +23,7 @@
//编辑
function EditNode(nid) {
$DE('editNode').style.display = 'block';
var myajax = new DedeAjax($DE('editNodeBody'), false, true, "", "", "请稍候,正在载入...");
var myajax = new DedeAjax($DE('editNodeBody'), false, true, "", "", "请稍候,正在载入");
myajax.SendGet2('article_coonepage_rule.php?action=editload&id=' + nid);
DedeXHTTP = null;
}
@@ -145,7 +145,7 @@
</table>
<!-- 下面是隐藏的栏目增加/修改表单 -->
<div id="editNode">
<span id='editNodeBody'>请稍候,正在载入...</span>
<span id='editNodeBody'>请稍候,正在载入</span>
</div>

<div id="addNode">


+ 5
- 5
src/admin/templets/catalog_add.htm Näytä tiedosto

@@ -242,14 +242,14 @@ function CheckCross() {
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
<td>
<input name="litpic" type="text" class="alltxt" size="40">
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litpic');">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" class="alltxt" size="40">
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litimg');">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
@@ -430,7 +430,7 @@ function CheckCross() {
<td height="26" style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" size="40" class="alltxt">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览...</button>
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')">
</td>
</tr>
@@ -438,14 +438,14 @@ function CheckCross() {
<td height="26" style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" size="40" class="alltxt">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览...</button>
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" size="40" class="alltxt">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览...</button>
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
<tr id='helpvar2' style='display:none'>


+ 2
- 2
src/admin/templets/catalog_add_quick.htm Näytä tiedosto

@@ -156,7 +156,7 @@
<td class='bline' height="26" style="padding-left:10px">隶属栏目:</td>
<td class='bline'>
<select name='reid' onchange="showSeltype(this)">
<option value='0'>选择所属目录... </option>
<option value='0'>选择所属目录 </option>
<?php echo $typeOptions;?>
</select>
(默认为顶级栏目)
@@ -227,7 +227,7 @@
<tr bgcolor="#FBFCE2" align="center">
<td width="60" height="26">排序</td>
<td width="170">顶级栏目名称</td>
<td width="520">子栏目(用&quot;目录名称1,目录名称2...&quot;这样表示多个栏目)</td>
<td width="520">子栏目(用&quot;目录名称1,目录名称2&quot;这样表示多个栏目)</td>
<td width="250" align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button>
</td>
</tr>


+ 5
- 5
src/admin/templets/catalog_edit.htm Näytä tiedosto

@@ -215,14 +215,14 @@ function CheckCross() {
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
<td>
<input name="litpic" type="text" class="alltxt" size="40" value="<?php echo $myrow['litpic']?>">
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litpic');">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" class="alltxt" size="40" value="<?php echo $myrow['litimg']?>">
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litimg');">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
@@ -354,7 +354,7 @@ function CheckCross() {
<td height="26" style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" size="40" class="iptxt">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览...</button>
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')">
</td>
</tr>
@@ -362,14 +362,14 @@ function CheckCross() {
<td height="26" style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" size="40" class="iptxt">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览...</button>
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" size="40" class="iptxt">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览...</button>
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
<tr id='helpvar2' style='display:none'>


+ 1
- 1
src/admin/templets/catalog_main.htm Näytä tiedosto

@@ -156,7 +156,7 @@ $tu->ListAllType($userChannel,$opendir);
<tr>
<td height="36" bgcolor="#FFFFFF" align="right" class="py-3" style="padding-right:10px">
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button>
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">获取脚本</button>
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">更新脚本</button>
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button>
<button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button>
</td>


+ 1
- 1
src/admin/templets/catalog_menu.htm Näytä tiedosto

@@ -11,7 +11,7 @@
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
var myajax = new DedeAjax($DE(ctid),true,true,'','x','...');
var myajax = new DedeAjax($DE(ctid),true,true,'','x','');
myajax.SendGet('catalog_do.php?dopost=GetSunListsMenu&cid='+tid);
} else { if(document.all) showHide(ctid); }
}


+ 1
- 1
src/admin/templets/catalog_menu2.htm Näytä tiedosto

@@ -13,7 +13,7 @@
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
var myajax = new DedeAjax($DE(ctid),true,true,'','x','...');
var myajax = new DedeAjax($DE(ctid),true,true,'','x','');
myajax.SendGet('catalog_do.php?dopost=GetSunListsMenu&cid='+tid);
}
else{ if(document.all) showHide(ctid); }


+ 1
- 1
src/admin/templets/content_batch_up.htm Näytä tiedosto

@@ -75,7 +75,7 @@
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300'>\r\n";
echo "<option value='0' selected>不限栏目...</option>\r\n";
echo "<option value='0' selected>不限栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 2
- 2
src/admin/templets/content_i_list.htm Näytä tiedosto

@@ -133,7 +133,7 @@
<td width='160' align='center'>请选择类目:</td>
<td width='160'>
<select name='cid' style='width:150'>
<option value='0'>选择分类...</option>
<option value='0'>选择分类</option>
{dede:global.optionarr/}
</select>
</td>
@@ -145,7 +145,7 @@
</td>
<td width='110'>
<select name='orderby' style='width:80px'>
<option value='id'>排序...</option>
<option value='id'>排序</option>
<option value='pubdate'>更新时间</option>
<option value='sortrank'>置顶权值</option>
<option value='click'>点击量</option>


+ 1
- 1
src/admin/templets/content_s_list.htm Näytä tiedosto

@@ -193,7 +193,7 @@
<td width='160' align='center'>请选择类目:</td>
<td width='160'>
<select name='cid' style='width:150'>
<option value='0'>选择分类...</option>
<option value='0'>选择分类</option>
<?php echo $optionarr?>
</select>
</td>


+ 1
- 1
src/admin/templets/content_select_list.htm Näytä tiedosto

@@ -109,7 +109,7 @@
<td width='160' align='center'>请选择类目:</td>
<td width='160'>
<select name='cid' style='width:150px'>
<option value='0'>选择分类...</option>
<option value='0'>选择分类</option>
<?php echo $optionarr?>
</select>
</td>


+ 1
- 1
src/admin/templets/content_sg_list.htm Näytä tiedosto

@@ -281,7 +281,7 @@
<td width='160' align='center'>请选择类目:</td>
<td width='160'>
<select name='cid' style='width:150'>
<option value='0'>选择分类...</option>
<option value='0'>选择分类</option>
{dede:global.optionarr/}
</select>
</td>


+ 5
- 5
src/admin/templets/freelist_add.htm Näytä tiedosto

@@ -65,7 +65,7 @@
</div>
<div class="col-12 description py-2">
<a href="[field:arcurl/]">
[field:description/]...
[field:description/]
</a>
</div>
<div class="col-12 addinfo">
@@ -118,7 +118,7 @@
<td height="30" align="left">列表模板:</td>
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="{style}/list_free.htm">
<button type="button" name="set4" style="width:60px"
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td>
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td>
</tr>
<tr>
<td height="30" align="left">最大列出页数:</td>
@@ -174,7 +174,7 @@
<td height="26" align="left"> 限定栏目:
<?php
echo "<select name='typeid' style='width:100'>\r\n";
echo "<option value='0'>不限栏目...</option>\r\n";
echo "<option value='0'>不限栏目</option>\r\n";
$dsql->SetQuery("Select ID,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
@@ -192,7 +192,7 @@
<td height="26" align="left"> 限定频道:
<?php
echo "<select name='channel' style='width:100'>\r\n";
echo "<option value='0' selected>不限...</option>\r\n";
echo "<option value='0' selected>不限</option>\r\n";
$dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0");
$dsql->Execute();
while($row = $dsql->GetObject())
@@ -207,7 +207,7 @@
<td height="26" align="left">附加属性:
<?php
echo "<select name='att' style='width:100'>\r\n";
echo "<option value='0' selected>不限...</option>\r\n";
echo "<option value='0' selected>不限</option>\r\n";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($row = $dsql->GetObject())


+ 3
- 3
src/admin/templets/freelist_edit.htm Näytä tiedosto

@@ -111,7 +111,7 @@
<td height="36" align="left">列表模板:</td>
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>">
<button type="button" name="set4" style="width:60px"
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td>
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td>
</tr>
<tr>
<td height="30" align="left">最大列出页数:</td>
@@ -147,7 +147,7 @@
<?php
$typeid = $ctag->GetAtt('typeid');
echo "<select name='typeid' style='width:100'>\r\n";
echo "<option value='0'>不限栏目...</option>\r\n";
echo "<option value='0'>不限栏目</option>\r\n";
$dsql->SetQuery("Select id,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
@@ -183,7 +183,7 @@
<?php
$att = $ctag->GetAtt('att');
echo "<select name='att' style='width:100'>\r\n";
echo "<option value='0'>不限...</option>\r\n";
echo "<option value='0'>不限</option>\r\n";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($nrow = $dsql->GetObject())


+ 2
- 2
src/admin/templets/freelist_main.htm Näytä tiedosto

@@ -20,7 +20,7 @@
orderby = ordertype;
var listArea = $Obj('rslist');
var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]";
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载...");
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载");
myajax.SendGet("freelist_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype + addget);
}
//载入指定页的列表
@@ -45,7 +45,7 @@
var pagenum = Math.ceil(totalrow / pagesize);
if (pagenum <= pageno) pageno = pagenum;
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]";
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理...");
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理");
myajax.SendGet("freelist_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno);
ReloadPageNum(pageno);
}


+ 4
- 4
src/admin/templets/index_body.htm Näytä tiedosto

@@ -55,7 +55,7 @@ $(function () {
<div class="col-md-6 mt-3">
<div class="card">
<div class="card-header">版本授权</div>
<div class="card-body" id="_systeminfo">正在载入中...</div>
<div class="card-body" id="_systeminfo">正在载入中</div>
</div>
</div>
<div class="col-md-6 mt-3">
@@ -167,7 +167,7 @@ $(function () {
<div class="card">
<div class="card-header">信息统计</div>
<div class="card-body">
<dd id='listCount'>正在载入中...</dd>
<dd id='listCount'>正在载入中</dd>
</div>
</div>
</div>
@@ -220,10 +220,10 @@ $(function () {
<div class="footer">
<!--下面是隐藏的项目-->
<div id="loaddiv" style="display:none">
<p align="center" style="padding-top:200px"><img src="images/loadinglit.gif">请稍后,正在下载更新文件列表...</p>
<p align="center" style="padding-top:200px"><img src="images/loadinglit.gif">请稍后,正在下载更新文件列表</p>
</div>
<div id="editTab">
<span id="editTabBody">请稍候,正在载入...</span>
<span id="editTabBody">请稍候,正在载入</span>
</div>
<div id="addTab">
<form name="addform" action="index_body.php">


+ 3
- 3
src/admin/templets/makehtml_archives.htm Näytä tiedosto

@@ -17,9 +17,9 @@
<td height="26" colspan="2" background='images/tbg.gif'>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" height="18" style="padding-left:10px"><strong>更新文档HTML:</strong></td>
<td width="30%" height="18" style="padding-left:10px"><strong>更新文档H:</strong></td>
<td width="70%" align="right">
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目HTML</a>
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a>
</td>
</tr>
</table>
@@ -33,7 +33,7 @@
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:300'>\r\n";
if($cid=="0") echo "<option value='0' selected>更新所有文档...</option>\r\n";
if($cid=="0") echo "<option value='0' selected>更新所有文档</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/admin/templets/makehtml_homepage.htm Näytä tiedosto

@@ -37,7 +37,7 @@
<td width="177" valign="top" bgcolor="#FFFFFF">选择首页模板:</td>
<td width="791" valign="top" bgcolor="#FFFFFF">
<input name="templet" type="text" id="templet" style="width:300" value="<?php echo $row['templet']?>">
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览...</button>
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>


+ 3
- 3
src/admin/templets/makehtml_js.htm Näytä tiedosto

@@ -26,7 +26,7 @@
<td height="26" colspan="2" background='images/tbg.gif'>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" height="18" style="padding-left:10px"><strong>获取栏目JS文件:</strong></td>
<td width="30%" height="18" style="padding-left:10px"><strong>更新脚本:</strong></td>
<td width="70%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>
@@ -41,7 +41,7 @@
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300'>\r\n";
if($cid=="0") echo "<option value='0' selected>所有栏目...</option>\r\n";
if($cid=="0") echo "<option value='0' selected>所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
@@ -59,7 +59,7 @@
<td height="26" valign="top" bgcolor="#FFFFFF">模板文件:</td>
<td height="26" valign="top" bgcolor="#FFFFFF"><input name="templet" type="text" id="templet" style="width:300"
value="plus/js.htm">
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览...</button>
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>


+ 4
- 4
src/admin/templets/makehtml_list.htm Näytä tiedosto

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>更新栏目HTML</title>
<title>更新栏目</title>
<link rel="stylesheet" href="../static/css/bootstrap.min.css">
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" type="text/css">
@@ -14,9 +14,9 @@
<td height="26" colspan="2" background='images/tbg.gif'>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" height="18" style="padding-left:10px"><strong>更新栏目HTML:</strong></td>
<td width="30%" height="18" style="padding-left:10px"><strong>更新栏目:</strong></td>
<td width="70%" align="right">
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档HTML</a>
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档H</a>
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>
@@ -31,7 +31,7 @@
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300px'>\r\n";
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目...</option>\r\n";
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 2
- 2
src/admin/templets/makehtml_rss.htm Näytä tiedosto

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>更新RSS文件</title>
<title>更新订阅</title>
<link rel="stylesheet" href="../static/css/bootstrap.min.css">
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" type="text/css">
@@ -14,7 +14,7 @@
<td height="26" colspan="2" background="images/tbg.gif">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" height="18" style="padding-left:10px"><strong>更新RSS文件:</strong></td>
<td width="30%" height="18" style="padding-left:10px"><strong>更新订阅:</strong></td>
<td width="70%" align="right"></td>
</tr>
</table>


+ 2
- 2
src/admin/templets/makehtml_spec.htm Näytä tiedosto

@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>生成专题列表</title>
<title>更新专题</title>
<link rel="stylesheet" href="../static/css/bootstrap.min.css">
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" type="text/css">
@@ -15,7 +15,7 @@
<td height="26" background='images/tbg.gif'>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" height="18" style="padding-left:10px"><strong>生成专题列表:</strong></td>
<td width="30%" height="18" style="padding-left:10px"><strong>更新专题:</strong></td>
<td width="70%" align="right">&nbsp; </td>
</tr>
</table>


+ 1
- 1
src/admin/templets/makehtml_taglist.htm Näytä tiedosto

@@ -30,7 +30,7 @@
$sql="select * from #@__tagindex where total > {$dd['tt']} order by tag asc";
$dsql->Execute('al',$sql);
echo "<select name='tagid' style='width:300px'>\r\n";
if($tid == 0) echo "<option value='0' selected='1'>更新所有标签...</option>\r\n";
if($tid == 0) echo "<option value='0' selected='1'>更新所有标签</option>\r\n";
while($row=$dsql->GetObject('al')){
if($tid > 0 && $tid == $row->id) echo "<option value='".$row->id."' selected='1'>".$row->tag."</option>";
else echo "<option value='".$row->id."'>".$row->tag."</option>";


+ 1
- 1
src/admin/templets/module_help.htm Näytä tiedosto

@@ -8,7 +8,7 @@
var tgobj = document.getElementById('modulcode');
var email = document.form1.email.value;
var modulname = document.form1.modulname.value;
var myajax = new DedeAjax(tgobj, false, true, '-', '-', '...');
var myajax = new DedeAjax(tgobj, false, true, '-', '-', '');
<? php
if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') {
?>


+ 1
- 1
src/admin/templets/module_main.htm Näytä tiedosto

@@ -12,7 +12,7 @@
<script>
function getmodule(action, hash) {
$DE('status_' + hash).innerHTML = '<img src=\'images/loadinglit.gif\'>';
var myajax = new DedeAjax($DE('status_' + hash), false, true, '-', '-', '...');
var myajax = new DedeAjax($DE('status_' + hash), false, true, '-', '-', '');
myajax.SendGet2('module_main.php?action=download&hash=' + hash);
$DE('manager_' + hash).style.display = 'block';
DedeXHTTP = null;


+ 2
- 2
src/admin/templets/mynews_add.htm Näytä tiedosto

@@ -34,7 +34,7 @@ function checkSubmit()
<td height="127" align="center" bgcolor="#FFFFFF">
<table width="98%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="26" colspan="2" align="left">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替</td>
<td height="26" colspan="2" align="left">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置”的标记内容代替</td>
</tr>
<tr>
<td height="26" colspan="2" align="left">  站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title
@@ -49,7 +49,7 @@ function checkSubmit()
<td height="30" align="right">显示频道:</td>
<td align="left">
<select name="typeid" style="width:150">
<option value="0" selected>所有位置...</option>
<option value="0" selected>所有位置</option>
<?php
$dsql->SetQuery("Select id,typename From #@__arctype where reid=0 order by sortrank desc");
$dsql->Execute();


+ 3
- 3
src/admin/templets/mynews_edit.htm Näytä tiedosto

@@ -35,7 +35,7 @@ function checkSubmit()
<td height="127" align="center" bgcolor="#FFFFFF">
<table width="98%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="26" colspan="2" align="left">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替</td>
<td height="26" colspan="2" align="left">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置”的标记内容代替</td>
</tr>
<tr>
<td height="26" colspan="2" align="left">  站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title
@@ -57,8 +57,8 @@ function checkSubmit()
{
echo "<option value='".$row->id."'>".$row->typename."</option>\r\n";
}
if($myNews['typeid']=="0") echo "<option value=\"0\" selected>所有位置...</option>\r\n";
else echo "<option value=\"0\">所有位置...</option>\r\n";
if($myNews['typeid']=="0") echo "<option value=\"0\" selected>所有位置</option>\r\n";
else echo "<option value=\"0\">所有位置</option>\r\n";
?>
</select>
</td>


+ 3
- 3
src/admin/templets/mytag_tag_guide.htm Näytä tiedosto

@@ -82,7 +82,7 @@
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:284px'>\r\n";
echo "<option value='0' selected>不限栏目...</option>\r\n";
echo "<option value='0' selected>不限栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?> </td>
@@ -91,7 +91,7 @@
<td height="26"> 限定频道:
<?php
echo "<select name='channel' style='width:100px'>\r\n";
echo "<option value='0' selected>不限频道...</option>\r\n";
echo "<option value='0' selected>不限频道</option>\r\n";
$tl->dsql->SetQuery("Select id,typename From #@__channeltype where id>0");
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())
@@ -103,7 +103,7 @@
附加属性:
<?php
echo "<select name='att' style='width:100px'>\r\n";
echo "<option value='0' selected>不限...</option>\r\n";
echo "<option value='0' selected>不限</option>\r\n";
$tl->dsql->SetQuery("Select * From #@__arcatt");
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())


+ 3
- 3
src/admin/templets/search_keywords_main.htm Näytä tiedosto

@@ -21,7 +21,7 @@ function ReloadPage(ordertype) {
orderby = ordertype;
var listArea = $Obj('rslist');
var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]";
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载...");
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载");
myajax.SendGet("search_keywords_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype);
}
//载入指定页的列表
@@ -37,7 +37,7 @@ function UpdateNote(nid) {
var kws = $Obj('spwords' + nid).value;
var ct = $Obj('count' + nid).value;
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]";
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理...");
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理");
<?php
if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') {
?>
@@ -65,7 +65,7 @@ function DelNote(nid) {
var pagenum = Math.ceil(totalrow / pagesize);
if (pagenum <= pageno) pageno = pagenum;
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]";
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理...");
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理");
myajax.SendGet("search_keywords_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno + "&orderby=" + orderby);
ReloadPageNum(pageno);
}


+ 2
- 2
src/admin/templets/soft_add.htm Näytä tiedosto

@@ -188,7 +188,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择栏目...</option>\r\n";
echo "<option value='0'>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
@@ -547,7 +547,7 @@ table{border-collapse:separate}
<tr>
<td width="90">&nbsp;关键字:</td>
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" />
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览...</button>&nbsp;&nbsp;<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</label></td>
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览</button>&nbsp;&nbsp;<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</label></td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/soft_edit.htm Näytä tiedosto

@@ -182,7 +182,7 @@ table{border-collapse:separate}
<?php
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类...</option>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 4
- 4
src/admin/templets/spec_add.htm Näytä tiedosto

@@ -220,7 +220,7 @@
<td><?php
$typeOptions = GetOptionList($cid, $cuserLogin->getUserChannel(), 0);
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
echo "<option value='0'>请选择主分类...</option>\r\n";
echo "<option value='0'>请选择主分类</option>\r\n";
echo $typeOptions;
echo "</select>";
?>
@@ -240,7 +240,7 @@
<td width="202"><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np"
id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?> />
自动获取,手动填写用","分开<br>
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览...</button></td>
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button></td>
</tr>
</table>
</td>
@@ -304,7 +304,7 @@
<tr>
<td width="90">&nbsp;专题模板:</td>
<td><input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $cfg_df_style?>/article_spec.htm" />
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览...</button></td>
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button></td>
</tr>
</table>
</td>
@@ -410,7 +410,7 @@
<tr>
<td>节点容器模板:</td>
<td colspan="2"><input name="notetemplet<?php echo $i?>" type="text" id="notetemplet<?php echo $i?>" value="system/channel_spec_note.htm" style="width:300">
<button type="button" name="selno<?php echo $i?>" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');">浏览...</button></td>
<button type="button" name="selno<?php echo $i?>" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');">浏览</button></td>
</tr>
<?php
}


+ 3
- 3
src/admin/templets/spec_edit.htm Näytä tiedosto

@@ -167,7 +167,7 @@
&nbsp;缩略图:
</td>
<td width="560">
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" class="btn btn-success" onClick="SelectImage('form1.picname','');">浏览...</button>
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" class="btn btn-success" onClick="SelectImage('form1.picname','');">浏览</button>
<label><input type='checkbox' class='np' name='ddisremote' value='1'>
远程 </label>
<span class="btn btn-success fileinput-button">
@@ -196,7 +196,7 @@
<td width="90">&nbsp;专题模板:</td>
<td>
<input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $addRow["templet"]?>" />
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览...</button>
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
</table>
@@ -260,7 +260,7 @@
<?php
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0);
echo "<select name='typeid' style='width:240px'>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类...</option>\r\n";
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/admin/templets/stepselect_main.htm Näytä tiedosto

@@ -243,7 +243,7 @@ if(!empty($egroup))
<div style='float:left;'>
<b>&nbsp;隶属分类:</b>
<select name='topvalue' style='width:130px' onChange="ChangePage2(this)">
<option value='0'><?php echo $selgroup; ?>...</option>
<option value='0'><?php echo $selgroup; ?></option>
<?php echo $options; ?>
</select>
</div>


+ 2
- 2
src/admin/templets/sys_admin_user_tj.htm Näytä tiedosto

@@ -27,7 +27,7 @@
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<div id='loaddiv' style='display:none'>
<p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中...</p>
<p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中</p>
</div>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3">
<tr>
@@ -41,7 +41,7 @@
$dsql->Execute('me', 'Select * From `#@__admin` order by id asc');
while( $arr = $dsql->GetArray('me') )
{
echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中...</p></div>\r\n<script language='javascript'>LoadUser({$arr['id']});</script>\r\n";
echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中</p></div>\r\n<script language='javascript'>LoadUser({$arr['id']});</script>\r\n";
}
?>
</td>


+ 1
- 1
src/admin/templets/sys_data_replace.htm Näytä tiedosto

@@ -11,7 +11,7 @@
function ShowFields() {
var exptable = $DE('exptable').options[$DE('exptable').selectedIndex].value;
var queryUrl = "sys_data_replace.php?exptable=" + exptable + "&action=getfields";
var myajax = new DedeAjax($DE('fields'), true, true, '', 'x', '...');
var myajax = new DedeAjax($DE('fields'), true, true, '', 'x', '');
myajax.SendGet(queryUrl);
}
function CheckSubmit() {


+ 1
- 1
src/admin/templets/sys_data_revert.htm Näytä tiedosto

@@ -74,7 +74,7 @@
<tr bgcolor="#F7F8ED">
<td height="26" colspan="4" valign="top">
<strong>发现的备份文件:</strong>
<?php if(count($filelists)==0) echo " 没找到任何备份文件... "; ?>
<?php if(count($filelists)==0) echo " 没找到任何备份文件 "; ?>
</td>
</tr>
<?php


+ 1
- 1
src/admin/templets/sys_safetest.htm Näytä tiedosto

@@ -34,7 +34,7 @@
</head>
<body leftmargin="8" topmargin="8" background='images/allbg.gif'>
<div id='loaddiv' style='display:none'>
<p align='center' style='padding-top:200px'><img src='images/loadinglit.gif'> 请稍后,正在操作中...</p>
<p align='center' style='padding-top:200px'><img src='images/loadinglit.gif'> 请稍后,正在操作中</p>
</div>
<div class="bodytitle mt-3">
<div class="bodytitleleft"></div>


+ 1
- 1
src/admin/templets/tag_test.htm Näytä tiedosto

@@ -63,7 +63,7 @@
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:300'>\r\n";
if($cid=="0") echo "<option value='0' selected>不使用环境ID...</option>\r\n";
if($cid=="0") echo "<option value='0' selected>不使用环境ID</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/include/arc.archives.class.php Näytä tiedosto

@@ -500,7 +500,7 @@ class Archives
if ($GLOBALS['cfg_jump_once'] == 'N') {
$pageHtml = "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=".$GLOBALS['cfg_soft_lang']."\">\r\n<title>".$this->Fields['title']."</title>\r\n";
$pageHtml .= "<meta http-equiv=\"refresh\" content=\"3;URL=".$this->Fields['redirecturl']."\">\r\n</head>\r\n<body>\r\n";
$pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候...<br><br>\r\n转向内容简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n";
$pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候<br><br>\r\n转向内容简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n";
echo $pageHtml;
} else {
header("location:{$this->Fields['redirecturl']}");


+ 2
- 2
src/include/cli.class.php Näytä tiedosto

@@ -21,7 +21,7 @@ class DedeCli
{
public static $readline_support = false;
protected static $initialized = false;
protected static $wait_msg = "Press any key to continue...";
protected static $wait_msg = "Press any key to continue";
protected static $segments = [];
protected static $options = [];

@@ -355,7 +355,7 @@ class DedeCli
$time = $seconds;
while ($time > 0)
{
fwrite(STDOUT, $time.'... ');
fwrite(STDOUT, $time.' ');
sleep(1);
$time--;
}


+ 1
- 1
src/include/common.func.php Näytä tiedosto

@@ -93,7 +93,7 @@ function dede_random_bytes($length)
* {
* function HelloDede()
* {
* echo "Hello! Dede...";
* echo "Hello! Dede";
* }
* }
* </code>


+ 7
- 7
src/include/customfields.func.php Näytä tiedosto

@@ -101,19 +101,19 @@ function GetFormItem($ctag, $admintype = 'admin')
if ($admintype == 'diy') {
$innertext = "<input type='file' name='$fieldname' id='$fieldname' style='width:360px' />\r\n";
} else {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
}
} else if ($fieldType == 'media') {
if ($admintype == 'diy') {
$innertext = "<input type='hidden' name='$fieldname' id='$fieldname' value='' />不支持的类型\r\n";
} else {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n";
}
} else if ($fieldType == 'addon') {
if ($admintype == 'diy') {
$innertext = "<input type='file' name='$fieldname' id='$fieldname' style='width:360px' />\r\n";
} else {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n";
}
} else if ($fieldType == 'int' || $fieldType == 'float') {
$dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : '0');
@@ -403,13 +403,13 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '')
$ntag = $ndtp->GetTag("img");
$fvalue = trim($ntag->GetInnerText());
}
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
} else if ($ftype == "imgfile") {
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n";
} else if ($ftype == "media") {
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n";
} else if ($ftype == "addon") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n";
} else if ($ftype == "int" || $ftype == "float") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:100px' class='intxt' value='$fvalue' /> (填写数值)\r\n";
} else if ($ftype == "relation") {


+ 1
- 1
src/include/dedetag.class.php Näytä tiedosto

@@ -210,7 +210,7 @@ class DedeTagParse
foreach ($tokens as $token) {
if (is_array($token)) {
if ($token[0] = '306' && in_array($token[1], $disabled_functions)) {
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more...</a>';
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more</a>';
return FALSE;
}
}


+ 1
- 1
src/include/dedetemplate.class.php Näytä tiedosto

@@ -446,7 +446,7 @@ class DedeTemplate
foreach ($tokens as $token) {
if (is_array($token)) {
if ($token[0] = '306' && in_array($token[1], $disabled_functions)) {
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more...</a>';
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more</a>';
return FALSE;
}
}


+ 1
- 1
src/include/helpers/channelunit.helper.php Näytä tiedosto

@@ -488,7 +488,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y')
}
if (in_array($tagname, $alltags)) {
if (in_array($tagname, $disable_tags)) {
if (DEBUG_LEVEL) echo 'DedeBIZ Error:Tag disabled:"'.$tagname.'" <a href="https://www.dedebiz.com/help/" target="_blank">more...</a>!';
if (DEBUG_LEVEL) echo 'DedeBIZ Error:Tag disabled:"'.$tagname.'" <a href="https://www.dedebiz.com/help/" target="_blank">more</a>!';
continue;
}
if (DEBUG_LEVEL == TRUE) {


+ 1
- 1
src/include/helpers/test.helper.php Näytä tiedosto

@@ -13,6 +13,6 @@ if (!defined('DEDEINC')) exit('dedebiz');
if (!function_exists('HelloDede')) {
function HelloDede()
{
echo "Hello! Dede...";
echo "Hello! Dede";
}
}

+ 1
- 1
src/include/qrcode/phpqrcode.php Näytä tiedosto

@@ -790,7 +790,7 @@
}
}
//and a little bit...
//and a little bit
$frame[$width - 8][8] = "\x81";
return $frame;


+ 1
- 1
src/include/qrcode/qrspec.php Näytä tiedosto

@@ -478,7 +478,7 @@
}
}
//and a little bit...
//and a little bit
$frame[$width - 8][8] = "\x81";
return $frame;


+ 1
- 1
src/include/splitword.class.php Näytä tiedosto

@@ -971,7 +971,7 @@ class SplitWord
/**
* 获取索引hash数组
* @return array('word'=>count,...)
* @return array('word'=>count,)
*/
function GetFinallyIndex()
{


+ 1
- 1
src/install/sql-dfdata.txt Näytä tiedosto

@@ -527,7 +527,7 @@ INSERT INTO `#@__flinktype` VALUES('1','综合网站'),
('7','论坛类'),
('8','其它类型');
INSERT INTO `#@__freelist` VALUES('1','测试内容','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }<li>[field:imglink/] [field:textlink/] <span class=info><small>日期:</small>[field:pubdate function="getdatemk(@me)"/] <small>点击:</small>[field:click/] <small>好评:</small>[field:scores/] </span>\t\n<p class=intro>[field:description/]...</p></li>{/dede:list}','阿三大厦大大','阿三大厦大厦大撒'),
INSERT INTO `#@__freelist` VALUES('1','测试内容','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }<li>[field:imglink/] [field:textlink/] <span class=info><small>日期:</small>[field:pubdate function="getdatemk(@me)"/] <small>点击:</small>[field:click/] <small>好评:</small>[field:scores/] </span>\t\n<p class=intro>[field:description/]</p></li>{/dede:list}','阿三大厦大大','阿三大厦大厦大撒'),
('10','Google SiteMap 生成器','{listdir}googlemap_{page}.xml','{cmspath}','index.html','1','{style}/googlemap.htm','1226884666','100','0','{dede:list pagesize="500" col="1" titlelen="60" orderby="pubdate" orderway="desc" \t\n channel="1" keyword="" }<url>\t\n <loc>[field:arcurl function="Gmapurl(@me)"/]</loc> \t\n <title>[field:title function="HtmlReplace(@me)"/]</title>\t\n <news:news>\t\n <news:keywords>[field:keywords/]</news:keywords>\t\n <news:publication_date>[field:senddate function="strftime('%Y-%m-%d',@me)"/]</news:publication_date>\t\n </news:news>\t\n</url>{/dede:list}','','');
INSERT INTO `#@__member_type` VALUES('1','50','中级会员半年','100','7');


+ 1
- 1
src/member/config.php Näytä tiedosto

@@ -175,7 +175,7 @@ function CheckRank($rank = 0, $money = 0)
ShowMsg("邮箱地址为空,请设置一个可用的邮箱地址", "edit_email.php", 0, 5000);
exit;
}
$msg = "您尚未进行邮件验证,请到邮箱查阅...</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#dc3545'>点击此处</span></a>";
$msg = "您尚未进行邮件验证,请到邮箱查阅</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#dc3545'>点击此处</span></a>";
ShowMsg($msg, "-1", 0, 5000);
exit;
}


+ 2
- 2
src/member/index_do.php Näytä tiedosto

@@ -220,10 +220,10 @@ else if ($fmdo == 'login') {
//清除会员缓存
$cfg_ml->DelCache($cfg_ml->M_ID);
if (empty($gourl) || preg_match("#action|_do#i", $gourl)) {
ShowMsg("成功登录,5秒钟后转向系统主页...", "index.php", 0, 2000);
ShowMsg("成功登录,5秒钟后转向系统主页", "index.php", 0, 2000);
} else {
$gourl = str_replace('^', '&', $gourl);
ShowMsg("成功登录,现在转向指定页面...", $gourl, 0, 2000);
ShowMsg("成功登录,现在转向指定页面", $gourl, 0, 2000);
}
exit();
}


+ 1
- 1
src/member/templets/album_add.htm Näytä tiedosto

@@ -61,7 +61,7 @@
<?php
$typeOptions = GetOptionList(0,$channelid);
echo "<select class='form-control' name='typeid' size='1'>\r\n";
echo "<option value='0' selected>请选择栏目...</option>\r\n";
echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/member/templets/archives_add.htm Näytä tiedosto

@@ -59,7 +59,7 @@
<?php
$typeOptions = GetOptionList(0,$channelid);
echo "<select class='form-control' name='typeid' size='1'>\r\n";
echo "<option value='0' selected>请选择栏目...</option>\r\n";
echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/member/templets/archives_sg_add.htm Näytä tiedosto

@@ -59,7 +59,7 @@
<?php
$typeOptions = GetOptionList(0,$channelid);
echo "<select class='form-control' name='typeid' size='1'>\r\n";
echo "<option value='0' selected>请选择栏目...</option>\r\n";
echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/member/templets/article_add.htm Näytä tiedosto

@@ -59,7 +59,7 @@
<?php
$typeOptions = GetOptionList(0,$channelid);
echo "<select class='form-control' name='typeid' size='1'>\r\n";
echo "<option value='0' selected>请选择栏目...</option>\r\n";
echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 1
- 1
src/member/templets/soft_add.htm Näytä tiedosto

@@ -81,7 +81,7 @@
<?php
$typeOptions = GetOptionList(0,$channelid);
echo "<select class='form-control' name='typeid' size='1'>\r\n";
echo "<option value='0' selected>请选择栏目...</option>\r\n";
echo "<option value='0' selected>请选择栏目</option>\r\n";
echo $typeOptions;
echo "</select>";
?>


+ 2
- 2
src/templets/plus/list_diyform.htm Näytä tiedosto

@@ -36,7 +36,7 @@
{
echo '<tbody>';
echo '<tr><td bgcolor="#eeeeee" width="20%">id</td>';
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细...</a> &nbsp;</div></td></tr>';
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细</a> &nbsp;</div></td></tr>';
foreach($fieldlist as $field=>$fielddata)
{
if($fields[$field]=='') continue;
@@ -54,7 +54,7 @@
else $fields[$field] = dede_htmlspecialchars($fields[$field]);
if( strlen($fields[$field]) > 250 )
{
$fields[$field] = cn_substr( $fields[$field], 250).'...';
$fields[$field] = cn_substr( $fields[$field], 250).'';
}
}
echo "<tr><td bgcolor='#ffffff'>{$fielddata[0]}</td><td bgcolor='#ffffff'>{$fields[$field]}</td></tr>\r\n";


+ 1
- 1
src/templets/system/list_fulllist.htm Näytä tiedosto

@@ -1,7 +1,7 @@
<div class='col1'>
<div class='mainlinklist'>·<a href='[field:arcurl/]'>[field:title/]</a></div>
<div class='descriptions'>
&nbsp;&nbsp;&nbsp; [field:description/]...
&nbsp;&nbsp;&nbsp; [field:description/]
</div>
<div class='addinfos'>
日期:[field:pubdate function="GetDateTimeMK(@me)"/] 点击:[field:click/] 好评度:[field:scores/]


+ 1
- 1
src/templets/system/part_autochannel.htm Näytä tiedosto

@@ -6,6 +6,6 @@
<a href="[field:typelink/]">[field:typename/]</a>
</li>
<li style='float:right;padding-right:3px;'>
<a href="[field:typelink/]">更多...</a>
<a href="[field:typelink/]">更多</a>
</li>
</ul>

+ 1
- 1
src/templets/system/part_channelartlist.htm Näytä tiedosto

@@ -9,7 +9,7 @@
<a href="[field:typelink /]">[field:typename /]</a>
</td>
<td width='30%' align='right'>
<a href="[field:typelink /]">更多...</a>
<a href="[field:typelink /]">更多</a>
</td>
</tr>
</table>


Loading…
Peruuta
Tallenna