article.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?php
  2. return array (
  3. 'base' =>
  4. array (
  5. 'id' =>
  6. array (
  7. 'name' => 'id',
  8. 'type' => 'text',
  9. 'size' => 10,
  10. 'zh' => 'ID',
  11. ),
  12. 'cate_id' =>
  13. array (
  14. 'name' => 'cate_id',
  15. 'type' => 'text',
  16. 'size' => 10,
  17. 'zh' => '栏目',
  18. ),
  19. 'title' =>
  20. array (
  21. 'name' => 'title',
  22. 'type' => 'text',
  23. 'size' => 30,
  24. 'zh' => '标题',
  25. ),
  26. 'title_style' =>
  27. array (
  28. 'name' => 'title_style',
  29. 'type' => 'text',
  30. 'size' => 30,
  31. 'zh' => '标题样式',
  32. ),
  33. 'thumb' =>
  34. array (
  35. 'name' => 'thumb',
  36. 'type' => 'text',
  37. 'size' => 30,
  38. 'zh' => '缩略图',
  39. ),
  40. 'keywords' =>
  41. array (
  42. 'name' => 'keywords',
  43. 'type' => 'text',
  44. 'size' => 30,
  45. 'zh' => '关键词',
  46. ),
  47. 'description' =>
  48. array (
  49. 'name' => 'description',
  50. 'type' => 'textarea',
  51. 'row' => 10,
  52. 'zh' => 'SEO简介',
  53. ),
  54. 'content' =>
  55. array (
  56. 'name' => 'content',
  57. 'type' => 'textarea',
  58. 'row' => 10,
  59. 'zh' => '内容',
  60. ),
  61. 'template' =>
  62. array (
  63. 'name' => 'template',
  64. 'type' => 'text',
  65. 'size' => 30,
  66. 'zh' => '模板',
  67. ),
  68. 'status' =>
  69. array (
  70. 'name' => 'status',
  71. 'type' => 'text',
  72. 'size' => 10,
  73. 'zh' => '状态',
  74. ),
  75. 'sort' =>
  76. array (
  77. 'name' => 'sort',
  78. 'type' => 'text',
  79. 'size' => 10,
  80. 'zh' => '排序',
  81. ),
  82. 'hits' =>
  83. array (
  84. 'name' => 'hits',
  85. 'type' => 'text',
  86. 'size' => 10,
  87. 'zh' => '点击次数',
  88. ),
  89. 'create_time' =>
  90. array (
  91. 'name' => 'create_time',
  92. 'type' => 'text',
  93. 'size' => 10,
  94. 'zh' => '创建时间',
  95. ),
  96. 'update_time' =>
  97. array (
  98. 'name' => 'update_time',
  99. 'type' => 'text',
  100. 'size' => 10,
  101. 'zh' => '更新时间',
  102. ),
  103. 'image' =>
  104. array (
  105. 'name' => 'image',
  106. 'type' => 'text',
  107. 'size' => 30,
  108. 'zh' => '缩略图',
  109. ),
  110. 'images' =>
  111. array (
  112. 'name' => 'images',
  113. 'type' => 'textarea',
  114. 'row' => 10,
  115. 'zh' => '图片集',
  116. ),
  117. 'download' =>
  118. array (
  119. 'name' => 'download',
  120. 'type' => 'text',
  121. 'size' => 30,
  122. 'zh' => '文件下载',
  123. ),
  124. 'author' =>
  125. array (
  126. 'name' => 'author',
  127. 'type' => 'text',
  128. 'size' => 30,
  129. 'zh' => '作者',
  130. ),
  131. 'source' =>
  132. array (
  133. 'name' => 'source',
  134. 'type' => 'text',
  135. 'size' => 30,
  136. 'zh' => '来源',
  137. ),
  138. 'summary' =>
  139. array (
  140. 'name' => 'summary',
  141. 'type' => 'textarea',
  142. 'row' => 10,
  143. 'zh' => '摘要',
  144. ),
  145. 'tags' =>
  146. array (
  147. 'name' => 'tags',
  148. 'type' => 'text',
  149. 'size' => 30,
  150. 'zh' => 'TAG',
  151. ),
  152. ),
  153. 'tableInfo' =>
  154. array (
  155. 'function' => 'function_name',
  156. 'pageButton' =>
  157. array (
  158. 0 => 'export',
  159. 1 => 'showMenu',
  160. 2 => 'add',
  161. ),
  162. 'sort' =>
  163. array (
  164. 0 => 'create_time',
  165. 1 => 'desc',
  166. ),
  167. 'action' => 'edit:编辑:id,del:删除:id',
  168. 'property' => 'none',
  169. 'title' => '文章',
  170. 'name' => 'article',
  171. ),
  172. );