国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

518 lines
26KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>栏目管理</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <script src="../static/web/js/jquery.min.js"></script>
  10. <script src="js/main.js"></script>
  11. <style>
  12. textarea{min-height:30px}
  13. .table{margin-bottom:0}
  14. </style>
  15. <script>
  16. var channelArray = new Array();
  17. <?php
  18. $i = 0;
  19. foreach($channelArray as $k=> $arr)
  20. {
  21. echo "channelArray[$k] = \"{$arr['nid']}\";";
  22. }
  23. ?>
  24. function Nav() {
  25. if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
  26. else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
  27. else return "OT";
  28. }
  29. function SelectTemplets(fname) {
  30. if (document.all) {
  31. var posLeft = window.event.clientY - 100;
  32. var posTop = window.event.clientX - 400;
  33. } else {
  34. var posLeft = 100;
  35. var posTop = 100;
  36. }
  37. window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=680,height=400,left=" + posLeft + ", top=" + posTop);
  38. }
  39. function ShowHide(objname) {
  40. var obj = document.getElementById(objname);
  41. if (obj.style.display != "none")
  42. obj.style.display = "none";
  43. else {
  44. if (Nav() == 'IE') obj.style.display = "block";
  45. else obj.style.display = "table-row";
  46. }
  47. }
  48. function ShowObj(objname) {
  49. var obj = document.getElementById(objname);
  50. if (Nav() == 'IE') obj.style.display = "block";
  51. else obj.style.display = "table";
  52. }
  53. function HideObj(objname) {
  54. var obj = document.getElementById(objname);
  55. obj.style.display = "none";
  56. }
  57. function ShowItem1() {
  58. ShowObj('head1'); ShowObj('needset');
  59. HideObj('head2'); HideObj('adset');
  60. HideObj('head3'); HideObj('ctset');
  61. }
  62. function ShowItem2() {
  63. ShowObj('head2'); ShowObj('adset');
  64. HideObj('head1'); HideObj('needset');
  65. HideObj('head3'); HideObj('ctset');
  66. }
  67. function ShowItem3() {
  68. ShowObj('head3'); ShowObj('ctset');
  69. HideObj('head1'); HideObj('needset');
  70. HideObj('head2'); HideObj('adset');
  71. }
  72. function CheckTypeDir() {
  73. var upinyin = document.getElementById('upinyin');
  74. var tpobj = document.getElementById('typedir');
  75. if (upinyin.checked) tpobj.style.display = "none";
  76. else tpobj.style.display = "block";
  77. }
  78. function ParTemplet(obj) {
  79. var sevvalue = channelArray[obj.value];
  80. var tobj = document.getElementById('smclass');
  81. var tempindex = document.getElementsByName('tempindex');
  82. var templist = document.getElementsByName('templist');
  83. var temparticle = document.getElementsByName('temparticle');
  84. var dfstyle = document.getElementsByName('dfstyle');
  85. var dfstyleValue = dfstyle[0].value;
  86. tempindex[0].value = dfstyleValue + "/index_" + sevvalue + ".htm";
  87. templist[0].value = dfstyleValue + "/list_" + sevvalue + ".htm";
  88. temparticle[0].value = dfstyleValue + "/article_" + sevvalue + ".htm";
  89. if (obj.value < 0) {
  90. if (Nav() == 'IE') tobj.style.display = "block";
  91. else tobj.style.display = "table-row";
  92. } else {
  93. tobj.style.display = "none";
  94. }
  95. }
  96. function checkSubmit() {
  97. if (document.form1.typename.value == "") {
  98. alert("栏目名称不能为空");
  99. document.form1.typename.focus();
  100. return false;
  101. }
  102. return true;
  103. }
  104. function CheckPathSet() {
  105. var surl = document.getElementById("siteurl");
  106. var sreid = document.getElementById("reid");
  107. var mysel = document.getElementById("truepath3");
  108. if (surl.value != "") {
  109. if (sreid.value == "0" || sreid.value == "") {
  110. mysel.checked = true;
  111. }
  112. }
  113. }
  114. function CheckCross() {
  115. var cross2 = document.getElementById('cross2');
  116. var crossid = document.getElementById('crossid');
  117. if (cross2.checked) crossid.style.display = 'block';
  118. else crossid.style.display = 'none';
  119. }
  120. </script>
  121. </head>
  122. <body leftmargin="15" topmargin="10" bgcolor="#fff">
  123. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3">
  124. <tr>
  125. <td width="100%" height="26" valign="top">
  126. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  127. <tr>
  128. <td height="30"><img src="../static/web/img/book1.gif"><a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
  129. </tr>
  130. </table>
  131. </td>
  132. </tr>
  133. <tr>
  134. <td width="100%" height="1" background="../static/web/img/sp_bg.gif"></td>
  135. </tr>
  136. </table>
  137. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  138. <tr>
  139. <form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit()">
  140. <input type="hidden" name="dopost" value="save">
  141. <input type="hidden" name="reid" id="reid" value="<?php echo $id; ?>">
  142. <input type='hidden' name='topid' id='topid' value='<?php echo $topid; ?>'>
  143. <?php
  144. if($id>0)
  145. {
  146. echo " <input type='hidden' name='moresite' value='{$myrow['moresite']}'>";
  147. echo " <input type='hidden' name='siteurl' value='{$myrow['siteurl']}'>";
  148. echo " <input type='hidden' name='sitepath' value='{$myrow['sitepath']}'>";
  149. }
  150. ?>
  151. <td height="95" align="center" bgcolor="#fff">
  152. <table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0">
  153. <tr>
  154. <td colspan="2" bgcolor="#fff" align="left">
  155. <table border="0" cellpadding="0" cellspacing="0">
  156. <tr>
  157. <td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
  158. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</a></td>
  159. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td>
  160. </tr>
  161. </table>
  162. </td>
  163. </tr>
  164. </table>
  165. <table width="100%" border="0" cellspacing="0" id="head2" cellpadding="0" style="display:none">
  166. <tr>
  167. <td colspan="2" bgcolor="#fff" style="text-align:left">
  168. <table height="26" border="0" cellpadding="0" cellspacing="0">
  169. <tr>
  170. <td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td>
  171. <td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
  172. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td>
  173. </tr>
  174. </table>
  175. </td>
  176. </tr>
  177. </table>
  178. <table width="100%" border="0" cellspacing="0" id="head3" cellpadding="0" style="display:none">
  179. <tr>
  180. <td colspan="2" bgcolor="#fff" style="text-align:left">
  181. <table height="26" border="0" cellpadding="0" cellspacing="0">
  182. <tr>
  183. <td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td>
  184. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</td>
  185. <td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
  186. </tr>
  187. </table>
  188. </td>
  189. </tr>
  190. </table>
  191. <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align:left;border:1px solid #dee2e6;background:#fff" class="table">
  192. <tr>
  193. <td width="150" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
  194. <td class="bline">
  195. <label><input type='radio' name='issend' value='0' class='np' <?php if($issend==0) echo " checked='checked' "; ?>>&nbsp;不支持&nbsp;</label>
  196. <label><input type='radio' name='issend' value='1' class='np' <?php if($issend==1) echo " checked='checked' "; ?>>&nbsp;支持</label>
  197. </td>
  198. </tr>
  199. <tr>
  200. <td width="150" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td>
  201. <td class="bline">
  202. <label><input type='radio' name='ishidden' value='0' class='np' checked="checked">&nbsp;显示&nbsp;</label>
  203. <label><input type='radio' name='ishidden' value='1' class='np'>&nbsp;隐藏</label>
  204. </td>
  205. </tr>
  206. <tr>
  207. <td class="bline" height="26" style="padding-left:10px">内容模型:</td>
  208. <td class="bline">
  209. <select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)">
  210. <?php
  211. foreach($channelArray as $k=>$arr)
  212. {
  213. if($k==$channelid) {
  214. $nid = $arr['nid'];
  215. echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>";
  216. } else {
  217. echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>";
  218. }
  219. }
  220. ?>
  221. </select>
  222. </td>
  223. </tr>
  224. <tr>
  225. <td class="bline" height="26" style="padding-left:10px">中文名称:</td>
  226. <td class="bline"><input name="typename" type="text" size="40" class="iptxt"></td>
  227. </tr>
  228. <tr>
  229. <td class="bline" height="26" style="padding-left:10px">中文概况:</td>
  230. <td class="bline"><input name="namegk" type="text" size="40" class="iptxt"></td>
  231. </tr>
  232. <tr>
  233. <td class="bline" height="26" style="padding-left:10px">英文名称:</td>
  234. <td class="bline"><input name="enname" type="text" size="40" class="iptxt"></td>
  235. </tr>
  236. <tr>
  237. <td class="bline" height="26" style="padding-left:10px">英文概况:</td>
  238. <td class="bline"><input name="ennamegk" type="text" size="40" class="iptxt"></td>
  239. </tr>
  240. <tr>
  241. <td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
  242. <td>
  243. <input name="litpic" type="text" class="alltxt" size="40">
  244. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');">
  245. </td>
  246. </tr>
  247. <tr>
  248. <td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
  249. <td>
  250. <input name="litimg" type="text" class="alltxt" size="40">
  251. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
  252. </td>
  253. </tr>
  254. <tr>
  255. <td class="bline" height="26" style="padding-left:10px">排列顺序:</td>
  256. <td class="bline"><input name="sortrank" type="text" value="50" class="pubinputs" style="width:100px">(由低 &gt; 高)</td>
  257. </tr>
  258. <tr>
  259. <td class="bline" height="26" style="padding-left:10px">浏览权限:</td>
  260. <td class="bline">
  261. <select name="corank" id="corank" style="width:100px">
  262. <?php
  263. $dsql->SetQuery("Select * from `#@__arcrank` where `rank` >= 0");
  264. $dsql->Execute('cc');
  265. while($row = $dsql->GetObject('cc')){
  266. if($corank==$row->rank) echo "<option value='".$row->rank."' selected>".$row->membername."</option>";
  267. else {
  268. if($corank==0){
  269. echo "<option value='".$row->rank."'>".$row->membername."</option>";
  270. }
  271. }
  272. }
  273. ?>
  274. </select>(仅限制栏目里的文档浏览权限)</td>
  275. </tr>
  276. <tr>
  277. <td class="bline" height="26" style="padding-left:10px">上级目录:</td>
  278. <td class="bline">
  279. <?php
  280. $pardir = '{cmspath}'.$cfg_arcdir;
  281. if(!empty($typedir)) $pardir = $typedir.'/';
  282. $pardir = preg_replace("#\/{1,}#", '/', $pardir);
  283. echo $pardir;
  284. ?>
  285. <input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir?>">
  286. </td>
  287. </tr>
  288. <tr>
  289. <td height="26" style="padding-left:10px">文件保存目录:</td>
  290. <td style="padding:0">
  291. <table border="0" cellspacing="1" cellpadding="1" class="table-borderless">
  292. <tr >
  293. <td><input name="typedir" type="text" id="typedir" size="40" class="pubinputs"></td>
  294. <td><input name="upinyin" type="checkbox" id="upinyin" class="np" value="1" onClick="CheckTypeDir()"><label for="upinyin">&nbsp;拼音</label></td>
  295. </tr>
  296. </table>
  297. </td>
  298. </tr>
  299. <tr>
  300. <td class="bline" height="26" style="padding-left:10px">目录相对位置:</td>
  301. <td class="bline">
  302. <input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="chekced">
  303. <label for="truepath1">上级目录</label>
  304. <?php
  305. if($moresite==0){
  306. ?>
  307. <input name="referpath" type="radio" id="truepath2" class="np" value="cmspath">
  308. <label for="truepath2">CMS根目录</label>
  309. <input name="referpath" type="radio" id="truepath3" class="np" value="basepath">
  310. <label for="truepath3">站点根目录</label>
  311. <?php } ?>
  312. </td>
  313. </tr>
  314. <tr>
  315. <td height="26" style="padding-left:10px">栏目列表选项:</td>
  316. <td>
  317. <input type='radio' name='isdefault' id="isdefault1" value='1' class='np' checked="checked">
  318. <label for="isdefault1">链接到默认页</label>
  319. <input type='radio' name='isdefault' id="isdefault0" value='0' class='np'>
  320. <label for="isdefault0">链接到列表第一页</label>
  321. <input type='radio' name='isdefault' id="isdefault-1" value='-1' class='np'>
  322. <label for="isdefault-1">使用动态页</label>
  323. </td>
  324. </tr>
  325. <tr>
  326. <td height="26" class="bline" style="padding-left:10px">默认页的名称:</td>
  327. <td class="bline"><input name="defaultname" type="text" value="index.html" class="iptxt" style="width:100px"></td>
  328. </tr>
  329. <tr>
  330. <td height="26" class="bline" style="padding-left:10px">栏目属性:</td>
  331. <td class="bline">
  332. <input name="ispart" type="radio" id="ispart0" value="0" class='np' checked="checked">
  333. <label for="ispart0">最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label> <br>
  334. <input name="ispart" type="radio" id="ispart1" value="1" class='np'>
  335. <label for="ispart1">频道封面(栏目本身不允许发布文档)</label> <br>
  336. <input name="ispart" type="radio" id="ispart2" value="2" class='np'>
  337. <label for="ispart2">外部连接(在"文件保存目录"处填写网址)</label>
  338. </td>
  339. </tr>
  340. <tr id='helpvarco' style='display:none'>
  341. <td height="80" bgcolor="#F3F7EA" style="padding-left:10px">栏目交叉说明:</td>
  342. <td bgcolor="#F3F7EA">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚&gt;智能手机、诺基亚&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点
  343. </td>
  344. </tr>
  345. <tr>
  346. <td style="padding-left:10px">栏目交叉:<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvarco')"> <br>仅适用[最终列表栏目]</td>
  347. <td>
  348. <input name="cross" type="radio" id="cross0" value="0" class='np' onClick="CheckCross()" checked='1'>
  349. <label for="cross0">不交叉</label>
  350. <input name="cross" type="radio" id="cross1" value="1" class='np' onClick="CheckCross()">
  351. <label for="cross1">自动获取同名栏目内容</label>
  352. <input name="cross" type="radio" id="cross2" value="2" class='np' onClick="CheckCross()">
  353. <label for="cross2">手工指定交叉栏目ID(用逗号分开)</label>
  354. <br>
  355. <textarea name="crossid" cols="50" rows="3" id="crossid" style="display:none" class="alltxt"></textarea>
  356. </td>
  357. </tr>
  358. <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
  359. <td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td>
  360. <td class="bline">
  361. <select name='smalltype[]' size='5' style='width:120px' multiple='yes'>
  362. <?php
  363. $sql = "SELECT * FROM `#@__sys_enum` WHERE egroup LIKE 'infotype' ORDER BY disorder ASC, id DESC ";
  364. $dsql->Execute('s',$sql);
  365. while($arr = $dsql->GetArray('s'))
  366. {
  367. if($arr['evalue']%500==0) {
  368. echo "<option value='{$arr['evalue']}'>{$arr['ename']}</option>";
  369. }
  370. else if(preg_match("#\.#", $arr['evalue']))
  371. {
  372. echo "<option value='{$arr['evalue']}'>└───{$arr['ename']}</option>";
  373. } else {
  374. echo "<option value='{$arr['evalue']}'>└─{$arr['ename']}</option>";
  375. }
  376. }
  377. ?>
  378. </select>按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“联动类别管理”</a>中管理
  379. </td>
  380. </tr>
  381. </table>
  382. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#fff;display:none;text-align:left" id="adset" class="table">
  383. <?php
  384. if($id==0)
  385. {
  386. ?>
  387. <tr>
  388. <td class="bline" width="150" height="26" style="padding-left:10px">多站点支持:</td>
  389. <td class="bline">
  390. <label><input name="moresite" type="radio" class="np" value="0" checked="checked">&nbsp;不启用&nbsp;</label>
  391. <label><input type="radio" name="moresite" class="np" value="1">&nbsp;启用</label>
  392. </td>
  393. </tr>
  394. <tr>
  395. <td height="26" bgcolor="#F3F7EA" style="padding-left:10px">说明:</td>
  396. <td bgcolor="#F3F7EA">如果需要绑定二级域名,必须在“系统参数”中设定“支持多站点”</td>
  397. </tr>
  398. <tr>
  399. <td class="bline" height="26" style="padding-left:10px">绑定域名:</td>
  400. <td class="bline"><input name="siteurl" type="text" id="siteurl" size="40" class="alltxt" onChange="CheckPathSet();">(需加 http://,一级或二级域名的根网址)</td>
  401. </tr>
  402. <tr>
  403. <td class="bline" height="26" style="padding-left:10px">站点根目录:</td>
  404. <td class="bline">为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录</td>
  405. </tr>
  406. <?php
  407. }
  408. ?>
  409. <tr id='helpvar1' style='display:none'>
  410. <td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td>
  411. <td bgcolor="#F3F7EA">
  412. {tid}表示栏目ID,<br>
  413. {cid}表示频道模型的'名字ID'(
  414. <?php
  415. foreach($channelArray as $k=>$arr)
  416. {
  417. echo "{$arr['typename']}({$arr['nid']})、";
  418. }
  419. ?>)<br>
  420. 模板文件的默认位置是放在模板目录 "cms安装目录<?php echo $cfg_templets_dir ?>" 内
  421. <input type='hidden' value='{style}' name='dfstyle' class="pubinputs">
  422. </td>
  423. </tr>
  424. <tr>
  425. <td height="26" bgcolor="#F3F7EA" style="padding-left:10px">规则选项:</td>
  426. <td bgcolor="#F3F7EA">按不同的内容类型设定相关模板及命名规则</td>
  427. </tr>
  428. <tr>
  429. <td height="26" style="padding-left:10px">封面模板:</td>
  430. <td>
  431. <input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" size="40" class="alltxt">
  432. <button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
  433. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')">
  434. </td>
  435. </tr>
  436. <tr>
  437. <td height="26" style="padding-left:10px">列表模板:</td>
  438. <td>
  439. <input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" size="40" class="alltxt">
  440. <button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
  441. </td>
  442. </tr>
  443. <tr>
  444. <td height="26" style="padding-left:10px">文章模板:</td>
  445. <td>
  446. <input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" size="40" class="alltxt">
  447. <button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
  448. </td>
  449. </tr>
  450. <tr id='helpvar2' style='display:none'>
  451. <td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td>
  452. <td height="26" bgcolor="#F3F7EA">
  453. {Y}、{M}、{D} 年月日<br>
  454. {timestamp} INT类型的UNIX时间戳<br>
  455. {aid} 文章ID<br>
  456. {pinyin} 拼音+文章ID<br>
  457. {py} 拼音部首+文章ID<br>
  458. {typedir} 栏目目录 <br>
  459. {cc} 日期+ID混编后用转换为适合的字母 <br>
  460. </td>
  461. </tr>
  462. <tr>
  463. <td height="26" style="padding-left:10px">文章命名规则:</td>
  464. <td>
  465. <input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" size="40" class="alltxt">
  466. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')">
  467. </td>
  468. </tr>
  469. <tr id='helpvar3' style='display:none'>
  470. <td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td>
  471. <td bgcolor="#F3F7EA">{page} 列表的页码</td>
  472. </tr>
  473. <tr>
  474. <td height="26" style="padding-left:10px">列表命名规则:</td>
  475. <td>
  476. <input name="namerule2" type="text" id="namerule2" value="{typedir}/list_{tid}_{page}.html" size="40" class="alltxt">
  477. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')">
  478. </td>
  479. </tr>
  480. <tr>
  481. <td height="60" style="padding-left:10px">SEO标题:</td>
  482. <td><input name="seotitle" type="text" id="seotitle" size="40" class="alltxt">(栏目模板里用{dede:field.seotitle /}调用)</td>
  483. </tr>
  484. <tr>
  485. <td height="60" style="padding-left:10px">关键词:</td>
  486. <td><textarea name="keywords" cols="70" rows="4" id="keywords" class="alltxt"></textarea></td>
  487. </tr>
  488. <tr>
  489. <td height="60" style="padding-left:10px">栏目描述:</td>
  490. <td height="60"><textarea name="description" cols="70" rows="4" id="description" class="alltxt"></textarea></td>
  491. </tr>
  492. </table>
  493. <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#fff;display:none;text-align:left" id="ctset" class="table">
  494. <tr>
  495. <td height="26" style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
  496. </tr>
  497. <tr>
  498. <td style="padding:10px">
  499. <?php
  500. GetEditor("content","","450","Default","print","false");
  501. ?>
  502. </td>
  503. </tr>
  504. </table>
  505. <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f6f6f6" style="border:1px solid #dee2e6;border-top:none" class="mb-3">
  506. <tr>
  507. <td style="padding:.6rem">
  508. <button type="submit" class="btn btn-success">确定</button>
  509. <a href="catalog_main.php" class="btn btn-success">返回</a>
  510. </td>
  511. </tr>
  512. </table>
  513. </td>
  514. </form>
  515. </tr>
  516. </table>
  517. </body>
  518. </html>