config.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?php
  2. return [
  3. [
  4. 'name' => 'theme',
  5. 'title' => '选择主题',
  6. 'type' => 'radio',
  7. 'content' => [
  8. 'ambiance' => 'Ambiance',
  9. 'chaos' => 'Chaos',
  10. 'chrome' => 'Chrome',
  11. 'clouds' => 'Clouds',
  12. 'clouds_midnight' => 'Clouds Midnight',
  13. 'cobalt' => 'Cobalt',
  14. 'crimson_editor' => 'Crimson Editor',
  15. 'dawn' => 'Dawn',
  16. 'dracula' => 'Dracula',
  17. 'dreamweaver' => 'Dreamweaver',
  18. 'eclipse' => 'Eclipse',
  19. 'github' => 'Github',
  20. 'gob' => 'Gob',
  21. 'gruvbox' => 'Gruvbox',
  22. 'idle_fingers' => 'Idle Fingers',
  23. 'iplastic' => 'Iplastic',
  24. 'katzenmilch' => 'Katzenmilch',
  25. 'kr_theme' => 'Kr Theme',
  26. 'kuroir' => 'kuroir',
  27. 'merbivore' => 'Merbivore',
  28. 'merbivore_soft' => 'Merbivore Soft',
  29. 'mono_industrial' => 'Mono Industrial',
  30. 'monokai' => 'Monokai',
  31. 'pastel_on_dark' => 'Pastel On Dark',
  32. 'solarized_dark' => 'Solarized Dark',
  33. 'solarized_light' => 'Solarized Light',
  34. 'sqlserver' => 'Sqlserver',
  35. 'terminal' => 'Terminal',
  36. 'textmate' => 'Textmate',
  37. 'tomorrow' => 'Tomorrow',
  38. 'tomorrow_night' => 'Tomorrow Night',
  39. 'tomorrow_night_blue' => 'Tomorrow Night Blue',
  40. 'tomorrow_night_bright' => 'Tomorrow Night Bright',
  41. 'tomorrow_night_eighties' => 'Tomorrow Night Eighties',
  42. 'twilight' => 'Twilight',
  43. 'vibrant_ink' => 'Vibrant Ink',
  44. 'xcode' => 'Xcode',
  45. ],
  46. 'value' => 'xcode',
  47. 'rule' => 'required',
  48. 'msg' => '',
  49. 'tip' => '',
  50. 'ok' => '',
  51. 'extend' => '',
  52. ],
  53. [
  54. 'name' => 'font_size',
  55. 'title' => '字体大小',
  56. 'type' => 'string',
  57. 'content' => '',
  58. 'value' => '13',
  59. 'rule' => 'required',
  60. 'msg' => '',
  61. 'tip' => 'px',
  62. 'ok' => '',
  63. 'extend' => '',
  64. ],
  65. [
  66. 'name' => 'setreadonly',
  67. 'title' => '是否只读',
  68. 'type' => 'radio',
  69. 'content' => [
  70. '否',
  71. '是',
  72. ],
  73. 'value' => '0',
  74. 'rule' => 'required',
  75. 'msg' => '',
  76. 'tip' => '',
  77. 'ok' => '',
  78. 'extend' => '',
  79. ],
  80. [
  81. 'name' => 'auto_wrap',
  82. 'title' => '自动换行',
  83. 'type' => 'radio',
  84. 'content' => [
  85. 'free' => '是',
  86. 'off' => '否',
  87. ],
  88. 'value' => 'free',
  89. 'rule' => 'required',
  90. 'msg' => '',
  91. 'tip' => '',
  92. 'ok' => '',
  93. 'extend' => '',
  94. ],
  95. [
  96. 'name' => '__tips__',
  97. 'title' => '温馨提示',
  98. 'type' => 'string',
  99. 'content' => [],
  100. 'value' => '为了你的站点安全,该插件仅在调试模式下可用',
  101. 'rule' => '',
  102. 'msg' => '',
  103. 'tip' => '',
  104. 'ok' => '',
  105. 'extend' => '',
  106. ],
  107. ];