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

447 lines
25KB

  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. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. <script src="../static/web/js/jquery.min.js"></script>
  11. <script src="js/main.js"></script>
  12. <style>
  13. textarea{min-height:30px}
  14. .table{margin-bottom:0}
  15. </style>
  16. <script>
  17. var channelArray = new Array();
  18. <?php
  19. $i = 0;
  20. foreach($channelArray as $k=> $arr){
  21. echo "channelArray[$k] = \"{$arr['nid']}\";\r\n";
  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 CheckCross() {
  99. var cross2 = document.getElementById('cross2');
  100. var crossid = document.getElementById('crossid');
  101. if (cross2.checked) crossid.style.display = 'block';
  102. else crossid.style.display = 'none';
  103. }
  104. </script>
  105. </head>
  106. <body leftmargin="15" topmargin="10" bgcolor="#fff">
  107. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3">
  108. <tr>
  109. <td width="100%" height="26" valign="top">
  110. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  111. <tr>
  112. <td height="30"><img src="../static/web/img/book1.gif"><a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
  113. </tr>
  114. </table>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td width="100%" height="1" background="../static/web/img/sp_bg.gif"></td>
  119. </tr>
  120. </table>
  121. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  122. <tr>
  123. <form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit()">
  124. <input type="hidden" name="dopost" value="save">
  125. <input type="hidden" name="id" value="<?php echo $id; ?>">
  126. <input type="hidden" name="topid" value="<?php echo $myrow['topid']; ?>">
  127. <td height="95" align="center" bgcolor="#fff">
  128. <table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0">
  129. <tr>
  130. <td colspan="2" bgcolor="#fff" align="left">
  131. <table border="0" cellpadding="0" cellspacing="0">
  132. <tr>
  133. <td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
  134. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</a></td>
  135. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td>
  136. </tr>
  137. </table>
  138. </td>
  139. </tr>
  140. </table>
  141. <table width="100%" border="0" cellspacing="0" id="head2" cellpadding="0" style="display:none">
  142. <tr>
  143. <td colspan="2" bgcolor="#fff" style="text-align:left">
  144. <table height="26" border="0" cellpadding="0" cellspacing="0">
  145. <tr>
  146. <td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td>
  147. <td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
  148. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td>
  149. </tr>
  150. </table>
  151. </td>
  152. </tr>
  153. </table>
  154. <table width="100%" border="0" cellspacing="0" id="head3" cellpadding="0" style="display:none">
  155. <tr>
  156. <td colspan="2" bgcolor="#fff" style="text-align:left">
  157. <table height="26" border="0" cellpadding="0" cellspacing="0">
  158. <tr>
  159. <td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td>
  160. <td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</td>
  161. <td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
  162. </tr>
  163. </table>
  164. </td>
  165. </tr>
  166. </table>
  167. <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#fff;text-align:left;" class="table">
  168. <tr>
  169. <td width="150" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
  170. <td class="bline">
  171. <label><input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked='1' "; ?>>&nbsp;不支持&nbsp;</label>
  172. <label><input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked='1' "; ?>>&nbsp;支持</label>
  173. </td>
  174. </tr>
  175. <tr>
  176. <td width="150" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td>
  177. <td class="bline">
  178. <label><input type='radio' name='ishidden' value='0' class='np' <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>>&nbsp;显示&nbsp;</label>
  179. <label><input type='radio' name='ishidden' value='1' class='np' <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>>&nbsp;隐藏</label>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td class="bline" height="26" style="padding-left:10px">内容模型:</td>
  184. <td class="bline">
  185. <select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)">
  186. <?php
  187. foreach($channelArray as $k=>$arr)
  188. {
  189. if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n";
  190. else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n";
  191. }
  192. ?>
  193. </select>
  194. </td>
  195. </tr>
  196. <tr>
  197. <td class="bline" height="26" style="padding-left:10px">中文名称:</td>
  198. <td class="bline"><input name="typename" type="text" size="40" value="<?php echo $myrow['typename']?>" class="iptxt"></td>
  199. </tr>
  200. <tr>
  201. <td class="bline" height="26" style="padding-left:10px">中文概况:</td>
  202. <td class="bline"><input name="namegk" type="text" size="40" value="<?php echo $myrow['namegk']?>" class="iptxt"></td>
  203. </tr>
  204. <tr>
  205. <td class="bline" height="26" style="padding-left:10px">英文名称:</td>
  206. <td class="bline"><input name="enname" type="text" size="40" value="<?php echo $myrow['enname']?>" class="iptxt"></td>
  207. </tr>
  208. <tr>
  209. <td class="bline" height="26" style="padding-left:10px">英文概况:</td>
  210. <td class="bline"><input name="ennamegk" type="text" size="40" value="<?php echo $myrow['ennamegk']?>" class="iptxt"></td>
  211. </tr>
  212. <tr>
  213. <td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
  214. <td>
  215. <input name="litpic" type="text" class="alltxt" size="40" value="<?php echo $myrow['litpic']?>">
  216. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');">
  217. </td>
  218. </tr>
  219. <tr>
  220. <td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
  221. <td>
  222. <input name="litimg" type="text" class="alltxt" size="40" value="<?php echo $myrow['litimg']?>">
  223. <input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
  224. </td>
  225. </tr>
  226. <tr>
  227. <td class="bline" height="26" style="padding-left:10px">排列顺序:</td>
  228. <td class="bline"> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:100px">(由低 &gt; 高)</td>
  229. </tr>
  230. <tr>
  231. <td class="bline" height="26" style="padding-left:10px">浏览权限:</td>
  232. <td class="bline"> <select name="corank" id="corank" style="width:100px">
  233. <?php
  234. $dsql->SetQuery("Select * from #@__arcrank where `rank` >= 0");
  235. $dsql->Execute('cc');
  236. while($row = $dsql->GetObject('cc'))
  237. {
  238. if($myrow['corank']==$row->rank)
  239. echo "<option value='".$row->rank."' selected>".$row->membername."</option>\r\n";
  240. else
  241. echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n";
  242. }
  243. ?>
  244. </select>(仅限制栏目里的文档浏览权限)
  245. </td>
  246. </tr>
  247. <tr>
  248. <td class="bline" height="26" style="padding-left:10px">文件保存目录:</td>
  249. <td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" size="40" class="iptxt">(填写{cmspath}/a/b/c生成目录“域名/a/b/c”标签{cmspath}必填)</td>
  250. </tr>
  251. <tr>
  252. <td height="26" style="padding-left:10px">栏目列表选项:</td>
  253. <td>
  254. <label><input type='radio' name='isdefault' value='1' class='np' <?php if($myrow['isdefault']==1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
  255. <label><input type='radio' name='isdefault' value='0' class='np' <?php if($myrow['isdefault']==0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
  256. <label><input type='radio' name='isdefault' value='-1' class='np' <?php if($myrow['isdefault']==-1) echo " checked='1' "; ?>>&nbsp;使用动态页</label>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td class="bline" height="26" style="padding-left:10px">默认页的名称:</td>
  261. <td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:100px"></td>
  262. </tr>
  263. <tr>
  264. <td height="26" class="bline" style="padding-left:10px">栏目属性:</td>
  265. <td class="bline">
  266. <label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if($myrow['ispart']==0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
  267. <label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if($myrow['ispart']==1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>
  268. <label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if($myrow['ispart']==2) echo " checked='1' "; ?>>&nbsp;外部连接(在"文件保存目录"处填写网址)</label>
  269. </td>
  270. </tr>
  271. <tr id='helpvarco' style='display:none'>
  272. <td height="80" bgcolor="#F3F7EA" style="padding-left:10px">栏目交叉说明:</td>
  273. <td bgcolor="#F3F7EA">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚&gt;智能手机、诺基亚&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点
  274. </td>
  275. </tr>
  276. <tr>
  277. <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>
  278. <td class="bline">
  279. <label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>>&nbsp;不交叉</label>
  280. <label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>>&nbsp;自动获取同名栏目内容</label>
  281. <label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>>&nbsp;手工指定交叉栏目ID(用逗号分开)</label>
  282. <br>
  283. <textarea name="crossid" cols="50" rows="3" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>" class="alltxt"><?php echo $myrow['crossid']; ?></textarea>
  284. </td>
  285. </tr>
  286. <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
  287. <td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td>
  288. <td class="bline">
  289. <select name='smalltype[]' size='5' style='width:120px;height: auto;' multiple='yes'>
  290. <?php
  291. $smtypes = explode(',',trim($myrow['smalltypes']));
  292. $sql = "Select * From `#@__sys_enum` where egroup like 'infotype' order by disorder asc, id desc ";
  293. $dsql->Execute('s',$sql);
  294. while($arr = $dsql->GetArray('s'))
  295. {
  296. if(in_array($arr['evalue'],$smtypes)) {
  297. $selstr = " selected='1' ";
  298. } else {
  299. $selstr = '';
  300. }
  301. if($arr['evalue']%500==0) {
  302. echo "<option value='{$arr['evalue']}'{$selstr}>{$arr['ename']}</option>\r\n";
  303. }
  304. else if(preg_match("#\.#", $arr['evalue']))
  305. {
  306. echo "<option value='{$arr['evalue']}'{$selstr}> └───{$arr['ename']}</option>\r\n";
  307. } else {
  308. echo "<option value='{$arr['evalue']}'{$selstr}> └─{$arr['ename']}</option>\r\n";
  309. }
  310. }
  311. ?>
  312. </select>按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“联动类别管理”</a>中管理
  313. </td>
  314. </tr>
  315. </table>
  316. <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">
  317. <tr>
  318. <td class="bline" width="150" height="26" style="padding-left:10px">多站点支持:</td>
  319. <td class="bline">
  320. <label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>>&nbsp;不启用&nbsp;</label>
  321. <label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>>&nbsp;启用</label>
  322. </td>
  323. </tr>
  324. <tr>
  325. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
  326. <td bgcolor="#f8f8f8">绑名绑定仅需要在顶级栏目设定,子级栏目修改无效</td>
  327. </tr>
  328. <tr>
  329. <td class="bline" height="26" style="padding-left:10px">绑定域名:</td>
  330. <td class="bline"> <input name="siteurl" type="text" id="siteurl" size="40" value="<?php echo $myrow['siteurl']?>" class="iptxt">(需加 http://,一级或二级域名的根网址)</td>
  331. </tr>
  332. <tr>
  333. <td class="bline" height="26" style="padding-left:10px">站点根目录:</td>
  334. <td class="bline">为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录</td>
  335. </tr>
  336. <tr id='helpvar1' style='display:none'>
  337. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  338. <td bgcolor="#f8f8f8">
  339. {tid}表示栏目ID,<br>
  340. {cid}表示频道模型的'名字ID'(
  341. <?php
  342. foreach($channelArray as $k=>$arr)
  343. {
  344. echo "{$arr['typename']}({$arr['nid']})、";
  345. }
  346. ?>)<br>
  347. 模板文件的默认位置是放在模板目录 "cms安装目录<?php echo $cfg_templets_dir ?>" 内
  348. <input type='hidden' value='{style}' name='dfstyle'>
  349. </td>
  350. </tr>
  351. <tr>
  352. <td height="26" style="padding-left:10px">封面模板:</td>
  353. <td>
  354. <input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" size="40" class="iptxt">
  355. <button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
  356. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')">
  357. </td>
  358. </tr>
  359. <tr>
  360. <td height="26" style="padding-left:10px">列表模板:</td>
  361. <td>
  362. <input name="templist" type="text" value="<?php echo $myrow['templist']?>" size="40" class="iptxt">
  363. <button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
  364. </td>
  365. </tr>
  366. <tr>
  367. <td height="26" style="padding-left:10px">文章模板:</td>
  368. <td>
  369. <input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" size="40" class="iptxt">
  370. <button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
  371. </td>
  372. </tr>
  373. <tr id='helpvar2' style='display:none'>
  374. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  375. <td height="26" bgcolor="#f8f8f8">
  376. {Y}、{M}、{D} 年月日<br>
  377. {timestamp} INT类型的UNIX时间戳<br>
  378. {aid} 文章ID<br>
  379. {pinyin} 拼音+文章ID<br>
  380. {py} 拼音部首+文章ID<br>
  381. {typedir} 栏目目录 <br>
  382. {cc} 日期+ID混编后用转换为适合的字母 <br>
  383. </td>
  384. </tr>
  385. <tr>
  386. <td height="26" style="padding-left:10px">文章命名规则:</td>
  387. <td>
  388. <input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" size="40" class="iptxt">
  389. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')">
  390. </td>
  391. </tr>
  392. <tr id='helpvar3' style='display:none'>
  393. <td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
  394. <td bgcolor="#f8f8f8">{page} 列表的页码</td>
  395. </tr>
  396. <tr>
  397. <td height="26" style="padding-left:10px">列表命名规则:</td>
  398. <td>
  399. <input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" size="40" class="iptxt">
  400. <img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')">
  401. </td>
  402. </tr>
  403. <tr>
  404. <td height="60" style="padding-left:10px">SEO标题:</td>
  405. <td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" size="40" class="alltxt">(栏目模板里用{dede:field.seotitle /}调用)</td>
  406. </tr>
  407. <tr>
  408. <td height="60" style="padding-left:10px">关键词:</td>
  409. <td><textarea name="keywords" cols="70" rows="4" id="keywords" class="alltxt"><?php echo $myrow['keywords']?></textarea></td>
  410. </tr>
  411. <tr>
  412. <td height="60" style="padding-left:10px">栏目描述:</td>
  413. <td height="60"><textarea name="description" cols="70" rows="4" id="description" class="alltxt"><?php echo $myrow['description']?></textarea></td>
  414. </tr>
  415. <tr>
  416. <td height="36" style="padding-left:10px">继承选项:</td>
  417. <td>
  418. <label><input name="upnext" type="checkbox" id="upnext" value="1" class="np">同时修改下级栏目的浏览权限、内容类型、模板风格、命名规则等通用属性</label>
  419. </td>
  420. </tr>
  421. </table>
  422. <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">
  423. <tr>
  424. <td height="26">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
  425. </tr>
  426. <tr>
  427. <td style="padding:10px">
  428. <?php
  429. GetEditor("content",$myrow['content'],"450","Default","print","false");
  430. ?>
  431. </td>
  432. </tr>
  433. </table>
  434. <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3">
  435. <tr>
  436. <td style="padding:.6rem">
  437. <button type="submit" class="btn btn-success">确定</button>
  438. <a href="catalog_main.php" class="btn btn-success">返回</a>
  439. </td>
  440. </tr>
  441. </table>
  442. </td>
  443. </form>
  444. </tr>
  445. </table>
  446. </body>
  447. </html>