控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?php
  2. return array (
  3. 0 =>
  4. array (
  5. 'name' => 'web_site_status',
  6. 'title' => '站点开关',
  7. 'type' => 'radio',
  8. 'options' =>
  9. array (
  10. 1 => '开启',
  11. 0 => '关闭',
  12. ),
  13. 'tip' => '站点关闭后前台将不能访问',
  14. 'value' => '1',
  15. ),
  16. 1 =>
  17. array (
  18. 'name' => 'site_url_mode',
  19. 'title' => 'URL模式',
  20. 'type' => 'radio',
  21. 'options' =>
  22. array (
  23. 1 => '数字',
  24. 2 => '标识',
  25. ),
  26. 'value' => '1',
  27. ),
  28. 2 =>
  29. array (
  30. 'name' => 'site_name',
  31. 'title' => '站点名称',
  32. 'type' => 'text',
  33. 'value' => '御宅男工作室',
  34. ),
  35. 3 =>
  36. array (
  37. 'name' => 'site_title',
  38. 'title' => '站点标题',
  39. 'type' => 'text',
  40. 'value' => '御宅男工作室',
  41. ),
  42. 4 =>
  43. array (
  44. 'name' => 'site_keyword',
  45. 'title' => '站点关键词',
  46. 'type' => 'text',
  47. 'value' => '御宅男CMS,CMS,YZNCMS,内容管理系统,CMS系统',
  48. ),
  49. 5 =>
  50. array (
  51. 'name' => 'site_description',
  52. 'title' => '站点描述',
  53. 'type' => 'textarea',
  54. 'value' => 'Yzncms(又名御宅男CMS)是基于最新TP5.1框架的CMS内容管理系统。是一款完全免费开源的项目,他将是您轻松建站的首选利器。框架易于功能扩展,代码维护,方便二次开发,帮助开发者简单高效降低二次开发成本,满足专注业务深度开发的需求。',
  55. ),
  56. 6 =>
  57. array (
  58. 'name' => 'site_cache_time',
  59. 'title' => '缓存时间',
  60. 'type' => 'text',
  61. 'value' => '3600',
  62. 'tip' => '单页和详情页有效',
  63. ),
  64. 7 =>
  65. array (
  66. 'name' => 'web_site_recycle',
  67. 'title' => '回收站',
  68. 'type' => 'radio',
  69. 'options' =>
  70. array (
  71. 1 => '开启',
  72. 0 => '关闭',
  73. ),
  74. 'tip' => '开启后,误删的文章可以恢复,反之不可还原',
  75. 'value' => '1',
  76. ),
  77. 8 =>
  78. array (
  79. 'name' => 'web_site_searchtype',
  80. 'title' => '搜索方式',
  81. 'type' => 'radio',
  82. 'options' =>
  83. array (
  84. 'local' => '本地搜索',
  85. 'xunsearch' => '迅搜全文搜索',
  86. ),
  87. 'tip' => '使用迅搜(xunsearch)需要安装搜索插件,支持百万以上数据检索',
  88. 'value' => 'local',
  89. ),
  90. 9 =>
  91. array (
  92. 'name' => 'site_category_auth',
  93. 'title' => '栏目授权',
  94. 'type' => 'radio',
  95. 'options' =>
  96. array (
  97. 1 => '开启',
  98. 0 => '关闭',
  99. ),
  100. 'tip' => '开启后,可在【栏目授权】单独给管理员分配可管理的内容栏目',
  101. 'value' => '1',
  102. ),
  103. 10 =>
  104. array (
  105. 'name' => 'web_site_weburlpush',
  106. 'title' => '站长推送',
  107. 'type' => 'radio',
  108. 'options' =>
  109. array (
  110. 1 => '开启',
  111. 0 => '关闭',
  112. ),
  113. 'tip' => '如果开启百度站长+神马搜索推送,将在文章发布时自动进行推送(需要安装推送插件)',
  114. 'value' => '0',
  115. ),
  116. 11 =>
  117. array (
  118. 'name' => 'web_site_getwords',
  119. 'title' => '中文分词',
  120. 'type' => 'radio',
  121. 'options' =>
  122. array (
  123. 1 => '开启',
  124. 0 => '关闭',
  125. ),
  126. 'tip' => '开启后,会将内容分词提取到关键词中(需要安装中文分词插件)',
  127. 'value' => '0',
  128. ),
  129. 12 =>
  130. array (
  131. 'name' => 'web_contribute_verify',
  132. 'title' => '投稿身份验证',
  133. 'type' => 'radio',
  134. 'options' =>
  135. array (
  136. 1 => '开启',
  137. 0 => '关闭',
  138. ),
  139. 'tip' => '开启后,用户投稿必须验证邮箱或手机',
  140. 'value' => '1',
  141. ),
  142. 13 =>
  143. array (
  144. 'name' => 'doc_edit_mode',
  145. 'title' => '文档编辑模式',
  146. 'type' => 'radio',
  147. 'options' =>
  148. array (
  149. 1 => '选项卡',
  150. 0 => '弹窗',
  151. ),
  152. 'tip' => '小屏幕可开启选项卡模式',
  153. 'value' => '1',
  154. ),
  155. 14 =>
  156. array (
  157. 'name' => 'autolinks',
  158. 'title' => '关键字链接',
  159. 'type' => 'textarea',
  160. 'value' => '百度|https://www.baidu.com/
  161. 腾讯|https://www.qq.com/',
  162. 'tip' => '每行1组以"关键词<b class="text-danger">|</b>(半角竖线)链接"形式填写, 可用第2个竖线追加参数:<b class="text-danger">n</b>代表nofollow标记, <b class="text-danger">e</b>代表external nofollow标记, <b class="text-danger">b</b>代表本窗口打开.</br> 例: google<strong>|</strong>http://www.google.com<strong>|</strong>n 即此链接带nofollow(默认新窗口打开)',
  163. ),
  164. );