config.php 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. <?php
  2. return array (
  3. 0 =>
  4. array (
  5. 'name' => 'name',
  6. 'title' => '博客名称',
  7. 'type' => 'string',
  8. 'content' =>
  9. array (
  10. ),
  11. 'value' => '趣味编程',
  12. 'rule' => 'required',
  13. 'msg' => '',
  14. 'tip' => '',
  15. 'ok' => '',
  16. 'extend' => '',
  17. ),
  18. 1 =>
  19. array (
  20. 'name' => 'enname',
  21. 'title' => '博客英文名称',
  22. 'type' => 'string',
  23. 'content' =>
  24. array (
  25. ),
  26. 'value' => 'Wisdom acceleration',
  27. 'rule' => 'required',
  28. 'msg' => '',
  29. 'tip' => '',
  30. 'ok' => '',
  31. 'extend' => '',
  32. ),
  33. 2 =>
  34. array (
  35. 'name' => 'theme',
  36. 'title' => '皮肤名称',
  37. 'type' => 'string',
  38. 'content' =>
  39. array (
  40. ),
  41. 'value' => 'default',
  42. 'rule' => 'required',
  43. 'msg' => '',
  44. 'tip' => '',
  45. 'ok' => '',
  46. 'extend' => '',
  47. ),
  48. 3 =>
  49. array (
  50. 'name' => 'keywords',
  51. 'title' => '关键字',
  52. 'type' => 'string',
  53. 'content' =>
  54. array (
  55. ),
  56. 'value' => '任天堂switch加速器代理 ns加速器 ns游戏下载加速器 网络加速 ns商店游戏下载流量包 秒杀改DNS',
  57. 'rule' => 'required',
  58. 'msg' => '',
  59. 'tip' => '',
  60. 'ok' => '',
  61. 'extend' => '',
  62. ),
  63. 4 =>
  64. array (
  65. 'name' => 'description',
  66. 'title' => '描述',
  67. 'type' => 'string',
  68. 'content' =>
  69. array (
  70. ),
  71. 'value' => '任天堂switch加速器代理 ns加速器 ns游戏下载加速器 网络加速 ns商店游戏下载流量包 秒杀改DNS',
  72. 'rule' => 'required',
  73. 'msg' => '',
  74. 'tip' => '',
  75. 'ok' => '',
  76. 'extend' => '',
  77. ),
  78. 5 =>
  79. array (
  80. 'name' => 'intro',
  81. 'title' => '个人简介',
  82. 'type' => 'text',
  83. 'content' =>
  84. array (
  85. ),
  86. 'value' => '任天堂switch加速器代理 ns加速器 ns游戏下载加速器 网络加速 ns商店游戏下载流量包 秒杀改DNS',
  87. 'rule' => 'required',
  88. 'msg' => '',
  89. 'tip' => '',
  90. 'ok' => '',
  91. 'extend' => '',
  92. ),
  93. 6 =>
  94. array (
  95. 'name' => 'listpagesize',
  96. 'title' => '列表每页显示数量',
  97. 'type' => 'number',
  98. 'content' =>
  99. array (
  100. ),
  101. 'value' => '10',
  102. 'rule' => 'required',
  103. 'msg' => '',
  104. 'tip' => '',
  105. 'ok' => '',
  106. 'extend' => '',
  107. ),
  108. 7 =>
  109. array (
  110. 'name' => 'commentpagesize',
  111. 'title' => '评论每页显示数量',
  112. 'type' => 'number',
  113. 'content' =>
  114. array (
  115. ),
  116. 'value' => '10',
  117. 'rule' => 'required',
  118. 'msg' => '',
  119. 'tip' => '',
  120. 'ok' => '',
  121. 'extend' => '',
  122. ),
  123. 8 =>
  124. array (
  125. 'name' => 'avatar',
  126. 'title' => '头像',
  127. 'type' => 'image',
  128. 'content' =>
  129. array (
  130. ),
  131. 'value' => '/assets/addons/blog/img/avatar.png',
  132. 'rule' => 'required',
  133. 'msg' => '',
  134. 'tip' => '',
  135. 'ok' => '',
  136. 'extend' => '',
  137. ),
  138. 9 =>
  139. array (
  140. 'name' => 'donate',
  141. 'title' => '打赏图片',
  142. 'type' => 'image',
  143. 'content' =>
  144. array (
  145. ),
  146. 'value' => '/assets/addons/blog/img/qrcode.png',
  147. 'rule' => 'required',
  148. 'msg' => '',
  149. 'tip' => '',
  150. 'ok' => '',
  151. 'extend' => '',
  152. ),
  153. 10 =>
  154. array (
  155. 'name' => 'logo',
  156. 'title' => 'Logo图片',
  157. 'type' => 'image',
  158. 'content' =>
  159. array (
  160. ),
  161. 'value' => '/uploads/20200521/11c6b61ba1df524d1bb939dc97b70dd1.jpg',
  162. 'rule' => 'required',
  163. 'msg' => '',
  164. 'tip' => '',
  165. 'ok' => '',
  166. 'extend' => '',
  167. ),
  168. 11 =>
  169. array (
  170. 'name' => 'background',
  171. 'title' => '背景图片',
  172. 'type' => 'image',
  173. 'content' =>
  174. array (
  175. ),
  176. 'value' => 'https://cdn.fastadmin.net/uploads/20180507/1a81b9aaa3d52367b02b844e6437cf74.jpg',
  177. 'rule' => 'required',
  178. 'msg' => '',
  179. 'tip' => '',
  180. 'ok' => '',
  181. 'extend' => '',
  182. ),
  183. 12 =>
  184. array (
  185. 'name' => 'copyright',
  186. 'title' => '底部版权信息',
  187. 'type' => 'text',
  188. 'content' =>
  189. array (
  190. ),
  191. 'value' => 'Copyright @ 2017~2019 Theme design by jeanstudio',
  192. 'rule' => '',
  193. 'msg' => '',
  194. 'tip' => '',
  195. 'ok' => '',
  196. 'extend' => '',
  197. ),
  198. 13 =>
  199. array (
  200. 'name' => 'domain',
  201. 'title' => '绑定二级域名前缀',
  202. 'type' => 'string',
  203. 'content' =>
  204. array (
  205. ),
  206. 'value' => '',
  207. 'rule' => '',
  208. 'msg' => '',
  209. 'tip' => '',
  210. 'ok' => '',
  211. 'extend' => '',
  212. ),
  213. 14 =>
  214. array (
  215. 'name' => 'iscommentaudit',
  216. 'title' => '发表评论审核',
  217. 'type' => 'radio',
  218. 'content' =>
  219. array (
  220. 1 => '全部审核',
  221. 0 => '无需审核',
  222. -1 => '仅含有过滤词时审核',
  223. ),
  224. 'value' => '-1',
  225. 'rule' => 'required',
  226. 'msg' => '',
  227. 'tip' => '',
  228. 'ok' => '',
  229. 'extend' => '',
  230. ),
  231. 15 =>
  232. array (
  233. 'name' => 'audittype',
  234. 'title' => '审核方式',
  235. 'type' => 'radio',
  236. 'content' =>
  237. array (
  238. 'local' => '本地',
  239. 'baiduyun' => '百度云',
  240. ),
  241. 'value' => 'local',
  242. 'rule' => 'required',
  243. 'msg' => '',
  244. 'tip' => '如果启用百度云,请输入百度云AI平台应用的AK和SK',
  245. 'ok' => '',
  246. 'extend' => '',
  247. ),
  248. 16 =>
  249. array (
  250. 'name' => 'aip_appid',
  251. 'title' => '百度AI平台应用Appid',
  252. 'type' => 'string',
  253. 'content' =>
  254. array (
  255. ),
  256. 'value' => '',
  257. 'rule' => '',
  258. 'msg' => '',
  259. 'tip' => '百度云AI开放平台应用AppId',
  260. 'ok' => '',
  261. 'extend' => '',
  262. ),
  263. 17 =>
  264. array (
  265. 'name' => 'aip_apikey',
  266. 'title' => '百度AI平台应用Apikey',
  267. 'type' => 'string',
  268. 'content' =>
  269. array (
  270. ),
  271. 'value' => '',
  272. 'rule' => '',
  273. 'msg' => '',
  274. 'tip' => '百度云AI开放平台应用ApiKey',
  275. 'ok' => '',
  276. 'extend' => '',
  277. ),
  278. 18 =>
  279. array (
  280. 'name' => 'aip_secretkey',
  281. 'title' => '百度AI平台应用Secretkey',
  282. 'type' => 'string',
  283. 'content' =>
  284. array (
  285. ),
  286. 'value' => '',
  287. 'rule' => '',
  288. 'msg' => '',
  289. 'tip' => '百度云AI开放平台应用Secretkey',
  290. 'ok' => '',
  291. 'extend' => '',
  292. ),
  293. 19 =>
  294. array (
  295. 'name' => 'searchtype',
  296. 'title' => '搜索方式',
  297. 'type' => 'radio',
  298. 'content' =>
  299. array (
  300. 'local' => '本地搜索,采用Like(无需配置,效率低)',
  301. 'xunsearch' => '采用Xunsearch全文搜索(需安装插件+配置)',
  302. ),
  303. 'value' => 'local',
  304. 'rule' => 'required',
  305. 'msg' => '',
  306. 'tip' => '如果启用Xunsearch全文搜索,需安装Xunsearch插件并配置Xunsearch服务器',
  307. 'ok' => '',
  308. 'extend' => '',
  309. ),
  310. 20 =>
  311. array (
  312. 'name' => 'baidupush',
  313. 'title' => '百度熊掌号+百度站长推送',
  314. 'type' => 'radio',
  315. 'content' =>
  316. array (
  317. 1 => '开启',
  318. 0 => '关闭',
  319. ),
  320. 'value' => '0',
  321. 'rule' => 'required',
  322. 'msg' => '',
  323. 'tip' => '如果开启百度熊掌+百度站长推送,将在文章发布时自动进行推送',
  324. 'ok' => '',
  325. 'extend' => '',
  326. ),
  327. 21 =>
  328. array (
  329. 'name' => 'pagemode',
  330. 'title' => '分页模式',
  331. 'type' => 'radio',
  332. 'content' =>
  333. array (
  334. 'normal' => '普通分页模式',
  335. 'infinite' => '采用无限加载更多模式',
  336. ),
  337. 'value' => 'infinite',
  338. 'rule' => 'required',
  339. 'msg' => '',
  340. 'tip' => '',
  341. 'ok' => '',
  342. 'extend' => '',
  343. ),
  344. 22 =>
  345. array (
  346. 'name' => 'commentavatarmode',
  347. 'title' => '评论头像模式',
  348. 'type' => 'radio',
  349. 'content' =>
  350. array (
  351. 'letter' => '根据名称使用字母头像',
  352. 'gravatar' => '根据Email使用Gravatar头像',
  353. ),
  354. 'value' => 'letter',
  355. 'rule' => 'required',
  356. 'msg' => '',
  357. 'tip' => '',
  358. 'ok' => '',
  359. 'extend' => '',
  360. ),
  361. 23 =>
  362. array (
  363. 'name' => 'rewrite',
  364. 'title' => '伪静态',
  365. 'type' => 'array',
  366. 'content' =>
  367. array (
  368. ),
  369. 'value' =>
  370. array (
  371. 'index/index' => '/blog$',
  372. 'archive/index' => '/blog/archive',
  373. 'search/index' => '/blog/search',
  374. 'category/index' => '/blog/c/[:diyname]',
  375. 'post/index' => '/blog/a/[:catename]/[:diyname]',
  376. ),
  377. 'rule' => 'required',
  378. 'msg' => '',
  379. 'tip' => '',
  380. 'ok' => '',
  381. 'extend' => '',
  382. ),
  383. );