Guest User

Untitled

a guest
Jun 5th, 2011
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. $content['type'] = array (
  2. 'name' => 'Book page',
  3. 'type' => 'book',
  4. 'description' => 'A <em>book page</em> is a page of content, organized into a collection of related entries collectively known as a <em>book</em>. A <em>book page</em> automatically displays links to adjacent pages, providing a simple navigation system for organizing and reviewing structured content.',
  5. 'title_label' => 'Title',
  6. 'body_label' => 'Body',
  7. 'min_word_count' => '0',
  8. 'help' => '',
  9. 'node_options' =>
  10. array (
  11. 'status' => true,
  12. 'promote' => false,
  13. 'sticky' => false,
  14. 'revision' => false,
  15. ),
  16. 'old_type' => 'book',
  17. 'orig_type' => 'book',
  18. 'module' => 'node',
  19. 'custom' => '1',
  20. 'modified' => '1',
  21. 'locked' => '0',
  22. 'og_content_type_usage' => 'omitted',
  23. 'og_max_groups' => '',
  24. 'nodewords_edit_metatags' => 1,
  25. 'nodewords_metatags_generation_method' => '1',
  26. 'nodewords_metatags_generation_source' => '3',
  27. 'nodewords_use_alt_attribute' => 1,
  28. 'nodewords_filter_modules_output' =>
  29. array (
  30. 'imagebrowser' => false,
  31. 'img_assist' => false,
  32. ),
  33. 'nodewords_filter_regexp' => '',
  34. 'rdf_schema_class' => '',
  35. 'comment' => '0',
  36. 'comment_default_mode' => '4',
  37. 'comment_default_order' => '1',
  38. 'comment_default_per_page' => '50',
  39. 'comment_controls' => '3',
  40. 'comment_anonymous' => '0',
  41. 'comment_subject_field' => '1',
  42. 'comment_preview' => '1',
  43. 'comment_form_location' => '0',
  44. 'page_title' =>
  45. array (
  46. 'show_field' =>
  47. array (
  48. 'show_field' => false,
  49. ),
  50. 'pattern' => '',
  51. ),
  52. 'tableofcontents_toc_automatic' => 0,
  53. 'tableofcontents_vtoc' => false,
  54. 'tableofcontents_remove_from_teaser' => true,
  55. 'teaserthumbnail' => '0',
  56. 'teaserthumbnail_attachment' => 0,
  57. 'teaserthumbnail_teaser' => '1',
  58. 'teaserthumbnail_rss' => '1',
  59. 'teaserthumbnail_link' => 1,
  60. 'teaserthumbnail_align' => '0',
  61. 'teaserthumbnail_preset' => '',
  62. 'teaserthumbnail_min_height' => '',
  63. 'teaserthumbnail_min_width' => '',
  64. 'vertical_tabs_default_tab' => '',
  65. 'ant' => '0',
  66. 'ant_pattern' => '',
  67. 'ant_php' => 0,
  68. 'notifications_content_type' =>
  69. array (
  70. 'thread' => true,
  71. 'nodetype' => true,
  72. 'author' => true,
  73. 'grouptype' => false,
  74. 'group' => false,
  75. 'typeauthor' => false,
  76. ),
  77. );
  78. $content['fields'] = array (
  79. 0 =>
  80. array (
  81. 'label' => 'Document Upload',
  82. 'field_name' => 'field_document_upload',
  83. 'type' => 'filefield',
  84. 'widget_type' => 'filefield_widget',
  85. 'change' => 'Change basic information',
  86. 'weight' => '-4',
  87. 'file_extensions' => 'pdf doc ppt swf zip',
  88. 'progress_indicator' => 'bar',
  89. 'file_path' => 'documents/users/[user-raw]',
  90. 'max_filesize_per_file' => '',
  91. 'max_filesize_per_node' => '',
  92. 'filefield_sources' =>
  93. array (
  94. 1 => 1,
  95. 0 => 1,
  96. 'reference' => false,
  97. 'remote' => false,
  98. ),
  99. 'filefield_source_autocomplete' => '0',
  100. 'insert' => true,
  101. 'insert_styles' =>
  102. array (
  103. 1 => 1,
  104. 0 => 1,
  105. 'auto' => false,
  106. 'link' => false,
  107. 'image' => false,
  108. 'imagecache_Full_Width_688px' => false,
  109. 'imagecache_Half_Width_350px' => false,
  110. 'imagecache_Image-Scale-520w' => false,
  111. 'imagecache_Image-Scale-668w' => false,
  112. 'imagecache_no_change' => false,
  113. 'imagecache_photo_gallery_916w' => false,
  114. 'imagecache_photo_gallery_936w' => false,
  115. 'imagecache_Profile_Avatar_41x37' => false,
  116. 'imagecache_Profile_Avatar_57x51' => false,
  117. 'imagecache_Profile_Avatar_74x67' => false,
  118. 'imagecache_Profile_Avatar_74x67_BW' => false,
  119. 'imagecache_Profile_Avatar_100x89_BW' => false,
  120. 'imagecache_Profile_Avatar_171x153' => false,
  121. 'imagecache_Profile_Avatar_171x153_BW' => false,
  122. 'imagecache_Quarter_Width_175px' => false,
  123. 'imagecache_Sidebar_205w' => false,
  124. 'imagecache_Teaser_Thumbnail_75x50' => false,
  125. 'imagecache_Teaser_Thumbnail_150x100' => false,
  126. 'imagecache_Tiny_Width_100px' => false,
  127. ),
  128. 'insert_default' =>
  129. array (
  130. 0 => 'link',
  131. ),
  132. 'insert_class' => '',
  133. 'insert_width' => '',
  134. 'description' => '',
  135. 'group' => false,
  136. 'required' => 0,
  137. 'multiple' => '1',
  138. 'list_field' => '1',
  139. 'list_default' => 1,
  140. 'description_field' => '1',
  141. 'global_cck_blocks_settings' => '2',
  142. 'op' => 'Save field settings',
  143. 'module' => 'filefield',
  144. 'widget_module' => 'filefield',
  145. 'columns' =>
  146. array (
  147. 'fid' =>
  148. array (
  149. 'type' => 'int',
  150. 'not null' => false,
  151. 'views' => true,
  152. ),
  153. 'list' =>
  154. array (
  155. 'type' => 'int',
  156. 'size' => 'tiny',
  157. 'not null' => false,
  158. 'views' => true,
  159. ),
  160. 'data' =>
  161. array (
  162. 'type' => 'text',
  163. 'serialize' => true,
  164. 'views' => true,
  165. ),
  166. ),
  167. 'rdf_property' => '',
  168. 'display_settings' =>
  169. array (
  170. 'weight' => '4',
  171. 'parent' => 'group_document_upload',
  172. 'label' =>
  173. array (
  174. 'format' => 'hidden',
  175. ),
  176. 'teaser' =>
  177. array (
  178. 'format' => 'hidden',
  179. 'exclude' => 1,
  180. ),
  181. 'full' =>
  182. array (
  183. 'format' => 'hidden',
  184. 'exclude' => 1,
  185. ),
  186. 5 =>
  187. array (
  188. 'format' => 'default',
  189. 'exclude' => 0,
  190. ),
  191. 4 =>
  192. array (
  193. 'format' => 'default',
  194. 'exclude' => 0,
  195. ),
  196. 2 =>
  197. array (
  198. 'format' => 'default',
  199. 'exclude' => 0,
  200. ),
  201. 3 =>
  202. array (
  203. 'format' => 'default',
  204. 'exclude' => 0,
  205. ),
  206. 'token' =>
  207. array (
  208. 'format' => 'default',
  209. 'exclude' => 0,
  210. ),
  211. ),
  212. ),
  213. );
  214. $content['extra'] = array (
  215. 'title' => '-5',
  216. 'body_field' => '-1',
  217. 'revision_information' => '1',
  218. 'author' => '2',
  219. 'options' => '3',
  220. 'comment_settings' => '6',
  221. 'menu' => '-2',
  222. 'taxonomy' => '-3',
  223. 'book' => '0',
  224. 'path' => '5',
  225. 'attachments' => '4',
  226. );
Advertisement
Add Comment
Please, Sign In to add comment