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

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