config.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <?php
  2. return array (
  3. 0 =>
  4. array (
  5. 'name' => 'language',
  6. 'title' => '语言',
  7. 'type' => 'select',
  8. 'content' =>
  9. array (
  10. 'en' => '英语(美国)',
  11. 'af_ZA' => '南非荷兰语(南非)',
  12. 'ar' => '阿拉伯',
  13. 'eu' => '巴斯克',
  14. 'be' => '白俄罗斯',
  15. 'bg_BG' => '保加利亚语(保加利亚)',
  16. 'ca' => '加泰罗尼亚',
  17. 'zh_CN' => '简体中文',
  18. 'zh_TW' => '繁体中文',
  19. 'hr' => '克罗地亚 ',
  20. 'cs' => '捷克',
  21. 'da' => '丹麦',
  22. 'dv' => '迪维希',
  23. 'nl' => '荷兰',
  24. 'en_CA' => '英语(加拿大)',
  25. 'en_GB' => '英语(英国)',
  26. 'et' => '爱沙尼亚语',
  27. 'fr_FR' => '法语(法国)',
  28. 'gl' => '加利西亚',
  29. 'ka_GE' => '格鲁吉亚(格鲁吉亚)',
  30. 'de' => '德语',
  31. 'de_AT' => '德语(奥地利)',
  32. 'el' => '希腊语',
  33. 'he_IL' => '希伯来语(以色列)',
  34. 'hu_HU' => ' 匈牙利语(匈牙利语)',
  35. 'ga' => '爱尔兰',
  36. 'it' => '意大利',
  37. 'ja' => '日本',
  38. 'kab' => '卡拜尔',
  39. 'kk' => '哈萨克人',
  40. 'km_KH' => '高棉(柬埔寨)',
  41. 'ko_KR' => '韩国(韩国)',
  42. 'lv' => '拉脱维亚',
  43. 'nb_NO ' => '挪威博克马尔(挪威)',
  44. 'fa_IR' => '波斯(伊朗)',
  45. 'pl' => '抛光',
  46. 'pt_BR' => '葡萄牙语(巴西)',
  47. 'pt_PT' => ' 葡萄牙(葡萄牙)',
  48. 'ro' => '罗马尼亚',
  49. 'ru' => '俄语',
  50. 'sk' => '斯洛伐克',
  51. 'sl_SI' => '斯洛维尼亚语(斯洛文尼亚)',
  52. 'es' => '西班牙语',
  53. 'es_MX' => '西班牙(墨西哥)',
  54. 'sv_SE' => ' 瑞典语(瑞典)',
  55. 'ta' => ' 泰米尔人',
  56. 'ta_IN' => '泰米尔(印度)',
  57. 'th_TH' => '泰国(泰国)',
  58. 'tr' => '土耳其',
  59. 'tr_TR' => '土耳其(土耳其)',
  60. 'uk' => '乌克兰',
  61. 'uk_UA' => '乌克兰(乌克兰)',
  62. 'uz' => '乌兹别克',
  63. 'vi_VN' => '越南语(越南)',
  64. 'cy' => '威尔士语',
  65. ),
  66. 'value' => 'zh_CN',
  67. 'rule' => 'required',
  68. 'msg' => '必须选择语言',
  69. 'tip' => '选择语言包',
  70. 'ok' => '',
  71. 'extend' => '',
  72. ),
  73. 1 =>
  74. array (
  75. 'name' => 'plugins',
  76. 'title' => '自定义插件',
  77. 'type' => 'selects',
  78. 'content' =>
  79. array (
  80. 'autolink' => '自动创建超链接',
  81. 'autosave' => '自动保存',
  82. 'print' => '打印',
  83. 'preview' => '预览',
  84. 'spellchecker' => '拼写检查',
  85. 'fullscreen' => '全屏',
  86. 'media' => '媒体',
  87. 'emoticons' => '表情',
  88. 'template' => '模板',
  89. 'paste' => '粘贴',
  90. 'textcolor' => '文字颜色',
  91. ),
  92. 'value' => 'autolink,autosave,print,preview,spellchecker,fullscreen,media,emoticons,template,paste,textcolor',
  93. 'rule' => '',
  94. 'msg' => '',
  95. 'tip' => '自主选择插件',
  96. 'ok' => '',
  97. 'extend' => '',
  98. ),
  99. 2 =>
  100. array (
  101. 'name' => 'toolbar',
  102. 'title' => '快捷工具栏',
  103. 'type' => 'radio',
  104. 'content' =>
  105. array (
  106. 1 => '显示',
  107. 0 => '不显示',
  108. ),
  109. 'value' => '1',
  110. 'rule' => '',
  111. 'msg' => '',
  112. 'tip' => '',
  113. 'ok' => '',
  114. 'extend' => '',
  115. ),
  116. 3 =>
  117. array (
  118. 'name' => 'content_style',
  119. 'title' => '编辑区样式(不会提交)',
  120. 'type' => 'string',
  121. 'content' =>
  122. array (
  123. ),
  124. 'value' => '',
  125. 'rule' => '',
  126. 'msg' => '',
  127. 'tip' => '编辑器展示样式,不会和内容一起被提交',
  128. 'ok' => '',
  129. 'extend' => '',
  130. ),
  131. 4 =>
  132. array (
  133. 'name' => 'image_default_size',
  134. 'title' => '图片默认宽高',
  135. 'type' => 'string',
  136. 'content' =>
  137. array (
  138. ),
  139. 'value' => '{width:\'100%\',height:\'\'}',
  140. 'rule' => '',
  141. 'msg' => '',
  142. 'tip' => '格式:{width:\'\',height:\'\'} 允许是百分比或像素',
  143. 'ok' => '',
  144. 'extend' => '',
  145. ),
  146. 5 =>
  147. array (
  148. 'name' => 'up_video',
  149. 'title' => '视频本地上传',
  150. 'type' => 'radio',
  151. 'content' =>
  152. array (
  153. 0 => '不开启',
  154. 1 => '开启',
  155. ),
  156. 'value' => '0',
  157. 'rule' => '',
  158. 'msg' => '',
  159. 'tip' => ' 是否开启上传视频',
  160. 'ok' => '',
  161. 'extend' => '',
  162. ),
  163. 6 =>
  164. array (
  165. 'name' => 'media_default_size',
  166. 'title' => '音/视频默认宽高',
  167. 'type' => 'string',
  168. 'content' =>
  169. array (
  170. ),
  171. 'value' => '{width:\'100%\',height:\'\'}',
  172. 'rule' => '',
  173. 'msg' => '',
  174. 'tip' => ' 格式:{width:\'\',height:\'\'} 允许是百分比或像素',
  175. 'ok' => '',
  176. 'extend' => '',
  177. ),
  178. 7 =>
  179. array (
  180. 'name' => 'subDom',
  181. 'title' => '所在表单提交dom',
  182. 'type' => 'string',
  183. 'content' =>
  184. array (
  185. ),
  186. 'value' => ':button[type=submit],input[type=submit]',
  187. 'rule' => 'required',
  188. 'msg' => '',
  189. 'tip' => '多个用,隔开:button[type=submit]为默认的请不要删除',
  190. 'ok' => '',
  191. 'extend' => '',
  192. ),
  193. );