国内流行的内容管理系统(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.

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