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

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