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

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