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

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