Browse Source

updated/sunc feautures betxeen local and online

Bachir Soussi Chiadmi 10 years ago
parent
commit
41e7f80383
41 changed files with 6362 additions and 1104 deletions
  1. 1 2
      frequently_asked_questions/frequently_asked_questions.features.inc
  2. 3 3
      frequently_asked_questions/frequently_asked_questions.features.taxonomy.inc
  3. 29 29
      frequently_asked_questions/frequently_asked_questions.features.user_permission.inc
  4. 3 2
      frequently_asked_questions/frequently_asked_questions.info
  5. 16 18
      frequently_asked_questions/frequently_asked_questions.strongarm.inc
  6. 3 4
      materio_administration/materio_administration.features.inc
  7. 1 1
      materio_administration/materio_administration.features.menu_custom.inc
  8. 4 39
      materio_administration/materio_administration.info
  9. 149 144
      materio_administration/materio_administration.views_default.inc
  10. 22 6
      materio_bookmarks/materio_bookmarks.features.inc
  11. 10 8
      materio_bookmarks/materio_bookmarks.features.user_permission.inc
  12. 2 2
      materio_bookmarks/materio_bookmarks.info
  13. 1159 0
      materio_content_types/materio_content_types.features.field_base.inc
  14. 4192 0
      materio_content_types/materio_content_types.features.field_instance.inc
  15. 20 19
      materio_content_types/materio_content_types.features.inc
  16. 9 9
      materio_content_types/materio_content_types.features.taxonomy.inc
  17. 290 288
      materio_content_types/materio_content_types.features.user_permission.inc
  18. 53 52
      materio_content_types/materio_content_types.field_group.inc
  19. 84 54
      materio_content_types/materio_content_types.info
  20. 39 0
      materio_content_types/materio_content_types.strongarm.inc
  21. 27 16
      materio_content_types/materio_content_types.views_default.inc
  22. 10 10
      materio_feedback/materio_feedback.features.user_permission.inc
  23. 2 2
      materio_feedback/materio_feedback.info
  24. 26 26
      materio_folders/materio_folders.features.user_permission.inc
  25. 2 2
      materio_folders/materio_folders.info
  26. 0 0
      materio_subscriptions/materio_subscriptions.features.field.inc
  27. 3 10
      materio_subscriptions/materio_subscriptions.features.inc
  28. 0 0
      materio_subscriptions/materio_subscriptions.features.taxonomy.inc
  29. 18 109
      materio_subscriptions/materio_subscriptions.features.user_permission.inc
  30. 0 0
      materio_subscriptions/materio_subscriptions.features.user_role.inc
  31. 4 30
      materio_subscriptions/materio_subscriptions.info
  32. 0 0
      materio_subscriptions/materio_subscriptions.module
  33. 28 139
      materio_subscriptions/materio_subscriptions.strongarm.inc
  34. 0 0
      materio_user_profiles/materio_user_profiles.features.field.inc
  35. 51 2
      materio_user_profiles/materio_user_profiles.features.field_base.inc
  36. 86 14
      materio_user_profiles/materio_user_profiles.features.field_instance.inc
  37. 0 9
      materio_user_profiles/materio_user_profiles.features.inc
  38. 12 3
      materio_user_profiles/materio_user_profiles.features.user_permission.inc
  39. 4 8
      materio_user_profiles/materio_user_profiles.info
  40. 0 0
      materio_user_profiles/materio_user_profiles.module
  41. 0 44
      materio_user_profiles/materio_user_profiles.strongarm.inc

+ 1 - 2
frequently_asked_questions/frequently_asked_questions.features.inc

@@ -7,8 +7,7 @@
 /**
  * Implements hook_ctools_plugin_api().
  */
-function frequently_asked_questions_ctools_plugin_api() {
-  list($module, $api) = func_get_args();
+function frequently_asked_questions_ctools_plugin_api($module = NULL, $api = NULL) {
   if ($module == "strongarm" && $api == "strongarm") {
     return array("version" => "1");
   }

+ 3 - 3
frequently_asked_questions/frequently_asked_questions.features.taxonomy.inc

@@ -13,11 +13,11 @@ function frequently_asked_questions_taxonomy_default_vocabularies() {
       'name' => 'faq categories',
       'machine_name' => 'faq_categories',
       'description' => '',
-      'hierarchy' => '0',
+      'hierarchy' => 0,
       'module' => 'taxonomy',
-      'weight' => '0',
+      'weight' => 0,
       'language' => 'und',
-      'i18n_mode' => '1',
+      'i18n_mode' => 1,
     ),
   );
 }

+ 29 - 29
frequently_asked_questions/frequently_asked_questions.features.user_permission.inc

@@ -10,129 +10,129 @@
 function frequently_asked_questions_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: administer faq.
+  // Exported permission: 'administer faq'.
   $permissions['administer faq'] = array(
     'name' => 'administer faq',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'faq',
   );
 
-  // Exported permission: administer faq order.
+  // Exported permission: 'administer faq order'.
   $permissions['administer faq order'] = array(
     'name' => 'administer faq order',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'faq',
   );
 
-  // Exported permission: create faq content.
+  // Exported permission: 'create faq content'.
   $permissions['create faq content'] = array(
     'name' => 'create faq content',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'node',
   );
 
-  // Exported permission: delete any faq content.
+  // Exported permission: 'delete any faq content'.
   $permissions['delete any faq content'] = array(
     'name' => 'delete any faq content',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'node',
   );
 
-  // Exported permission: delete own faq content.
+  // Exported permission: 'delete own faq content'.
   $permissions['delete own faq content'] = array(
     'name' => 'delete own faq content',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'node',
   );
 
-  // Exported permission: edit any faq content.
+  // Exported permission: 'edit any faq content'.
   $permissions['edit any faq content'] = array(
     'name' => 'edit any faq content',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'node',
   );
 
-  // Exported permission: edit own faq content.
+  // Exported permission: 'edit own faq content'.
   $permissions['edit own faq content'] = array(
     'name' => 'edit own faq content',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'node',
   );
 
-  // Exported permission: enter faq revision log entry.
+  // Exported permission: 'enter faq revision log entry'.
   $permissions['enter faq revision log entry'] = array(
     'name' => 'enter faq revision log entry',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq authored by option.
+  // Exported permission: 'override faq authored by option'.
   $permissions['override faq authored by option'] = array(
     'name' => 'override faq authored by option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq authored on option.
+  // Exported permission: 'override faq authored on option'.
   $permissions['override faq authored on option'] = array(
     'name' => 'override faq authored on option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq promote to front page option.
+  // Exported permission: 'override faq promote to front page option'.
   $permissions['override faq promote to front page option'] = array(
     'name' => 'override faq promote to front page option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq published option.
+  // Exported permission: 'override faq published option'.
   $permissions['override faq published option'] = array(
     'name' => 'override faq published option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq revision option.
+  // Exported permission: 'override faq revision option'.
   $permissions['override faq revision option'] = array(
     'name' => 'override faq revision option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: override faq sticky option.
+  // Exported permission: 'override faq sticky option'.
   $permissions['override faq sticky option'] = array(
     'name' => 'override faq sticky option',
     'roles' => array(),
     'module' => 'override_node_options',
   );
 
-  // Exported permission: view faq page.
+  // Exported permission: 'view faq page'.
   $permissions['view faq page'] = array(
     'name' => 'view faq page',
     'roles' => array(
-      0 => 'authenticated user',
-      1 => 'root',
+      'authenticated user' => 'authenticated user',
+      'root' => 'root',
     ),
     'module' => 'faq',
   );

+ 3 - 2
frequently_asked_questions/frequently_asked_questions.info

@@ -1,15 +1,15 @@
 name = frequently asked questions
 core = 7.x
 package = Materio
-php = 5.2.4
 dependencies[] = ctools
 dependencies[] = faq
 dependencies[] = features
+dependencies[] = node
 dependencies[] = override_node_options
 dependencies[] = strongarm
 dependencies[] = taxonomy
 features[ctools][] = strongarm:strongarm:1
-features[features_api][] = api:1
+features[features_api][] = api:2
 features[taxonomy][] = faq_categories
 features[user_permission][] = administer faq
 features[user_permission][] = administer faq order
@@ -54,3 +54,4 @@ features[variable][] = faq_title
 features[variable][] = faq_use_categories
 features[variable][] = faq_use_teaser
 features[variable][] = nodeformscols_field_placements_faq_default
+project path = sites/all/modules/features

+ 16 - 18
frequently_asked_questions/frequently_asked_questions.strongarm.inc

@@ -35,7 +35,7 @@ function frequently_asked_questions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'faq_category_display';
-  $strongarm->value = 'categories_inline';
+  $strongarm->value = 'none';
   $export['faq_category_display'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -84,7 +84,7 @@ function frequently_asked_questions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'faq_disable_node_links';
-  $strongarm->value = 1;
+  $strongarm->value = 0;
   $export['faq_disable_node_links'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -160,7 +160,7 @@ function frequently_asked_questions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'faq_question_long_form';
-  $strongarm->value = 1;
+  $strongarm->value = 0;
   $export['faq_question_long_form'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -174,7 +174,7 @@ function frequently_asked_questions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'faq_show_node_links';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['faq_show_node_links'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -202,7 +202,7 @@ function frequently_asked_questions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'faq_use_teaser';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['faq_use_teaser'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -212,13 +212,13 @@ function frequently_asked_questions_strongarm() {
   $strongarm->value = array(
     'title' => array(
       'region' => 'main',
-      'weight' => '0',
+      'weight' => '1',
       'has_required' => TRUE,
       'title' => 'Question',
     ),
     'additional_settings' => array(
       'region' => 'main',
-      'weight' => '4',
+      'weight' => '5',
       'has_required' => FALSE,
       'title' => 'Vertical tabs',
       'hidden' => 0,
@@ -227,21 +227,14 @@ function frequently_asked_questions_strongarm() {
       'region' => 'right',
       'weight' => '3',
       'has_required' => FALSE,
-      'title' => 'Enregistrer',
+      'title' => 'Save',
       'hidden' => 0,
     ),
     'language' => array(
       'region' => 'right',
       'weight' => '1',
       'has_required' => FALSE,
-      'title' => 'Langue',
-      'hidden' => 0,
-    ),
-    'detailed_question' => array(
-      'region' => 'main',
-      'weight' => '2',
-      'has_required' => FALSE,
-      'title' => 'Question details',
+      'title' => 'Language',
       'hidden' => 0,
     ),
     'body' => array(
@@ -257,12 +250,17 @@ function frequently_asked_questions_strongarm() {
       'has_required' => TRUE,
       'title' => 'Categories',
     ),
+    'title_field' => array(
+      'region' => 'main',
+      'weight' => '0',
+      'has_required' => TRUE,
+      'title' => 'Title',
+    ),
     'workflow' => array(
       'region' => 'right',
       'weight' => '2',
       'has_required' => FALSE,
-      'title' => 'Publication',
-      'collapsed' => 0,
+      'title' => 'Importé',
       'hidden' => 0,
     ),
   );

+ 3 - 4
materio_administration/materio_administration.features.inc

@@ -7,8 +7,7 @@
 /**
  * Implements hook_ctools_plugin_api().
  */
-function materio_administration_ctools_plugin_api() {
-  list($module, $api) = func_get_args();
+function materio_administration_ctools_plugin_api($module = NULL, $api = NULL) {
   if ($module == "strongarm" && $api == "strongarm") {
     return array("version" => "1");
   }
@@ -17,6 +16,6 @@ function materio_administration_ctools_plugin_api() {
 /**
  * Implements hook_views_api().
  */
-function materio_administration_views_api() {
-  return array("version" => "3.0");
+function materio_administration_views_api($module = NULL, $api = NULL) {
+  return array("api" => "3.0");
 }

+ 1 - 1
materio_administration/materio_administration.features.menu_custom.inc

@@ -16,7 +16,7 @@ function materio_administration_menu_default_menu_custom() {
     'title' => 'Navigation',
     'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.',
     'language' => 'und',
-    'i18n_mode' => '0',
+    'i18n_mode' => 0,
   );
   // Translatables
   // Included for use with string extractors like potx.

+ 4 - 39
materio_administration/materio_administration.info

@@ -1,54 +1,17 @@
 name = Materio Administration
 core = 7.x
 package = Materio
-php = 5.2.4
-dependencies[] = ctools
 dependencies[] = features
 dependencies[] = menu
 dependencies[] = strongarm
-dependencies[] = views
 dependencies[] = views_bulk_operations
-dependencies[] = workflow
+dependencies[] = views_data_export
 dependencies[] = workflow_actions
 dependencies[] = workflow_views
 features[ctools][] = strongarm:strongarm:1
 features[ctools][] = views:views_default:3.0
-features[features_api][] = api:1
+features[features_api][] = api:2
 features[menu_custom][] = navigation
-features[menu_links][] = navigation:admin/config/regional/translate/table
-features[menu_links][] = navigation:admin/config/regional/translate/table/menu
-features[menu_links][] = navigation:admin/config/regional/translate/table/nodetype
-features[menu_links][] = navigation:admin/config/regional/translate/table/taxonomy
-features[menu_links][] = navigation:admin/config/regional/translate/translate
-features[menu_links][] = navigation:admin/content/companies
-features[menu_links][] = navigation:admin/content/materiaux
-features[menu_links][] = navigation:admin/content/medias
-features[menu_links][] = navigation:admin/content/pages
-features[menu_links][] = navigation:admin/dashboard
-features[menu_links][] = navigation:admin/people
-features[menu_links][] = navigation:admin/people/create
-features[menu_links][] = navigation:admin/reports/feedback
-features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc
-features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/company
-features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/onthologie
-features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/tag_libres
-features[menu_links][] = navigation:admin/users
-features[menu_links][] = navigation:cart
-features[menu_links][] = navigation:filter/tips
-features[menu_links][] = navigation:materio_search_api_ajax/actuality
-features[menu_links][] = navigation:mysessions
-features[menu_links][] = navigation:node/11186/webform-results
-features[menu_links][] = navigation:node/add
-features[menu_links][] = navigation:node/add/breve
-features[menu_links][] = navigation:node/add/company
-features[menu_links][] = navigation:node/add/didactique
-features[menu_links][] = navigation:node/add/faq
-features[menu_links][] = navigation:node/add/materiau
-features[menu_links][] = navigation:node/add/node_export
-features[menu_links][] = navigation:node/add/page
-features[menu_links][] = navigation:node/add/panel
-features[menu_links][] = navigation:node/add/product
-features[menu_links][] = navigation:node/add/webform
 features[variable][] = editmenu_cache_menu
 features[variable][] = editmenu_css_error
 features[variable][] = editmenu_css_filename
@@ -74,3 +37,5 @@ features[views_view][] = admin_content_node
 features[views_view][] = admin_contents
 features[views_view][] = admin_peoples
 features[views_view][] = taxonomy_companies_manager
+features_exclude[dependencies][views] = views
+project path = sites/all/modules/features

File diff suppressed because it is too large
+ 149 - 144
materio_administration/materio_administration.views_default.inc


+ 22 - 6
materio_bookmarks/materio_bookmarks.features.inc

@@ -13,7 +13,7 @@ function materio_bookmarks_flag_default_flags() {
   $flags['bookmarks'] = array(
     'entity_type' => 'node',
     'title' => 'Bookmarks',
-    'global' => '0',
+    'global' => 0,
     'types' => array(
       0 => 'breve',
       1 => 'materiau',
@@ -27,11 +27,26 @@ function materio_bookmarks_flag_default_flags() {
     'unflag_denied_text' => '',
     'link_type' => 'toggle',
     'weight' => 0,
+    'show_in_links' => array(
+      'full' => 'full',
+      'bookmark' => 'bookmark',
+      'cardsmall' => 'cardsmall',
+      'cardmedium' => 'cardmedium',
+      'cardbig' => 'cardbig',
+      'cardfull' => 'cardfull',
+      'teaser' => 0,
+      'rss' => 0,
+      'diff_standard' => 0,
+      'print' => 0,
+      'email_plain' => 0,
+      'email_html' => 0,
+      'email_textalt' => 0,
+      'token' => 0,
+    ),
+    'show_as_field' => 0,
     'show_on_form' => 0,
     'access_author' => '',
     'show_contextual_link' => FALSE,
-    'show_on_page' => 1,
-    'show_on_teaser' => 0,
     'i18n' => 0,
     'module' => 'materio_bookmarks',
     'locked' => array(
@@ -63,12 +78,13 @@ function materio_bookmarks_image_default_styles() {
         'module' => 'image',
         'name' => 'image_scale_and_crop',
         'data' => array(
-          'width' => '50',
-          'height' => '70',
+          'width' => 50,
+          'height' => 70,
         ),
-        'weight' => '1',
+        'weight' => 1,
       ),
     ),
+    'label' => 'card-bookmark',
   );
 
   return $styles;

+ 10 - 8
materio_bookmarks/materio_bookmarks.features.user_permission.inc

@@ -10,24 +10,26 @@
 function materio_bookmarks_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: flag bookmarks.
+  // Exported permission: 'flag bookmarks'.
   $permissions['flag bookmarks'] = array(
     'name' => 'flag bookmarks',
     'roles' => array(
-      0 => 'Utilisateur',
-      1 => 'administrator',
-      2 => 'root',
+      'Student' => 'Student',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'flag',
   );
 
-  // Exported permission: unflag bookmarks.
+  // Exported permission: 'unflag bookmarks'.
   $permissions['unflag bookmarks'] = array(
     'name' => 'unflag bookmarks',
     'roles' => array(
-      0 => 'Utilisateur',
-      1 => 'administrator',
-      2 => 'root',
+      'Student' => 'Student',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'flag',
   );

+ 2 - 2
materio_bookmarks/materio_bookmarks.info

@@ -1,13 +1,13 @@
 name = Materio bookmarks
 core = 7.x
 package = Materio
-php = 5.2.4
 dependencies[] = features
 dependencies[] = flag
 dependencies[] = image
 dependencies[] = materio_flag
-features[features_api][] = api:1
+features[features_api][] = api:2
 features[flag][] = bookmarks
 features[image][] = card-bookmark
 features[user_permission][] = flag bookmarks
 features[user_permission][] = unflag bookmarks
+project path = sites/all/modules/features

+ 1159 - 0
materio_content_types/materio_content_types.features.field_base.inc

@@ -0,0 +1,1159 @@
+<?php
+/**
+ * @file
+ * materio_content_types.features.field_base.inc
+ */
+
+/**
+ * Implements hook_field_default_field_bases().
+ */
+function materio_content_types_field_default_field_bases() {
+  $field_bases = array();
+
+  // Exported field_base: 'body'
+  $field_bases['body'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(
+      0 => 'node',
+    ),
+    'field_name' => 'body',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text_with_summary',
+  );
+
+  // Exported field_base: 'field_attachments'
+  $field_bases['field_attachments'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_attachments',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'fid' => array(
+        'columns' => array(
+          'fid' => 'fid',
+        ),
+        'table' => 'file_managed',
+      ),
+    ),
+    'indexes' => array(
+      'fid' => array(
+        0 => 'fid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'file',
+    'settings' => array(
+      'display_default' => 1,
+      'display_field' => 1,
+      'entity_translation_sync' => array(
+        0 => 'fid',
+      ),
+      'profile2_private' => FALSE,
+      'uri_scheme' => 'public',
+    ),
+    'translatable' => 0,
+    'type' => 'file',
+  );
+
+  // Exported field_base: 'field_authored_on'
+  $field_bases['field_authored_on'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_authored_on',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'computed_field',
+    'settings' => array(
+      'code' => '//dsm($entity, \'$entity\');
+$entity_field[0][\'value\'] = format_date($entity->created, \'breves\');',
+      'database' => array(
+        'data_default' => '',
+        'data_index' => 0,
+        'data_length' => 32,
+        'data_not_NULL' => 0,
+        'data_precision' => 10,
+        'data_scale' => 2,
+        'data_size' => 'normal',
+        'data_type' => 'varchar',
+      ),
+      'display_format' => '$display_output = $entity_field_item[\'value\'];',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'store' => 0,
+    ),
+    'translatable' => 0,
+    'type' => 'computed',
+  );
+
+  // Exported field_base: 'field_breve_ref'
+  $field_bases['field_breve_ref'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_breve_ref',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'node' => array(
+        'columns' => array(
+          'target_id' => 'nid',
+        ),
+        'table' => 'node',
+      ),
+    ),
+    'indexes' => array(
+      'target_id' => array(
+        0 => 'target_id',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'entityreference',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'handler' => 'base',
+      'handler_settings' => array(
+        'behaviors' => array(
+          'views-select-list' => array(
+            'status' => 0,
+          ),
+        ),
+        'sort' => array(
+          'direction' => 'ASC',
+          'field' => 'body:value',
+          'property' => 'nid',
+          'type' => 'none',
+        ),
+        'target_bundles' => array(
+          'breve' => 'breve',
+        ),
+      ),
+      'handler_submit' => 'Change handler',
+      'profile2_private' => FALSE,
+      'target_type' => 'node',
+    ),
+    'translatable' => 0,
+    'type' => 'entityreference',
+  );
+
+  // Exported field_base: 'field_company_distrib'
+  $field_bases['field_company_distrib'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_company_distrib',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'company',
+          'parent' => 0,
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
+  // Exported field_base: 'field_company_fab'
+  $field_bases['field_company_fab'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_company_fab',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'company',
+          'parent' => 0,
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
+  // Exported field_base: 'field_department'
+  $field_bases['field_department'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_department',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_description'
+  $field_bases['field_description'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_description',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text_with_summary',
+  );
+
+  // Exported field_base: 'field_famille'
+  $field_bases['field_famille'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_famille',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'list',
+    'settings' => array(
+      'allowed_values' => array(
+        'W' => 'Bois (W)',
+        'T' => 'Textile (T)',
+        'R' => 'Plastique (R)',
+        'P' => 'Papier (P)',
+        'C' => 'Composite (C)',
+        'M' => 'Métal (M)',
+        'F' => 'Céramique (F)',
+        'G' => 'Verre (G)',
+        'S' => 'Béton/Pierre (S)',
+        'O' => 'Autre (O)',
+      ),
+      'allowed_values_function' => '',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'list_text',
+  );
+
+  // Exported field_base: 'field_identifiant'
+  $field_bases['field_identifiant'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_identifiant',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'computed_field',
+    'settings' => array(
+      'code' => '$entity_field[0][\'value\'] = "";',
+      'database' => array(
+        'data_default' => '',
+        'data_index' => 0,
+        'data_length' => 32,
+        'data_not_NULL' => 0,
+        'data_precision' => 10,
+        'data_scale' => 2,
+        'data_size' => 'normal',
+        'data_type' => 'varchar',
+      ),
+      'display_format' => '$display_output = $entity_field_item[\'value\'];',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'store' => 1,
+    ),
+    'translatable' => 0,
+    'type' => 'computed',
+  );
+
+  // Exported field_base: 'field_infos_from_company'
+  $field_bases['field_infos_from_company'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_infos_from_company',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text_long',
+  );
+
+  // Exported field_base: 'field_localisation'
+  $field_bases['field_localisation'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_localisation',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_materiau_image'
+  $field_bases['field_materiau_image'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_materiau_image',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'fid' => array(
+        'columns' => array(
+          'fid' => 'fid',
+        ),
+        'table' => 'file_managed',
+      ),
+    ),
+    'indexes' => array(
+      'fid' => array(
+        0 => 'fid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'image',
+    'settings' => array(
+      'default_image' => 0,
+      'entity_translation_sync' => array(
+        0 => 'fid',
+      ),
+      'profile2_private' => FALSE,
+      'uri_scheme' => 'public',
+    ),
+    'translatable' => 0,
+    'type' => 'image',
+  );
+
+  // Exported field_base: 'field_materiau_ref'
+  $field_bases['field_materiau_ref'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_materiau_ref',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'node' => array(
+        'columns' => array(
+          'target_id' => 'nid',
+        ),
+        'table' => 'node',
+      ),
+    ),
+    'indexes' => array(
+      'target_id' => array(
+        0 => 'target_id',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'entityreference',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'handler' => 'views',
+      'handler_settings' => array(
+        'behaviors' => array(
+          'views-select-list' => array(
+            'status' => 0,
+          ),
+        ),
+        'view' => array(
+          'args' => array(),
+          'display_name' => 'entityreference_1',
+          'view_name' => 'entity_reference_materiaux_breves',
+        ),
+      ),
+      'handler_submit' => 'Change handler',
+      'profile2_private' => FALSE,
+      'target_type' => 'node',
+    ),
+    'translatable' => 0,
+    'type' => 'entityreference',
+  );
+
+  // Exported field_base: 'field_memo'
+  $field_bases['field_memo'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_memo',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => TRUE,
+    ),
+    'translatable' => 0,
+    'type' => 'text_long',
+  );
+
+  // Exported field_base: 'field_nature_titre'
+  $field_bases['field_nature_titre'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_nature_titre',
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+    ),
+    'translatable' => 1,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'field_note'
+  $field_bases['field_note'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_note',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'list',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => 0,
+        1 => 1,
+        2 => 2,
+        3 => 3,
+        4 => 4,
+        5 => 5,
+      ),
+      'allowed_values_function' => '',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => TRUE,
+    ),
+    'translatable' => 0,
+    'type' => 'list_integer',
+  );
+
+  // Exported field_base: 'field_onthologie'
+  $field_bases['field_onthologie'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_onthologie',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'onthologie',
+          'parent' => 0,
+          'depth' => '',
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
+  // Exported field_base: 'field_public_address'
+  $field_bases['field_public_address'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_public_address',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'addressfield',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => TRUE,
+    ),
+    'translatable' => 0,
+    'type' => 'addressfield',
+  );
+
+  // Exported field_base: 'field_public_email'
+  $field_bases['field_public_email'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_public_email',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'email',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'email',
+  );
+
+  // Exported field_base: 'field_public_phone'
+  $field_bases['field_public_phone'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_public_phone',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'cck_phone',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'size' => 30,
+    ),
+    'translatable' => 0,
+    'type' => 'phone_number',
+  );
+
+  // Exported field_base: 'field_reference_materio'
+  $field_bases['field_reference_materio'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_reference_materio',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(
+      'value' => array(
+        0 => 'value',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'computed_field',
+    'settings' => array(
+      'code' => '$entity_field[0][\'value\'] = "";',
+      'database' => array(
+        'data_default' => '',
+        'data_index' => 1,
+        'data_length' => 255,
+        'data_not_NULL' => 0,
+        'data_precision' => 10,
+        'data_scale' => 2,
+        'data_size' => 'normal',
+        'data_type' => 'varchar',
+      ),
+      'display_format' => '$display_output = $entity_field_item[\'value\'];',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'store' => 1,
+    ),
+    'translatable' => 0,
+    'type' => 'computed',
+  );
+
+  // Exported field_base: 'field_source'
+  $field_bases['field_source'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_source',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'link',
+    'settings' => array(
+      'attributes' => array(
+        'class' => '',
+        'rel' => '',
+        'target' => 'default',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'title' => 'optional',
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+    ),
+    'translatable' => 0,
+    'type' => 'link_field',
+  );
+
+  // Exported field_base: 'field_tags_libres'
+  $field_bases['field_tags_libres'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_tags_libres',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'tag_libres',
+          'parent' => 0,
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
+  // Exported field_base: 'field_tode_company'
+  $field_bases['field_tode_company'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_tode_company',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'company',
+          'parent' => 0,
+          'depth' => '',
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+      'user_role_field' => array(
+        1 => 0,
+        2 => 0,
+        3 => 0,
+        4 => 0,
+        5 => 5,
+      ),
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
+  // Exported field_base: 'field_video_filter'
+  $field_bases['field_video_filter'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_video_filter',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(
+      'height' => array(
+        0 => 'height',
+      ),
+      'width' => array(
+        0 => 'width',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'video_filter_field',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 0,
+    'type' => 'video_filter',
+  );
+
+  // Exported field_base: 'field_visuel'
+  $field_bases['field_visuel'] = array(
+    'active' => 1,
+    'cardinality' => 5,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_visuel',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'fid' => array(
+        'columns' => array(
+          'fid' => 'fid',
+        ),
+        'table' => 'file_managed',
+      ),
+    ),
+    'indexes' => array(
+      'fid' => array(
+        0 => 'fid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'image',
+    'settings' => array(
+      'default_image' => 0,
+      'entity_translation_sync' => array(
+        0 => 'fid',
+      ),
+      'profile2_private' => FALSE,
+      'uri_scheme' => 'public',
+    ),
+    'translatable' => 1,
+    'type' => 'image',
+  );
+
+  // Exported field_base: 'field_website'
+  $field_bases['field_website'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_website',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'link',
+    'settings' => array(
+      'attributes' => array(
+        'class' => '',
+        'rel' => '',
+        'target' => 'default',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'title' => 'optional',
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+    ),
+    'translatable' => 0,
+    'type' => 'link_field',
+  );
+
+  // Exported field_base: 'field_workflow_state'
+  $field_bases['field_workflow_state'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_workflow_state',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'computed_field',
+    'settings' => array(
+      'code' => '',
+      'database' => array(
+        'data_default' => '',
+        'data_index' => 0,
+        'data_length' => 32,
+        'data_not_NULL' => 0,
+        'data_precision' => 10,
+        'data_scale' => 2,
+        'data_size' => 'normal',
+        'data_type' => 'varchar',
+      ),
+      'display_format' => '//dsm($entity);
+$workflow = workflow_get_workflow_type_map_by_type($entity->type);
+$states = workflow_get_workflow_states_by_wid($workflow->wid);
+foreach ($states as $state) {
+  if ($state->sid == $entity->workflow) {
+    $display_output = $state->state;
+    dsm($state, \'state\');
+  }
+}
+',
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'store' => 1,
+    ),
+    'translatable' => 0,
+    'type' => 'computed',
+  );
+
+  // Exported field_base: 'name_field'
+  $field_bases['name_field'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'name_field',
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+    ),
+    'translatable' => 1,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'synonyms_synonym'
+  $field_bases['synonyms_synonym'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'synonyms_synonym',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text',
+  );
+
+  // Exported field_base: 'title_field'
+  $field_bases['title_field'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'title_field',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'foreign keys' => array(
+      'format' => array(
+        'columns' => array(
+          'format' => 'format',
+        ),
+        'table' => 'filter_format',
+      ),
+    ),
+    'indexes' => array(
+      'format' => array(
+        0 => 'format',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'text',
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'max_length' => 255,
+      'profile2_private' => FALSE,
+    ),
+    'translatable' => 1,
+    'type' => 'text',
+  );
+
+  return $field_bases;
+}

+ 4192 - 0
materio_content_types/materio_content_types.features.field_instance.inc

@@ -0,0 +1,4192 @@
+<?php
+/**
+ * @file
+ * materio_content_types.features.field_instance.inc
+ */
+
+/**
+ * Implements hook_field_default_field_instances().
+ */
+function materio_content_types_field_default_field_instances() {
+  $field_instances = array();
+
+  // Exported field_instance: 'node-breve-body'
+  $field_instances['node-breve-body'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 12,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 3,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Body',
+    'required' => FALSE,
+    'settings' => array(
+      'display_summary' => TRUE,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => -4,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_authored_on'
+  $field_instances['node-breve-field_authored_on'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_unsanitized',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_unsanitized',
+        'weight' => 13,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_unsanitized',
+        'weight' => 3,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 2,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 10,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_authored_on',
+    'label' => 'Authored on',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'field_extrawidgets',
+      'settings' => array(
+        'display_empty' => 0,
+        'formatter' => '',
+        'formatter_settings' => array(),
+      ),
+      'type' => 'field_extrawidgets_read_only',
+      'weight' => 21,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_materiau_ref'
+  $field_instances['node-breve-field_materiau_ref'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 9,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 14,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 8,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_materiau_ref',
+    'label' => 'Materiau(x) lié(s)',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'entityreference',
+      'settings' => array(
+        'match_operator' => 'CONTAINS',
+        'path' => '',
+        'size' => 60,
+      ),
+      'type' => 'entityreference_autocomplete',
+      'weight' => 1,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_memo'
+  $field_instances['node-breve-field_memo'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_memo',
+    'label' => 'Mémo',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 4,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_onthologie'
+  $field_instances['node-breve-field_onthologie'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_onthologie',
+    'label' => 'Onthologie',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'term_reference_tree',
+      'settings' => array(
+        'cascading_selection' => 0,
+        'filter_view' => '',
+        'leaves_only' => 0,
+        'max_depth' => '',
+        'parent_term_id' => '',
+        'select_parents' => 1,
+        'start_minimized' => 1,
+        'starting_depth' => 2,
+        'token_display' => '',
+        'track_list' => 1,
+        'track_list_order' => 1,
+      ),
+      'type' => 'term_reference_tree',
+      'weight' => 18,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_source'
+  $field_instances['node-breve-field_source'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 8,
+      ),
+      'cardfull' => array(
+        'label' => 'inline',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 13,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 7,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 4,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_source',
+    'label' => 'source',
+    'required' => 0,
+    'settings' => array(
+      'attributes' => array(
+        'class' => '',
+        'configurable_title' => 0,
+        'rel' => '',
+        'target' => '_blank',
+        'title' => '',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'rel_remove' => 'default',
+      'title' => 'none',
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+      'user_register_form' => FALSE,
+      'validate_url' => 1,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'link',
+      'settings' => array(),
+      'type' => 'link_field',
+      'weight' => -2,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_tags_libres'
+  $field_instances['node-breve-field_tags_libres'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_tags_libres',
+    'label' => 'Tags libres',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'autocomplete_deluxe',
+      'settings' => array(
+        'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
+        'content_taxonomy_autocomplete_new_terms' => 'allow',
+        'size' => 60,
+      ),
+      'type' => 'autocomplete_deluxe_taxonomy',
+      'weight' => 20,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_video_filter'
+  $field_instances['node-breve-field_video_filter'] = array(
+    'bundle' => 'breve',
+    'default_value' => array(
+      0 => array(
+        'url' => '',
+        'height' => 400,
+        'width' => 300,
+        'autoplay' => 0,
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'video_filter_field',
+        'settings' => array(),
+        'type' => 'video_filter_field_default',
+        'weight' => 3,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_video_filter',
+    'label' => 'video',
+    'required' => 0,
+    'settings' => array(
+      'autoplay' => 0,
+      'entity_translation_sync' => FALSE,
+      'max_height' => 400,
+      'max_width' => 400,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'video_filter_field',
+      'settings' => array(),
+      'type' => 'video_filter',
+      'weight' => 16,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_visuel'
+  $field_instances['node-breve-field_visuel'] = array(
+    'bundle' => 'breve',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-bookmark',
+        ),
+        'type' => 'image',
+        'weight' => 2,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-big',
+        ),
+        'type' => 'image',
+        'weight' => 14,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-full',
+        ),
+        'type' => 'image',
+        'weight' => 18,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-medium',
+        ),
+        'type' => 'image',
+        'weight' => 14,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-small',
+        ),
+        'type' => 'image',
+        'weight' => 1,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => '',
+        ),
+        'type' => 'image',
+        'weight' => 2,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => 'content',
+          'image_style' => 'large',
+        ),
+        'type' => 'image',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_visuel',
+    'label' => 'Image',
+    'required' => 0,
+    'settings' => array(
+      'alt_field' => 0,
+      'default_image' => 0,
+      'entity_translation_sync' => 0,
+      'file_directory' => 'breves',
+      'file_extensions' => 'png gif jpg jpeg',
+      'max_filesize' => '',
+      'max_resolution' => '',
+      'min_resolution' => '',
+      'title_field' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'image',
+      'settings' => array(
+        'preview_image_style' => 'medium',
+        'progress_indicator' => 'throbber',
+      ),
+      'type' => 'image_image',
+      'weight' => 15,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-field_workflow_state'
+  $field_instances['node-breve-field_workflow_state'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 11,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_workflow_state',
+    'label' => 'Workflow State',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'field_extrawidgets',
+      'settings' => array(
+        'display_empty' => 0,
+        'formatter' => '',
+        'formatter_settings' => array(),
+      ),
+      'type' => 'field_extrawidgets_read_only',
+      'weight' => 23,
+    ),
+  );
+
+  // Exported field_instance: 'node-breve-title_field'
+  $field_instances['node-breve-title_field'] = array(
+    'bundle' => 'breve',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 4,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 4,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 12,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 1,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 0,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'title_field',
+    'label' => 'Titre',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => 0,
+        'page' => 0,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-body'
+  $field_instances['node-company-body'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 1,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 1,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(
+          'trim_length' => 600,
+        ),
+        'type' => 'text_summary_or_trimmed',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Materio speach',
+    'required' => 0,
+    'settings' => array(
+      'display_summary' => 1,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => 4,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_attachments'
+  $field_instances['node-company-field_attachments'] = array(
+    'bundle' => 'company',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 8,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 6,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_table',
+        'weight' => 8,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 10,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_attachments',
+    'label' => 'Fichiers joints',
+    'required' => 0,
+    'settings' => array(
+      'description_field' => 0,
+      'entity_translation_sync' => FALSE,
+      'file_directory' => '',
+      'file_extensions' => 'txt pdf doc docx',
+      'max_filesize' => '',
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'file',
+      'settings' => array(
+        'progress_indicator' => 'throbber',
+      ),
+      'type' => 'file_generic',
+      'weight' => 13,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_department'
+  $field_instances['node-company-field_department'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 3,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 3,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'inline',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 5,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_department',
+    'label' => 'Department',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 2,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_infos_from_company'
+  $field_instances['node-company-field_infos_from_company'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 2,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 4,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_infos_from_company',
+    'label' => 'Infos from company',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 5,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 6,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_memo'
+  $field_instances['node-company-field_memo'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_memo',
+    'label' => 'Mémo',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 10,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_note'
+  $field_instances['node-company-field_note'] = array(
+    'bundle' => 'company',
+    'default_value' => array(
+      0 => array(
+        'value' => 2,
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'inline',
+        'module' => 'list',
+        'settings' => array(),
+        'type' => 'list_default',
+        'weight' => 3,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_note',
+    'label' => 'Note',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(
+        'content_taxonomy_opt_groups' => FALSE,
+      ),
+      'type' => 'options_select',
+      'weight' => 9,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_public_address'
+  $field_instances['node-company-field_public_address'] = array(
+    'bundle' => 'company',
+    'default_value' => array(
+      0 => array(
+        'element_key' => 'node|company|field_public_address|und|0',
+        'thoroughfare' => '',
+        'premise' => '',
+        'postal_code' => '',
+        'locality' => '',
+        'country' => 'FR',
+      ),
+    ),
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'addressfield',
+        'settings' => array(
+          'format_handlers' => array(
+            0 => 'address',
+          ),
+          'use_widget_handlers' => 1,
+        ),
+        'type' => 'addressfield_default',
+        'weight' => 7,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'addressfield',
+        'settings' => array(
+          'format_handlers' => array(
+            0 => 'address',
+          ),
+          'use_widget_handlers' => 1,
+        ),
+        'type' => 'addressfield_default',
+        'weight' => 5,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'addressfield',
+        'settings' => array(
+          'format_handlers' => array(
+            'address' => 'address',
+          ),
+          'use_widget_handlers' => 1,
+        ),
+        'type' => 'addressfield_default',
+        'weight' => 7,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'addressfield',
+        'settings' => array(
+          'format_handlers' => array(
+            0 => 'address',
+          ),
+          'use_widget_handlers' => 1,
+        ),
+        'type' => 'addressfield_default',
+        'weight' => 9,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'addressfield',
+        'settings' => array(
+          'format_handlers' => array(
+            0 => 'address',
+          ),
+          'use_widget_handlers' => 1,
+        ),
+        'type' => 'addressfield_default',
+        'weight' => 6,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_public_address',
+    'label' => 'Adresse',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'addressfield',
+      'settings' => array(
+        'available_countries' => array(),
+        'format_handlers' => array(
+          'address' => 'address',
+          'address-hide-country' => 0,
+          'organisation' => 0,
+          'name-full' => 0,
+          'name-oneline' => 0,
+        ),
+      ),
+      'type' => 'addressfield_standard',
+      'weight' => 7,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_public_email'
+  $field_instances['node-company-field_public_email'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'email',
+        'settings' => array(),
+        'type' => 'email_default',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'email',
+        'settings' => array(),
+        'type' => 'email_default',
+        'weight' => 3,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'email',
+        'settings' => array(),
+        'type' => 'email_default',
+        'weight' => 5,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'email',
+        'settings' => array(),
+        'type' => 'email_default',
+        'weight' => 7,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'email',
+        'settings' => array(),
+        'type' => 'email_plain',
+        'weight' => 5,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_public_email',
+    'label' => 'Email',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'email',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'email_textfield',
+      'weight' => 3,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_public_phone'
+  $field_instances['node-company-field_public_phone'] = array(
+    'bundle' => 'company',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'cck_phone',
+        'settings' => array(),
+        'type' => 'global_phone_number',
+        'weight' => 6,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'cck_phone',
+        'settings' => array(),
+        'type' => 'global_phone_number',
+        'weight' => 4,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'cck_phone',
+        'settings' => array(),
+        'type' => 'global_phone_number',
+        'weight' => 6,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'cck_phone',
+        'settings' => array(),
+        'type' => 'global_phone_number',
+        'weight' => 8,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'cck_phone',
+        'settings' => array(),
+        'type' => 'global_phone_number',
+        'weight' => 4,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_public_phone',
+    'label' => 'Phone',
+    'required' => 0,
+    'settings' => array(
+      'all_country_codes' => 1,
+      'country_code_position' => 'after',
+      'country_codes' => array(
+        'country_selection' => array(
+          'ad' => 0,
+          'ae' => 0,
+          'af' => 0,
+          'ag' => 0,
+          'ai' => 0,
+          'al' => 0,
+          'am' => 0,
+          'an' => 0,
+          'ao' => 0,
+          'ar' => 0,
+          'as' => 0,
+          'at' => 0,
+          'au' => 0,
+          'aw' => 0,
+          'az' => 0,
+          'ba' => 0,
+          'bb' => 0,
+          'bd' => 0,
+          'be' => 0,
+          'bf' => 0,
+          'bg' => 0,
+          'bh' => 0,
+          'bi' => 0,
+          'bj' => 0,
+          'bm' => 0,
+          'bn' => 0,
+          'bo' => 0,
+          'br' => 0,
+          'bs' => 0,
+          'bt' => 0,
+          'bw' => 0,
+          'by' => 0,
+          'bz' => 0,
+          'ca' => 0,
+          'cc' => 0,
+          'cd' => 0,
+          'cf' => 0,
+          'cg' => 0,
+          'ch' => 0,
+          'ci' => 0,
+          'ck' => 0,
+          'cl' => 0,
+          'cm' => 0,
+          'cn' => 0,
+          'co' => 0,
+          'cr' => 0,
+          'cu' => 0,
+          'cv' => 0,
+          'cx' => 0,
+          'cy' => 0,
+          'cz' => 0,
+          'de' => 0,
+          'dj' => 0,
+          'dk' => 0,
+          'dm' => 0,
+          'do' => 0,
+          'dz' => 0,
+          'ec' => 0,
+          'ee' => 0,
+          'eg' => 0,
+          'er' => 0,
+          'es' => 0,
+          'et' => 0,
+          'fi' => 0,
+          'fj' => 0,
+          'fk' => 0,
+          'fm' => 0,
+          'fo' => 0,
+          'fr' => 0,
+          'ga' => 0,
+          'gb' => 0,
+          'gd' => 0,
+          'ge' => 0,
+          'gf' => 0,
+          'gh' => 0,
+          'gi' => 0,
+          'gl' => 0,
+          'gm' => 0,
+          'gn' => 0,
+          'gp' => 0,
+          'gq' => 0,
+          'gr' => 0,
+          'gt' => 0,
+          'gu' => 0,
+          'gw' => 0,
+          'gy' => 0,
+          'hk' => 0,
+          'hn' => 0,
+          'hr' => 0,
+          'ht' => 0,
+          'hu' => 0,
+          'id' => 0,
+          'ie' => 0,
+          'il' => 0,
+          'in' => 0,
+          'io' => 0,
+          'iq' => 0,
+          'ir' => 0,
+          'is' => 0,
+          'it' => 0,
+          'jm' => 0,
+          'jo' => 0,
+          'jp' => 0,
+          'ke' => 0,
+          'kg' => 0,
+          'kh' => 0,
+          'ki' => 0,
+          'km' => 0,
+          'kn' => 0,
+          'kp' => 0,
+          'kr' => 0,
+          'kw' => 0,
+          'ky' => 0,
+          'kz' => 0,
+          'la' => 0,
+          'lb' => 0,
+          'lc' => 0,
+          'li' => 0,
+          'lk' => 0,
+          'lr' => 0,
+          'ls' => 0,
+          'lt' => 0,
+          'lu' => 0,
+          'lv' => 0,
+          'ly' => 0,
+          'ma' => 0,
+          'mc' => 0,
+          'md' => 0,
+          'me' => 0,
+          'mg' => 0,
+          'mh' => 0,
+          'mk' => 0,
+          'ml' => 0,
+          'mm' => 0,
+          'mn' => 0,
+          'mo' => 0,
+          'mp' => 0,
+          'mq' => 0,
+          'mr' => 0,
+          'ms' => 0,
+          'mt' => 0,
+          'mu' => 0,
+          'mv' => 0,
+          'mw' => 0,
+          'mx' => 0,
+          'my' => 0,
+          'mz' => 0,
+          'na' => 0,
+          'nc' => 0,
+          'ne' => 0,
+          'nf' => 0,
+          'ng' => 0,
+          'ni' => 0,
+          'nl' => 0,
+          'no' => 0,
+          'np' => 0,
+          'nr' => 0,
+          'nu' => 0,
+          'nz' => 0,
+          'om' => 0,
+          'pa' => 0,
+          'pe' => 0,
+          'pf' => 0,
+          'pg' => 0,
+          'ph' => 0,
+          'pk' => 0,
+          'pl' => 0,
+          'pm' => 0,
+          'pr' => 0,
+          'ps' => 0,
+          'pt' => 0,
+          'pw' => 0,
+          'py' => 0,
+          'qa' => 0,
+          'ro' => 0,
+          'rs' => 0,
+          'ru' => 0,
+          'rw' => 0,
+          'sa' => 0,
+          'sb' => 0,
+          'sc' => 0,
+          'sd' => 0,
+          'se' => 0,
+          'sg' => 0,
+          'sh' => 0,
+          'si' => 0,
+          'sk' => 0,
+          'sl' => 0,
+          'sm' => 0,
+          'sn' => 0,
+          'so' => 0,
+          'sr' => 0,
+          'ss' => 0,
+          'st' => 0,
+          'sv' => 0,
+          'sy' => 0,
+          'sz' => 0,
+          'tc' => 0,
+          'td' => 0,
+          'tg' => 0,
+          'th' => 0,
+          'tj' => 0,
+          'tk' => 0,
+          'tm' => 0,
+          'tn' => 0,
+          'to' => 0,
+          'tp' => 0,
+          'tr' => 0,
+          'tt' => 0,
+          'tv' => 0,
+          'tw' => 0,
+          'tz' => 0,
+          'ua' => 0,
+          'ug' => 0,
+          'us' => 0,
+          'uy' => 0,
+          'uz' => 0,
+          'va' => 0,
+          'vc' => 0,
+          've' => 0,
+          'vg' => 0,
+          'vi' => 0,
+          'vn' => 0,
+          'vu' => 0,
+          'wf' => 0,
+          'ws' => 0,
+          'ye' => 0,
+          'yt' => 0,
+          'za' => 0,
+          'zm' => 0,
+          'zw' => 0,
+        ),
+        'hide_single_cc' => 0,
+      ),
+      'default_country' => 'fr',
+      'enable_country_level_validation' => 0,
+      'enable_default_country' => 1,
+      'enable_extension' => 0,
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'cck_phone',
+      'settings' => array(
+        'size' => 15,
+      ),
+      'type' => 'phone_number',
+      'weight' => 8,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_tode_company'
+  $field_instances['node-company-field_tode_company'] = array(
+    'bundle' => 'company',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'taxonomy',
+        'settings' => array(),
+        'type' => 'taxonomy_term_reference_plain',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'taxonomy',
+        'settings' => array(),
+        'type' => 'taxonomy_term_reference_plain',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'taxonomy',
+        'settings' => array(),
+        'type' => 'taxonomy_term_reference_plain',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'taxonomy',
+        'settings' => array(),
+        'type' => 'taxonomy_term_reference_plain',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_tode_company',
+    'label' => 'Name',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'tode',
+      'settings' => array(
+        'choose_term_parent' => 0,
+        'maxlength' => 255,
+        'redirect_node_to_term' => 0,
+        'redirect_term_to_node' => 1,
+        'show_create_tode' => 0,
+        'show_term_form' => 0,
+        'size' => 60,
+      ),
+      'type' => 'tode',
+      'weight' => 1,
+    ),
+  );
+
+  // Exported field_instance: 'node-company-field_website'
+  $field_instances['node-company-field_website'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '"http://" will be added automaticly.',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 4,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 2,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 4,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'inline',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 6,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_plain',
+        'weight' => 3,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_website',
+    'label' => 'website',
+    'required' => 0,
+    'settings' => array(
+      'attributes' => array(
+        'class' => '',
+        'configurable_title' => 0,
+        'rel' => '',
+        'target' => '_blank',
+        'title' => '',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'rel_remove' => 'default',
+      'title' => 'none',
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+      'user_register_form' => FALSE,
+      'validate_url' => 1,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'link',
+      'settings' => array(),
+      'type' => 'link_field',
+      'weight' => 5,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_attachments'
+  $field_instances['node-materiau-field_attachments'] = array(
+    'bundle' => 'materiau',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 18,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 6,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 17,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 12,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 16,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'file',
+        'settings' => array(),
+        'type' => 'file_default',
+        'weight' => 9,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 17,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 17,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_attachments',
+    'label' => 'Fichiers joints',
+    'required' => 0,
+    'settings' => array(
+      'description_field' => 0,
+      'entity_translation_sync' => FALSE,
+      'file_directory' => '',
+      'file_extensions' => 'txt pdf doc docx',
+      'max_filesize' => '',
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'file',
+      'settings' => array(
+        'progress_indicator' => 'throbber',
+      ),
+      'type' => 'file_generic',
+      'weight' => 3,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_breve_ref'
+  $field_instances['node-materiau-field_breve_ref'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 13,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 23,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_breve_ref',
+    'label' => 'Brève(s) liée(s)',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'entityreference',
+      'settings' => array(
+        'match_operator' => 'CONTAINS',
+        'path' => '',
+        'size' => 60,
+      ),
+      'type' => 'entityreference_autocomplete',
+      'weight' => 28,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_company_distrib'
+  $field_instances['node-materiau-field_company_distrib'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'cardbig' => array(
+        'label' => 'inline',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardbig',
+        ),
+        'type' => 'tode',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'inline',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardfull',
+        ),
+        'type' => 'tode',
+        'weight' => 19,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardmedium',
+        ),
+        'type' => 'tode',
+        'weight' => 10,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'default' => array(
+        'label' => 'inline',
+        'module' => 'i18n_taxonomy',
+        'settings' => array(),
+        'type' => 'i18n_taxonomy_term_reference_link',
+        'weight' => 18,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'print',
+        ),
+        'type' => 'tode',
+        'weight' => 5,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_company_distrib',
+    'label' => 'Distributor',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'autocomplete_deluxe',
+      'settings' => array(
+        'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
+        'content_taxonomy_autocomplete_new_terms' => 'deny',
+        'limit' => 10,
+        'size' => 60,
+      ),
+      'type' => 'autocomplete_deluxe_taxonomy',
+      'weight' => 25,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_company_fab'
+  $field_instances['node-materiau-field_company_fab'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardbig' => array(
+        'label' => 'inline',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardbig',
+        ),
+        'type' => 'tode',
+        'weight' => 4,
+      ),
+      'cardfull' => array(
+        'label' => 'inline',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardfull',
+        ),
+        'type' => 'tode',
+        'weight' => 18,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'cardmedium',
+        ),
+        'type' => 'tode',
+        'weight' => 9,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'default' => array(
+        'label' => 'inline',
+        'module' => 'i18n_taxonomy',
+        'settings' => array(),
+        'type' => 'i18n_taxonomy_term_reference_link',
+        'weight' => 17,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'module' => 'tode',
+        'settings' => array(
+          'viewmode' => 'print',
+        ),
+        'type' => 'tode',
+        'weight' => 4,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_company_fab',
+    'label' => 'Manufacturer',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'autocomplete_deluxe',
+      'settings' => array(
+        'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
+        'content_taxonomy_autocomplete_new_terms' => 'deny',
+        'limit' => 10,
+        'size' => 60,
+      ),
+      'type' => 'autocomplete_deluxe_taxonomy',
+      'weight' => 24,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_description'
+  $field_instances['node-materiau-field_description'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 13,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 16,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 11,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 12,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_description',
+    'label' => 'Description',
+    'required' => 0,
+    'settings' => array(
+      'display_summary' => 1,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => -3,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_famille'
+  $field_instances['node-materiau-field_famille'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'list',
+        'settings' => array(),
+        'type' => 'list_default',
+        'weight' => 19,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_famille',
+    'label' => 'Famille',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'options',
+      'settings' => array(
+        'content_taxonomy_opt_groups' => FALSE,
+      ),
+      'type' => 'options_select',
+      'weight' => 1,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_identifiant'
+  $field_instances['node-materiau-field_identifiant'] = array(
+    'bundle' => 'materiau',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 2,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 20,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_identifiant',
+    'label' => 'Identifiant',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'computed_field',
+      'settings' => array(),
+      'type' => 'computed',
+      'weight' => 2,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_localisation'
+  $field_instances['node-materiau-field_localisation'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 17,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 8,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 19,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 21,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 8,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 14,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 16,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 16,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_localisation',
+    'label' => 'Localisation',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 4,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_materiau_image'
+  $field_instances['node-materiau-field_materiau_image'] = array(
+    'bundle' => 'materiau',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-bookmark',
+        ),
+        'type' => 'image',
+        'weight' => 1,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-big',
+        ),
+        'type' => 'image',
+        'weight' => 1,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-full',
+        ),
+        'type' => 'image',
+        'weight' => 1,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-medium',
+        ),
+        'type' => 'image',
+        'weight' => 18,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'card-small',
+        ),
+        'type' => 'image',
+        'weight' => 2,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'large',
+        ),
+        'type' => 'image',
+        'weight' => 6,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'image',
+        'settings' => array(
+          'image_link' => '',
+          'image_style' => 'pdf',
+        ),
+        'type' => 'image',
+        'weight' => 3,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 13,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_materiau_image',
+    'label' => 'Image',
+    'required' => 0,
+    'settings' => array(
+      'alt_field' => 0,
+      'default_image' => 0,
+      'entity_translation_sync' => FALSE,
+      'file_directory' => 'materiaux',
+      'file_extensions' => 'png gif jpg jpeg',
+      'max_filesize' => '',
+      'max_resolution' => '',
+      'min_resolution' => '',
+      'title_field' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'image',
+      'settings' => array(
+        'preview_image_style' => 'medium',
+        'progress_indicator' => 'throbber',
+      ),
+      'type' => 'image_image',
+      'weight' => 11,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_materiau_ref'
+  $field_instances['node-materiau-field_materiau_ref'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 4,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => 1,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 13,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'entityreference',
+        'settings' => array(
+          'link' => FALSE,
+        ),
+        'type' => 'entityreference_label',
+        'weight' => 22,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_materiau_ref',
+    'label' => 'Materiau(x) lié(s)',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'entityreference',
+      'settings' => array(
+        'match_operator' => 'CONTAINS',
+        'path' => '',
+        'size' => 60,
+      ),
+      'type' => 'entityreference_autocomplete',
+      'weight' => 27,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_memo'
+  $field_instances['node-materiau-field_memo'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 14,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 9,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 13,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 15,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 15,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_memo',
+    'label' => 'Mémo',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 7,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_nature_titre'
+  $field_instances['node-materiau-field_nature_titre'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 9,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 6,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 17,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 19,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 6,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'title',
+        'settings' => array(
+          'title_class' => '',
+          'title_link' => '',
+          'title_style' => '',
+        ),
+        'type' => 'title_linked',
+        'weight' => 1,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 2,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_nature_titre',
+    'label' => 'Nature Titre',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -4,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_onthologie'
+  $field_instances['node-materiau-field_onthologie'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 10,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'i18n_taxonomy',
+        'settings' => array(),
+        'type' => 'i18n_taxonomy_term_reference_link',
+        'weight' => 16,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 12,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_onthologie',
+    'label' => 'Onthologie',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'term_reference_tree',
+      'settings' => array(
+        'cascading_selection' => 0,
+        'filter_view' => '',
+        'leaves_only' => 0,
+        'max_depth' => '',
+        'parent_term_id' => '',
+        'select_parents' => 1,
+        'start_minimized' => 1,
+        'starting_depth' => 2,
+        'token_display' => '',
+        'track_list' => 1,
+        'track_list_order' => 1,
+      ),
+      'type' => 'term_reference_tree',
+      'weight' => 22,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_reference_materio'
+  $field_instances['node-materiau-field_reference_materio'] = array(
+    'bundle' => 'materiau',
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 10,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 7,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 18,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 20,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 7,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 21,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 7,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_unsanitized',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_reference_materio',
+    'label' => 'Référence Materio',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'computed_field',
+      'settings' => array(),
+      'type' => 'computed',
+      'weight' => 3,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_tags_libres'
+  $field_instances['node-materiau-field_tags_libres'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 16,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 15,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'i18n_taxonomy',
+        'settings' => array(),
+        'type' => 'i18n_taxonomy_term_reference_link',
+        'weight' => 15,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 13,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 12,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_tags_libres',
+    'label' => 'Tags libres',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'autocomplete_deluxe',
+      'settings' => array(
+        'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
+        'content_taxonomy_autocomplete_new_terms' => 'allow',
+        'size' => 60,
+      ),
+      'type' => 'autocomplete_deluxe_taxonomy',
+      'weight' => 23,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_video_filter'
+  $field_instances['node-materiau-field_video_filter'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 12,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 8,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 11,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'video_filter_field',
+        'settings' => array(),
+        'type' => 'video_filter_field_default',
+        'weight' => 7,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 14,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 14,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_video_filter',
+    'label' => 'video',
+    'required' => 0,
+    'settings' => array(
+      'autoplay' => 0,
+      'entity_translation_sync' => FALSE,
+      'max_height' => 400,
+      'max_width' => 400,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'video_filter_field',
+      'settings' => array(),
+      'type' => 'video_filter',
+      'weight' => 12,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-field_workflow_state'
+  $field_instances['node-materiau-field_workflow_state'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_plain',
+        'weight' => 24,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 6,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'computed_field',
+        'settings' => array(),
+        'type' => 'computed_field_unsanitized',
+        'weight' => 3,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_workflow_state',
+    'label' => 'Workflow State',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'field_extrawidgets',
+      'settings' => array(
+        'display_empty' => 0,
+        'formatter' => '',
+        'formatter_settings' => array(),
+      ),
+      'type' => 'field_extrawidgets_read_only',
+      'weight' => 29,
+    ),
+  );
+
+  // Exported field_instance: 'node-materiau-title_field'
+  $field_instances['node-materiau-title_field'] = array(
+    'bundle' => 'materiau',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => 'A field replacing node title.',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 8,
+      ),
+      'cardbig' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 5,
+      ),
+      'cardfull' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 16,
+      ),
+      'cardmedium' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 18,
+      ),
+      'cardsmall' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_plain',
+        'weight' => 5,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 12,
+      ),
+      'print' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'title_field',
+    'label' => 'Nom',
+    'required' => 1,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => 0,
+        'page' => 0,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'node-page-body'
+  $field_instances['node-page-body'] = array(
+    'bundle' => 'page',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(
+          'trim_length' => 600,
+        ),
+        'type' => 'text_summary_or_trimmed',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Body',
+    'required' => FALSE,
+    'settings' => array(
+      'display_summary' => TRUE,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => -4,
+    ),
+  );
+
+  // Exported field_instance: 'node-page-title_field'
+  $field_instances['node-page-title_field'] = array(
+    'bundle' => 'page',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => 'A field replacing node title.',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 1,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'title_field',
+    'label' => 'Titre',
+    'required' => TRUE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => FALSE,
+        'page' => FALSE,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'node-webform-body'
+  $field_instances['node-webform-body'] = array(
+    'bundle' => 'webform',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(
+          'trim_length' => 600,
+        ),
+        'type' => 'text_summary_or_trimmed',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'body',
+    'label' => 'Body',
+    'required' => FALSE,
+    'settings' => array(
+      'display_summary' => TRUE,
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 1,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 20,
+        'summary_rows' => 5,
+      ),
+      'type' => 'text_textarea_with_summary',
+      'weight' => 31,
+    ),
+  );
+
+  // Exported field_instance: 'node-webform-title_field'
+  $field_instances['node-webform-title_field'] = array(
+    'bundle' => 'webform',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => 'A field replacing node title.',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 1,
+      ),
+      'print' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'title_field',
+    'label' => 'Titre',
+    'required' => TRUE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => FALSE,
+        'page' => FALSE,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'taxonomy_term-company-synonyms_synonym'
+  $field_instances['taxonomy_term-company-synonyms_synonym'] = array(
+    'bundle' => 'company',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'taxonomy_term',
+    'field_name' => 'synonyms_synonym',
+    'label' => 'Synonyms',
+    'required' => FALSE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 31,
+    ),
+  );
+
+  // Exported field_instance: 'taxonomy_term-onthologie-name_field'
+  $field_instances['taxonomy_term-onthologie-name_field'] = array(
+    'bundle' => 'onthologie',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => 'A field replacing taxonomy term name.',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 1,
+      ),
+      'search_index' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'taxonomy_term',
+    'field_name' => 'name_field',
+    'label' => 'Nom',
+    'required' => TRUE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => FALSE,
+        'page' => FALSE,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'taxonomy_term-onthologie-synonyms_synonym'
+  $field_instances['taxonomy_term-onthologie-synonyms_synonym'] = array(
+    'bundle' => 'onthologie',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+      'search_index' => array(
+        'label' => 'hidden',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'taxonomy_term',
+    'field_name' => 'synonyms_synonym',
+    'label' => 'Synonyms',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 31,
+    ),
+  );
+
+  // Exported field_instance: 'taxonomy_term-tag_libres-name_field'
+  $field_instances['taxonomy_term-tag_libres-name_field'] = array(
+    'bundle' => 'tag_libres',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'taxonomy_term',
+    'field_name' => 'name_field',
+    'label' => 'Nom',
+    'required' => TRUE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'hide_label' => array(
+        'entity' => FALSE,
+        'page' => FALSE,
+      ),
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => -5,
+    ),
+  );
+
+  // Exported field_instance: 'taxonomy_term-tag_libres-synonyms_synonym'
+  $field_instances['taxonomy_term-tag_libres-synonyms_synonym'] = array(
+    'bundle' => 'tag_libres',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'taxonomy_term',
+    'field_name' => 'synonyms_synonym',
+    'label' => 'Synonyms',
+    'required' => FALSE,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => FALSE,
+    ),
+    'widget' => array(
+      'module' => 'text',
+      'settings' => array(
+        'size' => 60,
+      ),
+      'type' => 'text_textfield',
+      'weight' => 31,
+    ),
+  );
+
+  // Translatables
+  // Included for use with string extractors like potx.
+  t('"http://" will be added automaticly.');
+  t('A field replacing node title.');
+  t('A field replacing taxonomy term name.');
+  t('Adresse');
+  t('Authored on');
+  t('Body');
+  t('Brève(s) liée(s)');
+  t('Department');
+  t('Description');
+  t('Distributor');
+  t('Email');
+  t('Famille');
+  t('Fichiers joints');
+  t('Identifiant');
+  t('Image');
+  t('Infos from company');
+  t('Localisation');
+  t('Manufacturer');
+  t('Materiau(x) lié(s)');
+  t('Materio speach');
+  t('Mémo');
+  t('Name');
+  t('Nature Titre');
+  t('Nom');
+  t('Note');
+  t('Onthologie');
+  t('Phone');
+  t('Référence Materio');
+  t('Synonyms');
+  t('Tags libres');
+  t('Titre');
+  t('Workflow State');
+  t('source');
+  t('video');
+  t('website');
+
+  return $field_instances;
+}

+ 20 - 19
materio_content_types/materio_content_types.features.inc

@@ -7,16 +7,13 @@
 /**
  * Implements hook_ctools_plugin_api().
  */
-function materio_content_types_ctools_plugin_api() {
-  list($module, $api) = func_get_args();
-  if ($module == "corresponding_entity_references" && $api == "default_corresponding_entity_references_presets") {
+function materio_content_types_ctools_plugin_api($module = NULL, $api = NULL) {
+  if ($module == "cer" && $api == "default_cer_presets") {
     return array("version" => "1");
   }
-  list($module, $api) = func_get_args();
   if ($module == "field_group" && $api == "field_group") {
     return array("version" => "1");
   }
-  list($module, $api) = func_get_args();
   if ($module == "strongarm" && $api == "strongarm") {
     return array("version" => "1");
   }
@@ -25,8 +22,8 @@ function materio_content_types_ctools_plugin_api() {
 /**
  * Implements hook_views_api().
  */
-function materio_content_types_views_api() {
-  return array("version" => "3.0");
+function materio_content_types_views_api($module = NULL, $api = NULL) {
+  return array("api" => "3.0");
 }
 
 /**
@@ -49,12 +46,13 @@ function materio_content_types_image_default_styles() {
         'module' => 'image',
         'name' => 'image_scale_and_crop',
         'data' => array(
-          'width' => '430',
-          'height' => '340',
+          'width' => 430,
+          'height' => 340,
         ),
-        'weight' => '1',
+        'weight' => 1,
       ),
     ),
+    'label' => 'card-big',
   );
 
   // Exported image style: card-full.
@@ -71,12 +69,13 @@ function materio_content_types_image_default_styles() {
         'module' => 'image',
         'name' => 'image_scale_and_crop',
         'data' => array(
-          'width' => '425',
-          'height' => '610',
+          'width' => 425,
+          'height' => 610,
         ),
-        'weight' => '1',
+        'weight' => 1,
       ),
     ),
+    'label' => 'card-full',
   );
 
   // Exported image style: card-medium.
@@ -93,12 +92,13 @@ function materio_content_types_image_default_styles() {
         'module' => 'image',
         'name' => 'image_scale_and_crop',
         'data' => array(
-          'width' => '210',
-          'height' => '295',
+          'width' => 210,
+          'height' => 295,
         ),
-        'weight' => '1',
+        'weight' => 1,
       ),
     ),
+    'label' => 'card-medium',
   );
 
   // Exported image style: card-small.
@@ -115,12 +115,13 @@ function materio_content_types_image_default_styles() {
         'module' => 'image',
         'name' => 'image_scale_and_crop',
         'data' => array(
-          'width' => '100',
-          'height' => '140',
+          'width' => 100,
+          'height' => 140,
         ),
-        'weight' => '1',
+        'weight' => 1,
       ),
     ),
+    'label' => 'card-small',
   );
 
   return $styles;

+ 9 - 9
materio_content_types/materio_content_types.features.taxonomy.inc

@@ -13,31 +13,31 @@ function materio_content_types_taxonomy_default_vocabularies() {
       'name' => 'Company',
       'machine_name' => 'company',
       'description' => '',
-      'hierarchy' => '0',
+      'hierarchy' => 0,
       'module' => 'taxonomy',
-      'weight' => '-8',
+      'weight' => -8,
       'language' => 'und',
-      'i18n_mode' => '0',
+      'i18n_mode' => 0,
     ),
     'onthologie' => array(
       'name' => 'Ontologie',
       'machine_name' => 'onthologie',
       'description' => '',
-      'hierarchy' => '1',
+      'hierarchy' => 1,
       'module' => 'taxonomy',
-      'weight' => '-10',
+      'weight' => -10,
       'language' => 'und',
-      'i18n_mode' => '1',
+      'i18n_mode' => 1,
     ),
     'tag_libres' => array(
       'name' => 'Tag libres',
       'machine_name' => 'tag_libres',
       'description' => '',
-      'hierarchy' => '0',
+      'hierarchy' => 0,
       'module' => 'taxonomy',
-      'weight' => '-9',
+      'weight' => -9,
       'language' => 'und',
-      'i18n_mode' => '1',
+      'i18n_mode' => 1,
     ),
   );
 }

+ 290 - 288
materio_content_types/materio_content_types.features.user_permission.inc

@@ -10,901 +10,903 @@
 function materio_content_types_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: access private fields.
+  // Exported permission: 'access private fields'.
   $permissions['access private fields'] = array(
     'name' => 'access private fields',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: administer field permissions.
+  // Exported permission: 'administer field permissions'.
   $permissions['administer field permissions'] = array(
     'name' => 'administer field permissions',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_attachments.
+  // Exported permission: 'create field_attachments'.
   $permissions['create field_attachments'] = array(
     'name' => 'create field_attachments',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_company.
+  // Exported permission: 'create field_company'.
   $permissions['create field_company'] = array(
     'name' => 'create field_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_company_distrib.
+  // Exported permission: 'create field_company_distrib'.
   $permissions['create field_company_distrib'] = array(
     'name' => 'create field_company_distrib',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_company_fab.
+  // Exported permission: 'create field_company_fab'.
   $permissions['create field_company_fab'] = array(
     'name' => 'create field_company_fab',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_description.
+  // Exported permission: 'create field_description'.
   $permissions['create field_description'] = array(
     'name' => 'create field_description',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_displayed_in_home.
+  // Exported permission: 'create field_displayed_in_home'.
   $permissions['create field_displayed_in_home'] = array(
     'name' => 'create field_displayed_in_home',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_famille.
+  // Exported permission: 'create field_famille'.
   $permissions['create field_famille'] = array(
     'name' => 'create field_famille',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_identifiant.
+  // Exported permission: 'create field_identifiant'.
   $permissions['create field_identifiant'] = array(
     'name' => 'create field_identifiant',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_infos_from_company.
+  // Exported permission: 'create field_infos_from_company'.
   $permissions['create field_infos_from_company'] = array(
     'name' => 'create field_infos_from_company',
     'roles' => array(
-      0 => 'Contact opérationnel',
-      1 => 'administrator',
-      2 => 'root',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_localisation.
+  // Exported permission: 'create field_localisation'.
   $permissions['create field_localisation'] = array(
     'name' => 'create field_localisation',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_memo.
+  // Exported permission: 'create field_memo'.
   $permissions['create field_memo'] = array(
     'name' => 'create field_memo',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_note.
+  // Exported permission: 'create field_note'.
   $permissions['create field_note'] = array(
     'name' => 'create field_note',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_reference_materio.
+  // Exported permission: 'create field_reference_materio'.
   $permissions['create field_reference_materio'] = array(
     'name' => 'create field_reference_materio',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_tode_company.
+  // Exported permission: 'create field_tode_company'.
   $permissions['create field_tode_company'] = array(
     'name' => 'create field_tode_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_weight.
+  // Exported permission: 'create field_weight'.
   $permissions['create field_weight'] = array(
     'name' => 'create field_weight',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: create field_workflow_state.
+  // Exported permission: 'create field_workflow_state'.
   $permissions['create field_workflow_state'] = array(
     'name' => 'create field_workflow_state',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_attachments.
+  // Exported permission: 'edit field_attachments'.
   $permissions['edit field_attachments'] = array(
     'name' => 'edit field_attachments',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_company.
+  // Exported permission: 'edit field_company'.
   $permissions['edit field_company'] = array(
     'name' => 'edit field_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_company_distrib.
+  // Exported permission: 'edit field_company_distrib'.
   $permissions['edit field_company_distrib'] = array(
     'name' => 'edit field_company_distrib',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_company_fab.
+  // Exported permission: 'edit field_company_fab'.
   $permissions['edit field_company_fab'] = array(
     'name' => 'edit field_company_fab',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_description.
+  // Exported permission: 'edit field_description'.
   $permissions['edit field_description'] = array(
     'name' => 'edit field_description',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_displayed_in_home.
+  // Exported permission: 'edit field_displayed_in_home'.
   $permissions['edit field_displayed_in_home'] = array(
     'name' => 'edit field_displayed_in_home',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_famille.
+  // Exported permission: 'edit field_famille'.
   $permissions['edit field_famille'] = array(
     'name' => 'edit field_famille',
     'roles' => array(),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_identifiant.
+  // Exported permission: 'edit field_identifiant'.
   $permissions['edit field_identifiant'] = array(
     'name' => 'edit field_identifiant',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_infos_from_company.
+  // Exported permission: 'edit field_infos_from_company'.
   $permissions['edit field_infos_from_company'] = array(
     'name' => 'edit field_infos_from_company',
     'roles' => array(
-      0 => 'Contact opérationnel',
-      1 => 'administrator',
-      2 => 'root',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_localisation.
+  // Exported permission: 'edit field_localisation'.
   $permissions['edit field_localisation'] = array(
     'name' => 'edit field_localisation',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_memo.
+  // Exported permission: 'edit field_memo'.
   $permissions['edit field_memo'] = array(
     'name' => 'edit field_memo',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_note.
+  // Exported permission: 'edit field_note'.
   $permissions['edit field_note'] = array(
     'name' => 'edit field_note',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_reference_materio.
+  // Exported permission: 'edit field_reference_materio'.
   $permissions['edit field_reference_materio'] = array(
     'name' => 'edit field_reference_materio',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_tode_company.
+  // Exported permission: 'edit field_tode_company'.
   $permissions['edit field_tode_company'] = array(
     'name' => 'edit field_tode_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_weight.
+  // Exported permission: 'edit field_weight'.
   $permissions['edit field_weight'] = array(
     'name' => 'edit field_weight',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit field_workflow_state.
+  // Exported permission: 'edit field_workflow_state'.
   $permissions['edit field_workflow_state'] = array(
     'name' => 'edit field_workflow_state',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_attachments.
+  // Exported permission: 'edit own field_attachments'.
   $permissions['edit own field_attachments'] = array(
     'name' => 'edit own field_attachments',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_company.
+  // Exported permission: 'edit own field_company'.
   $permissions['edit own field_company'] = array(
     'name' => 'edit own field_company',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_company_distrib.
+  // Exported permission: 'edit own field_company_distrib'.
   $permissions['edit own field_company_distrib'] = array(
     'name' => 'edit own field_company_distrib',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_company_fab.
+  // Exported permission: 'edit own field_company_fab'.
   $permissions['edit own field_company_fab'] = array(
     'name' => 'edit own field_company_fab',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_description.
+  // Exported permission: 'edit own field_description'.
   $permissions['edit own field_description'] = array(
     'name' => 'edit own field_description',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_displayed_in_home.
+  // Exported permission: 'edit own field_displayed_in_home'.
   $permissions['edit own field_displayed_in_home'] = array(
     'name' => 'edit own field_displayed_in_home',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_famille.
+  // Exported permission: 'edit own field_famille'.
   $permissions['edit own field_famille'] = array(
     'name' => 'edit own field_famille',
     'roles' => array(),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_identifiant.
+  // Exported permission: 'edit own field_identifiant'.
   $permissions['edit own field_identifiant'] = array(
     'name' => 'edit own field_identifiant',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_infos_from_company.
+  // Exported permission: 'edit own field_infos_from_company'.
   $permissions['edit own field_infos_from_company'] = array(
     'name' => 'edit own field_infos_from_company',
     'roles' => array(
-      0 => 'root',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_localisation.
+  // Exported permission: 'edit own field_localisation'.
   $permissions['edit own field_localisation'] = array(
     'name' => 'edit own field_localisation',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_memo.
+  // Exported permission: 'edit own field_memo'.
   $permissions['edit own field_memo'] = array(
     'name' => 'edit own field_memo',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_note.
+  // Exported permission: 'edit own field_note'.
   $permissions['edit own field_note'] = array(
     'name' => 'edit own field_note',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_reference_materio.
+  // Exported permission: 'edit own field_reference_materio'.
   $permissions['edit own field_reference_materio'] = array(
     'name' => 'edit own field_reference_materio',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_tode_company.
+  // Exported permission: 'edit own field_tode_company'.
   $permissions['edit own field_tode_company'] = array(
     'name' => 'edit own field_tode_company',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_weight.
+  // Exported permission: 'edit own field_weight'.
   $permissions['edit own field_weight'] = array(
     'name' => 'edit own field_weight',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: edit own field_workflow_state.
+  // Exported permission: 'edit own field_workflow_state'.
   $permissions['edit own field_workflow_state'] = array(
     'name' => 'edit own field_workflow_state',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: show breve title.
+  // Exported permission: 'show breve title'.
   $permissions['show breve title'] = array(
     'name' => 'show breve title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'Unverified',
-      5 => 'Utilisateur',
-      6 => 'administrator',
-      7 => 'anonymous user',
-      8 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: show company title.
+  // Exported permission: 'show company title'.
   $permissions['show company title'] = array(
     'name' => 'show company title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'administrator',
-      5 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: show materiau title.
+  // Exported permission: 'show materiau title'.
   $permissions['show materiau title'] = array(
     'name' => 'show materiau title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'administrator',
-      5 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: show page title.
+  // Exported permission: 'show page title'.
   $permissions['show page title'] = array(
     'name' => 'show page title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'Unverified',
-      5 => 'Utilisateur',
-      6 => 'administrator',
-      7 => 'anonymous user',
-      8 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: show panel title.
+  // Exported permission: 'show panel title'.
   $permissions['show panel title'] = array(
     'name' => 'show panel title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Student',
-      2 => 'Unverified',
-      3 => 'Utilisateur',
-      4 => 'administrator',
-      5 => 'anonymous user',
-      6 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: show webform title.
+  // Exported permission: 'show webform title'.
   $permissions['show webform title'] = array(
     'name' => 'show webform title',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'Unverified',
-      5 => 'Utilisateur',
-      6 => 'administrator',
-      7 => 'anonymous user',
-      8 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'root' => 'root',
     ),
     'module' => 'materio_page_title',
   );
 
-  // Exported permission: view field_attachments.
+  // Exported permission: 'view field_attachments'.
   $permissions['view field_attachments'] = array(
     'name' => 'view field_attachments',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'Student',
-      3 => 'administrator',
-      4 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_company.
+  // Exported permission: 'view field_company'.
   $permissions['view field_company'] = array(
     'name' => 'view field_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_company_distrib.
+  // Exported permission: 'view field_company_distrib'.
   $permissions['view field_company_distrib'] = array(
     'name' => 'view field_company_distrib',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'Student',
-      3 => 'administrator',
-      4 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_company_fab.
+  // Exported permission: 'view field_company_fab'.
   $permissions['view field_company_fab'] = array(
     'name' => 'view field_company_fab',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'Student',
-      3 => 'administrator',
-      4 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_description.
+  // Exported permission: 'view field_description'.
   $permissions['view field_description'] = array(
     'name' => 'view field_description',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'Unverified',
-      5 => 'Utilisateur',
-      6 => 'administrator',
-      7 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_displayed_in_home.
+  // Exported permission: 'view field_displayed_in_home'.
   $permissions['view field_displayed_in_home'] = array(
     'name' => 'view field_displayed_in_home',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_famille.
+  // Exported permission: 'view field_famille'.
   $permissions['view field_famille'] = array(
     'name' => 'view field_famille',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'Unverified',
-      5 => 'Utilisateur',
-      6 => 'administrator',
-      7 => 'anonymous user',
-      8 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_identifiant.
+  // Exported permission: 'view field_identifiant'.
   $permissions['view field_identifiant'] = array(
     'name' => 'view field_identifiant',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_infos_from_company.
+  // Exported permission: 'view field_infos_from_company'.
   $permissions['view field_infos_from_company'] = array(
     'name' => 'view field_infos_from_company',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_localisation.
+  // Exported permission: 'view field_localisation'.
   $permissions['view field_localisation'] = array(
     'name' => 'view field_localisation',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'administrator',
-      5 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_memo.
+  // Exported permission: 'view field_memo'.
   $permissions['view field_memo'] = array(
     'name' => 'view field_memo',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_note.
+  // Exported permission: 'view field_note'.
   $permissions['view field_note'] = array(
     'name' => 'view field_note',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_reference_materio.
+  // Exported permission: 'view field_reference_materio'.
   $permissions['view field_reference_materio'] = array(
     'name' => 'view field_reference_materio',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'Student',
-      3 => 'administrator',
-      4 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_tode_company.
+  // Exported permission: 'view field_tode_company'.
   $permissions['view field_tode_company'] = array(
     'name' => 'view field_tode_company',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Contact opérationnel',
-      2 => 'Premium',
-      3 => 'Student',
-      4 => 'administrator',
-      5 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_weight.
+  // Exported permission: 'view field_weight'.
   $permissions['view field_weight'] = array(
     'name' => 'view field_weight',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view field_workflow_state.
+  // Exported permission: 'view field_workflow_state'.
   $permissions['view field_workflow_state'] = array(
     'name' => 'view field_workflow_state',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_attachments.
+  // Exported permission: 'view own field_attachments'.
   $permissions['view own field_attachments'] = array(
     'name' => 'view own field_attachments',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_company.
+  // Exported permission: 'view own field_company'.
   $permissions['view own field_company'] = array(
     'name' => 'view own field_company',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_company_distrib.
+  // Exported permission: 'view own field_company_distrib'.
   $permissions['view own field_company_distrib'] = array(
     'name' => 'view own field_company_distrib',
     'roles' => array(),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_company_fab.
+  // Exported permission: 'view own field_company_fab'.
   $permissions['view own field_company_fab'] = array(
     'name' => 'view own field_company_fab',
     'roles' => array(),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_description.
+  // Exported permission: 'view own field_description'.
   $permissions['view own field_description'] = array(
     'name' => 'view own field_description',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_displayed_in_home.
+  // Exported permission: 'view own field_displayed_in_home'.
   $permissions['view own field_displayed_in_home'] = array(
     'name' => 'view own field_displayed_in_home',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_famille.
+  // Exported permission: 'view own field_famille'.
   $permissions['view own field_famille'] = array(
     'name' => 'view own field_famille',
     'roles' => array(),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_identifiant.
+  // Exported permission: 'view own field_identifiant'.
   $permissions['view own field_identifiant'] = array(
     'name' => 'view own field_identifiant',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_infos_from_company.
+  // Exported permission: 'view own field_infos_from_company'.
   $permissions['view own field_infos_from_company'] = array(
     'name' => 'view own field_infos_from_company',
     'roles' => array(
-      0 => 'root',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_localisation.
+  // Exported permission: 'view own field_localisation'.
   $permissions['view own field_localisation'] = array(
     'name' => 'view own field_localisation',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_memo.
+  // Exported permission: 'view own field_memo'.
   $permissions['view own field_memo'] = array(
     'name' => 'view own field_memo',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_note.
+  // Exported permission: 'view own field_note'.
   $permissions['view own field_note'] = array(
     'name' => 'view own field_note',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_reference_materio.
+  // Exported permission: 'view own field_reference_materio'.
   $permissions['view own field_reference_materio'] = array(
     'name' => 'view own field_reference_materio',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_tode_company.
+  // Exported permission: 'view own field_tode_company'.
   $permissions['view own field_tode_company'] = array(
     'name' => 'view own field_tode_company',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_weight.
+  // Exported permission: 'view own field_weight'.
   $permissions['view own field_weight'] = array(
     'name' => 'view own field_weight',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );
 
-  // Exported permission: view own field_workflow_state.
+  // Exported permission: 'view own field_workflow_state'.
   $permissions['view own field_workflow_state'] = array(
     'name' => 'view own field_workflow_state',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'field_permissions',
   );

+ 53 - 52
materio_content_types/materio_content_types.field_group.inc

@@ -30,7 +30,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 4',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-4 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -64,7 +64,7 @@ function materio_content_types_field_group_info() {
       'label' => 'Contenus',
       'instance_settings' => array(
         'required_fields' => 1,
-        'classes' => '',
+        'classes' => ' group-base field-group-htab',
         'description' => '',
       ),
       'formatter' => 'closed',
@@ -94,7 +94,7 @@ function materio_content_types_field_group_info() {
       'label' => 'Contenus',
       'instance_settings' => array(
         'required_fields' => 1,
-        'classes' => '',
+        'classes' => ' group-base field-group-htab',
         'description' => '',
       ),
       'formatter' => 'closed',
@@ -123,7 +123,7 @@ function materio_content_types_field_group_info() {
       'label' => 'Companies',
       'instance_settings' => array(
         'required_fields' => 1,
-        'classes' => '',
+        'classes' => ' group-contact-ope field-group-fieldset',
         'description' => '',
       ),
       'formatter' => 'collapsible',
@@ -151,7 +151,7 @@ function materio_content_types_field_group_info() {
       'formatter' => 'closed',
       'instance_settings' => array(
         'description' => '',
-        'classes' => '',
+        'classes' => ' group-fichiers field-group-htab',
         'required_fields' => 1,
       ),
     ),
@@ -177,7 +177,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -209,7 +209,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -241,7 +241,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -273,7 +273,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'Header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -305,7 +305,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -338,7 +338,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -372,7 +372,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -406,7 +406,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -440,7 +440,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -474,7 +474,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'header',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-header field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -507,7 +507,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'formatter' => '',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-htabs field-group-htabs',
       ),
     ),
   );
@@ -536,7 +536,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'htabs',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-htabs field-group-htabs',
       ),
     ),
   );
@@ -561,7 +561,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -592,7 +592,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -623,7 +623,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -654,7 +654,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -685,7 +685,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -716,7 +716,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -747,7 +747,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -778,7 +778,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -809,7 +809,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -840,7 +840,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'images',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-images field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -873,7 +873,7 @@ function materio_content_types_field_group_info() {
       'formatter' => 'collapsible',
       'instance_settings' => array(
         'description' => '',
-        'classes' => '',
+        'classes' => ' group-media field-group-fieldset',
         'required_fields' => 1,
       ),
     ),
@@ -901,7 +901,7 @@ function materio_content_types_field_group_info() {
       'formatter' => 'closed',
       'instance_settings' => array(
         'description' => '',
-        'classes' => '',
+        'classes' => ' group-referencement field-group-htab',
         'required_fields' => 1,
       ),
     ),
@@ -929,7 +929,7 @@ function materio_content_types_field_group_info() {
       'label' => 'Référencement',
       'instance_settings' => array(
         'required_fields' => 0,
-        'classes' => '',
+        'classes' => ' group-referencement field-group-htab',
         'description' => '',
       ),
       'formatter' => 'open',
@@ -957,7 +957,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 1',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-side1 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -988,7 +988,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 1',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side1 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1020,7 +1020,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 1',
       'instance_settings' => array(
-        'classes' => '',
+        'classes' => ' group-side1 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1051,7 +1051,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 1',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side1 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1082,7 +1082,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 2',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side2 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1113,7 +1113,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 2',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side2 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1144,7 +1144,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 2',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side2 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1175,7 +1175,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 2',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side2 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1206,7 +1206,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 3',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side3 field-group-hidden',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1237,7 +1237,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 3',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side3 field-group-hidden',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1268,7 +1268,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 3',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side3 field-group-hidden',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1299,7 +1299,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 3',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side3 field-group-hidden',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1331,7 +1331,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 4',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side4 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1363,7 +1363,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 4',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side4 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1395,7 +1395,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 4',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-4 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1426,7 +1426,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side 5',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-5 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1452,12 +1452,13 @@ function materio_content_types_field_group_info() {
     'weight' => '5',
     'children' => array(
       0 => 'field_attachments',
+      1 => 'field_materiau_ref',
     ),
     'format_type' => 'div',
     'format_settings' => array(
       'label' => 'side 5',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-5 field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1488,7 +1489,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side left',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-left field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1519,7 +1520,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'Side left',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-left field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1553,7 +1554,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side right',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-right field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1588,7 +1589,7 @@ function materio_content_types_field_group_info() {
     'format_settings' => array(
       'label' => 'side right',
       'instance_settings' => array(
-        'classes' => 'side',
+        'classes' => 'side group-side-right field-group-div',
         'description' => '',
         'show_label' => '0',
         'label_element' => 'h3',
@@ -1621,7 +1622,7 @@ function materio_content_types_field_group_info() {
       'label' => 'Médias',
       'instance_settings' => array(
         'required_fields' => 1,
-        'classes' => '',
+        'classes' => ' group-upload field-group-htab',
         'description' => '',
       ),
       'formatter' => 'closed',

+ 84 - 54
materio_content_types/materio_content_types.info

@@ -1,12 +1,11 @@
 name = Materio Content types
 core = 7.x
 package = Materio
-php = 5.2.4
 dependencies[] = addressfield
 dependencies[] = autocomplete_deluxe
 dependencies[] = cck_phone
-dependencies[] = computed_field
 dependencies[] = cer
+dependencies[] = computed_field
 dependencies[] = ctools
 dependencies[] = email
 dependencies[] = entityreference
@@ -28,62 +27,43 @@ dependencies[] = title
 dependencies[] = tode
 dependencies[] = video_filter_field
 dependencies[] = views
-features[cer][] = node*breve*field_materiau_ref*node*materiau*field_breve_ref
-features[cer][] = node*materiau*field_materiau_ref*node*materiau*field_materiau_ref
 features[ctools][] = cer:default_cer_presets:1
 features[ctools][] = field_group:field_group:1
 features[ctools][] = strongarm:strongarm:1
 features[ctools][] = views:views_default:3.0
-features[features_api][] = api:1
-features[field][] = node-breve-body
-features[field][] = node-breve-field_authored_on
-features[field][] = node-breve-field_materiau_ref
-features[field][] = node-breve-field_memo
-features[field][] = node-breve-field_onthologie
-features[field][] = node-breve-field_source
-features[field][] = node-breve-field_tags_libres
-features[field][] = node-breve-field_video_filter
-features[field][] = node-breve-field_visuel
-features[field][] = node-breve-field_workflow_state
-features[field][] = node-breve-title_field
-features[field][] = node-company-body
-features[field][] = node-company-field_attachments
-features[field][] = node-company-field_department
-features[field][] = node-company-field_infos_from_company
-features[field][] = node-company-field_memo
-features[field][] = node-company-field_note
-features[field][] = node-company-field_public_address
-features[field][] = node-company-field_public_email
-features[field][] = node-company-field_public_phone
-features[field][] = node-company-field_tode_company
-features[field][] = node-company-field_website
-features[field][] = node-materiau-field_attachments
-features[field][] = node-materiau-field_breve_ref
-features[field][] = node-materiau-field_company_distrib
-features[field][] = node-materiau-field_company_fab
-features[field][] = node-materiau-field_description
-features[field][] = node-materiau-field_famille
-features[field][] = node-materiau-field_identifiant
-features[field][] = node-materiau-field_localisation
-features[field][] = node-materiau-field_materiau_image
-features[field][] = node-materiau-field_materiau_ref
-features[field][] = node-materiau-field_memo
-features[field][] = node-materiau-field_nature_titre
-features[field][] = node-materiau-field_onthologie
-features[field][] = node-materiau-field_reference_materio
-features[field][] = node-materiau-field_tags_libres
-features[field][] = node-materiau-field_video_filter
-features[field][] = node-materiau-field_workflow_state
-features[field][] = node-materiau-title_field
-features[field][] = node-page-body
-features[field][] = node-page-title_field
-features[field][] = node-webform-body
-features[field][] = node-webform-title_field
-features[field][] = taxonomy_term-company-synonyms_synonym
-features[field][] = taxonomy_term-onthologie-name_field
-features[field][] = taxonomy_term-onthologie-synonyms_synonym
-features[field][] = taxonomy_term-tag_libres-name_field
-features[field][] = taxonomy_term-tag_libres-synonyms_synonym
+features[features_api][] = api:2
+features[field_base][] = body
+features[field_base][] = field_attachments
+features[field_base][] = field_authored_on
+features[field_base][] = field_breve_ref
+features[field_base][] = field_company_distrib
+features[field_base][] = field_company_fab
+features[field_base][] = field_department
+features[field_base][] = field_description
+features[field_base][] = field_famille
+features[field_base][] = field_identifiant
+features[field_base][] = field_infos_from_company
+features[field_base][] = field_localisation
+features[field_base][] = field_materiau_image
+features[field_base][] = field_materiau_ref
+features[field_base][] = field_memo
+features[field_base][] = field_nature_titre
+features[field_base][] = field_note
+features[field_base][] = field_onthologie
+features[field_base][] = field_public_address
+features[field_base][] = field_public_email
+features[field_base][] = field_public_phone
+features[field_base][] = field_reference_materio
+features[field_base][] = field_source
+features[field_base][] = field_tags_libres
+features[field_base][] = field_tode_company
+features[field_base][] = field_video_filter
+features[field_base][] = field_visuel
+features[field_base][] = field_website
+features[field_base][] = field_workflow_state
+features[field_base][] = name_field
+features[field_base][] = synonyms_synonym
+features[field_base][] = title_field
 features[field_group][] = group_4|node|materiau|cardbig
 features[field_group][] = group_base|node|breve|form
 features[field_group][] = group_base|node|materiau|form
@@ -136,6 +116,55 @@ features[field_group][] = group_side_left|node|materiau|cardfull
 features[field_group][] = group_side_right|node|breve|cardfull
 features[field_group][] = group_side_right|node|materiau|cardfull
 features[field_group][] = group_upload|node|breve|form
+features[field_instance][] = node-breve-body
+features[field_instance][] = node-breve-field_authored_on
+features[field_instance][] = node-breve-field_materiau_ref
+features[field_instance][] = node-breve-field_memo
+features[field_instance][] = node-breve-field_onthologie
+features[field_instance][] = node-breve-field_source
+features[field_instance][] = node-breve-field_tags_libres
+features[field_instance][] = node-breve-field_video_filter
+features[field_instance][] = node-breve-field_visuel
+features[field_instance][] = node-breve-field_workflow_state
+features[field_instance][] = node-breve-title_field
+features[field_instance][] = node-company-body
+features[field_instance][] = node-company-field_attachments
+features[field_instance][] = node-company-field_department
+features[field_instance][] = node-company-field_infos_from_company
+features[field_instance][] = node-company-field_memo
+features[field_instance][] = node-company-field_note
+features[field_instance][] = node-company-field_public_address
+features[field_instance][] = node-company-field_public_email
+features[field_instance][] = node-company-field_public_phone
+features[field_instance][] = node-company-field_tode_company
+features[field_instance][] = node-company-field_website
+features[field_instance][] = node-materiau-field_attachments
+features[field_instance][] = node-materiau-field_breve_ref
+features[field_instance][] = node-materiau-field_company_distrib
+features[field_instance][] = node-materiau-field_company_fab
+features[field_instance][] = node-materiau-field_description
+features[field_instance][] = node-materiau-field_famille
+features[field_instance][] = node-materiau-field_identifiant
+features[field_instance][] = node-materiau-field_localisation
+features[field_instance][] = node-materiau-field_materiau_image
+features[field_instance][] = node-materiau-field_materiau_ref
+features[field_instance][] = node-materiau-field_memo
+features[field_instance][] = node-materiau-field_nature_titre
+features[field_instance][] = node-materiau-field_onthologie
+features[field_instance][] = node-materiau-field_reference_materio
+features[field_instance][] = node-materiau-field_tags_libres
+features[field_instance][] = node-materiau-field_video_filter
+features[field_instance][] = node-materiau-field_workflow_state
+features[field_instance][] = node-materiau-title_field
+features[field_instance][] = node-page-body
+features[field_instance][] = node-page-title_field
+features[field_instance][] = node-webform-body
+features[field_instance][] = node-webform-title_field
+features[field_instance][] = taxonomy_term-company-synonyms_synonym
+features[field_instance][] = taxonomy_term-onthologie-name_field
+features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym
+features[field_instance][] = taxonomy_term-tag_libres-name_field
+features[field_instance][] = taxonomy_term-tag_libres-synonyms_synonym
 features[image][] = card-big
 features[image][] = card-full
 features[image][] = card-medium
@@ -280,3 +309,4 @@ features[variable][] = node_submitted_materiau
 features[variable][] = node_submitted_page
 features[variable][] = node_submitted_webform
 features[views_view][] = entity_reference_materiaux_breves
+project path = sites/all/modules/features

+ 39 - 0
materio_content_types/materio_content_types.strongarm.inc

@@ -165,6 +165,27 @@ function materio_content_types_strongarm() {
       'search_result' => array(
         'custom_settings' => FALSE,
       ),
+      'bookmark' => array(
+        'custom_settings' => TRUE,
+      ),
+      'cardsmall' => array(
+        'custom_settings' => TRUE,
+      ),
+      'cardmedium' => array(
+        'custom_settings' => TRUE,
+      ),
+      'cardbig' => array(
+        'custom_settings' => TRUE,
+      ),
+      'cardfull' => array(
+        'custom_settings' => TRUE,
+      ),
+      'print' => array(
+        'custom_settings' => TRUE,
+      ),
+      'diff_standard' => array(
+        'custom_settings' => FALSE,
+      ),
     ),
     'extra_fields' => array(
       'form' => array(
@@ -180,6 +201,12 @@ function materio_content_types_strongarm() {
         'workflow' => array(
           'weight' => '5',
         ),
+        'metatags' => array(
+          'weight' => '40',
+        ),
+        'redirect' => array(
+          'weight' => '30',
+        ),
       ),
       'display' => array(
         'language' => array(
@@ -208,6 +235,18 @@ function materio_content_types_strongarm() {
             'visible' => FALSE,
           ),
         ),
+        'workflow_current_state' => array(
+          'cardmedium' => array(
+            'weight' => '-99',
+            'visible' => TRUE,
+          ),
+        ),
+        'workflow' => array(
+          'cardmedium' => array(
+            'weight' => '99',
+            'visible' => TRUE,
+          ),
+        ),
       ),
     ),
   );

+ 27 - 16
materio_content_types/materio_content_types.views_default.inc

@@ -23,6 +23,7 @@ function materio_content_types_views_default_views() {
   /* Display: Master */
   $handler = $view->new_display('default', 'Master', 'default');
   $handler->display->display_options['use_more_always'] = FALSE;
+  $handler->display->display_options['use_more_text'] = 'plus';
   $handler->display->display_options['access']['type'] = 'role';
   $handler->display->display_options['access']['role'] = array(
     3 => '3',
@@ -31,7 +32,17 @@ function materio_content_types_views_default_views() {
   $handler->display->display_options['cache']['type'] = 'none';
   $handler->display->display_options['query']['type'] = 'views_query';
   $handler->display->display_options['exposed_form']['type'] = 'basic';
+  $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
+  $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
+  $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
   $handler->display->display_options['pager']['type'] = 'full';
+  $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
+  $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
+  $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
+  $handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
+  $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
+  $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
+  $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
   $handler->display->display_options['style_plugin'] = 'default';
   $handler->display->display_options['row_plugin'] = 'fields';
   $handler->display->display_options['row_options']['inline'] = array(
@@ -39,7 +50,7 @@ function materio_content_types_views_default_views() {
     'title' => 'title',
   );
   $handler->display->display_options['row_options']['hide_empty'] = TRUE;
-  /* Field: Content: Référence Materio */
+  /* Champ: Contenu : Référence Materio */
   $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
   $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
   $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
@@ -47,7 +58,7 @@ function materio_content_types_views_default_views() {
   $handler->display->display_options['fields']['field_reference_materio']['alter']['text'] = '[field_reference_materio] ';
   $handler->display->display_options['fields']['field_reference_materio']['element_label_colon'] = FALSE;
   $handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE;
-  /* Field: Content: Title */
+  /* Champ: Contenu : Titre */
   $handler->display->display_options['fields']['title']['id'] = 'title';
   $handler->display->display_options['fields']['title']['table'] = 'node';
   $handler->display->display_options['fields']['title']['field'] = 'title';
@@ -57,19 +68,19 @@ function materio_content_types_views_default_views() {
   $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
   $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
   $handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
-  /* Sort criterion: Content: Post date */
+  /* Critère de tri: Contenu : Date de publication */
   $handler->display->display_options['sorts']['created']['id'] = 'created';
   $handler->display->display_options['sorts']['created']['table'] = 'node';
   $handler->display->display_options['sorts']['created']['field'] = 'created';
   $handler->display->display_options['sorts']['created']['order'] = 'DESC';
-  /* Filter criterion: Content: Published */
+  /* Critère de filtrage: Contenu : Publié */
   $handler->display->display_options['filters']['status']['id'] = 'status';
   $handler->display->display_options['filters']['status']['table'] = 'node';
   $handler->display->display_options['filters']['status']['field'] = 'status';
   $handler->display->display_options['filters']['status']['value'] = 1;
   $handler->display->display_options['filters']['status']['group'] = 1;
   $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
-  /* Filter criterion: Content: Type */
+  /* Critère de filtrage: Contenu : Type */
   $handler->display->display_options['filters']['type']['id'] = 'type';
   $handler->display->display_options['filters']['type']['table'] = 'node';
   $handler->display->display_options['filters']['type']['field'] = 'type';
@@ -103,19 +114,19 @@ function materio_content_types_views_default_views() {
   $handler->display->display_options['defaults']['row_options'] = FALSE;
   $translatables['entity_reference_materiaux_breves'] = array(
     t('Master'),
-    t('more'),
-    t('Apply'),
-    t('Reset'),
-    t('Sort by'),
+    t('plus'),
+    t('Appliquer'),
+    t('Réinitialiser'),
+    t('Trier par'),
     t('Asc'),
     t('Desc'),
-    t('Items per page'),
-    t('- All -'),
-    t('Offset'),
-    t('« first'),
-    t('‹ previous'),
-    t('next ›'),
-    t('last »'),
+    t('Éléments par page'),
+    t('- Tout -'),
+    t('Décalage'),
+    t('« premier'),
+    t('‹ précédent'),
+    t('suivant ›'),
+    t('dernier »'),
     t('[field_reference_materio] '),
     t('[field_reference_materio][title]'),
     t('Entity Reference'),

+ 10 - 10
materio_feedback/materio_feedback.features.user_permission.inc

@@ -10,33 +10,33 @@
 function materio_feedback_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: access feedback form.
+  // Exported permission: 'access feedback form'.
   $permissions['access feedback form'] = array(
     'name' => 'access feedback form',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'Student',
-      3 => 'Utilisateur',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Utilisateur' => 'Utilisateur',
     ),
     'module' => 'feedback',
   );
 
-  // Exported permission: administer feedback.
+  // Exported permission: 'administer feedback'.
   $permissions['administer feedback'] = array(
     'name' => 'administer feedback',
     'roles' => array(
-      0 => 'root',
+      'root' => 'root',
     ),
     'module' => 'feedback',
   );
 
-  // Exported permission: view feedback messages.
+  // Exported permission: 'view feedback messages'.
   $permissions['view feedback messages'] = array(
     'name' => 'view feedback messages',
     'roles' => array(
-      0 => 'administrator',
-      1 => 'root',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'feedback',
   );

+ 2 - 2
materio_feedback/materio_feedback.info

@@ -1,11 +1,11 @@
 name = materio feedback
 core = 7.x
 package = Materio
-php = 5.2.4
 dependencies[] = browscap
 dependencies[] = features
 dependencies[] = feedback
-features[features_api][] = api:1
+features[features_api][] = api:2
 features[user_permission][] = access feedback form
 features[user_permission][] = administer feedback
 features[user_permission][] = view feedback messages
+project path = sites/all/modules/features

+ 26 - 26
materio_folders/materio_folders.features.user_permission.inc

@@ -10,70 +10,70 @@
 function materio_folders_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: create flag lists.
+  // Exported permission: 'create flag lists'.
   $permissions['create flag lists'] = array(
     'name' => 'create flag lists',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'root' => 'root',
     ),
     'module' => 'flag_lists',
   );
 
-  // Exported permission: delete own flag lists.
+  // Exported permission: 'delete own flag lists'.
   $permissions['delete own flag lists'] = array(
     'name' => 'delete own flag lists',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'root' => 'root',
     ),
     'module' => 'flag_lists',
   );
 
-  // Exported permission: edit own flag lists.
+  // Exported permission: 'edit own flag lists'.
   $permissions['edit own flag lists'] = array(
     'name' => 'edit own flag lists',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'root' => 'root',
     ),
     'module' => 'flag_lists',
   );
 
-  // Exported permission: flag fl_template.
+  // Exported permission: 'flag fl_template'.
   $permissions['flag fl_template'] = array(
     'name' => 'flag fl_template',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'administrator',
-      3 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'flag',
   );
 
-  // Exported permission: unflag fl_template.
+  // Exported permission: 'unflag fl_template'.
   $permissions['unflag fl_template'] = array(
     'name' => 'unflag fl_template',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'administrator',
-      3 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'administrator' => 'administrator',
+      'root' => 'root',
     ),
     'module' => 'flag',
   );
 
-  // Exported permission: view flag lists.
+  // Exported permission: 'view flag lists'.
   $permissions['view flag lists'] = array(
     'name' => 'view flag lists',
     'roles' => array(
-      0 => 'Adhérent',
-      1 => 'Premium',
-      2 => 'root',
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'root' => 'root',
     ),
     'module' => 'flag_lists',
   );

+ 2 - 2
materio_folders/materio_folders.info

@@ -2,14 +2,14 @@ name = Materio Folders
 description = flag lists
 core = 7.x
 package = Materio
-php = 5.2.4
 dependencies[] = features
 dependencies[] = flag
 dependencies[] = flag_lists
-features[features_api][] = api:1
+features[features_api][] = api:2
 features[user_permission][] = create flag lists
 features[user_permission][] = delete own flag lists
 features[user_permission][] = edit own flag lists
 features[user_permission][] = flag fl_template
 features[user_permission][] = unflag fl_template
 features[user_permission][] = view flag lists
+project path = sites/all/modules/features

+ 0 - 0
materio_subscriptions/materio_subscriptions.features.field.inc


+ 3 - 10
materio_subscriptions/materio_subscriptions.features.inc

@@ -13,24 +13,17 @@ function materio_subscriptions_ctools_plugin_api($module = NULL, $api = NULL) {
   }
 }
 
-/**
- * Implements hook_views_api().
- */
-function materio_subscriptions_views_api($module = NULL, $api = NULL) {
-  return array("api" => "3.0");
-}
-
 /**
  * Implements hook_uc_product_default_classes().
  */
 function materio_subscriptions_uc_product_default_classes() {
   $items = array(
     'product' => array(
-      'name' => t('Product'),
+      'name' => t('Produit'),
       'base' => 'uc_product',
-      'description' => t('Use <em>products</em> to represent items for sale on the website, including all the unique information that can be attributed to a specific model number.'),
+      'description' => t('Utiliser les <em>produits</em> pour représenter les articles en vente sur le site web, incluant toute l\'information unique qui peut être attribuée à un numéro de modèle spécifique.'),
       'has_title' => '1',
-      'title_label' => t('Name'),
+      'title_label' => t('Nom'),
       'help' => '',
     ),
   );

+ 0 - 0
materio_subscriptions/materio_subscriptions.features.taxonomy.inc


+ 18 - 109
materio_subscriptions/materio_subscriptions.features.user_permission.inc

@@ -10,15 +10,6 @@
 function materio_subscriptions_user_default_permissions() {
   $permissions = array();
 
-  // Exported permission: 'access default UC roles expiration list'.
-  $permissions['access default UC roles expiration list'] = array(
-    'name' => 'access default UC roles expiration list',
-    'roles' => array(
-      'root' => 'root',
-    ),
-    'module' => 'materio_admin',
-  );
-
   // Exported permission: 'administer attributes'.
   $permissions['administer attributes'] = array(
     'name' => 'administer attributes',
@@ -163,13 +154,6 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'node',
   );
 
-  // Exported permission: 'delete payments'.
-  $permissions['delete payments'] = array(
-    'name' => 'delete payments',
-    'roles' => array(),
-    'module' => 'uc_payment',
-  );
-
   // Exported permission: 'edit any product content'.
   $permissions['edit any product content'] = array(
     'name' => 'edit any product content',
@@ -197,60 +181,14 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'node',
   );
 
-  // Exported permission: 'enter product revision log entry'.
-  $permissions['enter product revision log entry'] = array(
-    'name' => 'enter product revision log entry',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'manual payments'.
-  $permissions['manual payments'] = array(
-    'name' => 'manual payments',
-    'roles' => array(),
-    'module' => 'uc_payment',
-  );
-
-  // Exported permission: 'override product authored by option'.
-  $permissions['override product authored by option'] = array(
-    'name' => 'override product authored by option',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'override product authored on option'.
-  $permissions['override product authored on option'] = array(
-    'name' => 'override product authored on option',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'override product promote to front page option'.
-  $permissions['override product promote to front page option'] = array(
-    'name' => 'override product promote to front page option',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'override product published option'.
-  $permissions['override product published option'] = array(
-    'name' => 'override product published option',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'override product revision option'.
-  $permissions['override product revision option'] = array(
-    'name' => 'override product revision option',
-    'roles' => array(),
-    'module' => 'override_node_options',
-  );
-
-  // Exported permission: 'override product sticky option'.
-  $permissions['override product sticky option'] = array(
-    'name' => 'override product sticky option',
-    'roles' => array(),
-    'module' => 'override_node_options',
+  // Exported permission: 'manage store coupons'.
+  $permissions['manage store coupons'] = array(
+    'name' => 'manage store coupons',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'uc_coupon',
   );
 
   // Exported permission: 'process credit cards'.
@@ -262,15 +200,6 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_credit',
   );
 
-  // Exported permission: 'show product title'.
-  $permissions['show product title'] = array(
-    'name' => 'show product title',
-    'roles' => array(
-      'root' => 'root',
-    ),
-    'module' => 'materio_page_title',
-  );
-
   // Exported permission: 'unconditionally delete orders'.
   $permissions['unconditionally delete orders'] = array(
     'name' => 'unconditionally delete orders',
@@ -318,45 +247,15 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_order',
   );
 
-  // Exported permission: 'view own invoices'.
-  $permissions['view own invoices'] = array(
-    'name' => 'view own invoices',
-    'roles' => array(
-      'Adhérent' => 'Adhérent',
-      'Contact opérationnel' => 'Contact opérationnel',
-      'Premium' => 'Premium',
-      'Student' => 'Student',
-      'Unverified' => 'Unverified',
-      'Utilisateur' => 'Utilisateur',
-      'administrator' => 'administrator',
-      'root' => 'root',
-    ),
-    'module' => 'uc_order',
-  );
-
   // Exported permission: 'view own orders'.
   $permissions['view own orders'] = array(
     'name' => 'view own orders',
     'roles' => array(
-      'Adhérent' => 'Adhérent',
-      'Contact opérationnel' => 'Contact opérationnel',
-      'Premium' => 'Premium',
-      'Student' => 'Student',
-      'Unverified' => 'Unverified',
-      'Utilisateur' => 'Utilisateur',
-      'administrator' => 'administrator',
       'root' => 'root',
     ),
     'module' => 'uc_order',
   );
 
-  // Exported permission: 'view payments'.
-  $permissions['view payments'] = array(
-    'name' => 'view payments',
-    'roles' => array(),
-    'module' => 'uc_payment',
-  );
-
   // Exported permission: 'view reports'.
   $permissions['view reports'] = array(
     'name' => 'view reports',
@@ -367,5 +266,15 @@ function materio_subscriptions_user_default_permissions() {
     'module' => 'uc_store',
   );
 
+  // Exported permission: 'view store coupons'.
+  $permissions['view store coupons'] = array(
+    'name' => 'view store coupons',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'uc_coupon',
+  );
+
   return $permissions;
 }

+ 0 - 0
materio_subscriptions/materio_subscriptions.features.user_role.inc


+ 4 - 30
materio_subscriptions/materio_subscriptions.info

@@ -5,25 +5,19 @@ dependencies[] = ctools
 dependencies[] = features
 dependencies[] = i18n_taxonomy
 dependencies[] = image
-dependencies[] = materio_admin
-dependencies[] = materio_page_title
 dependencies[] = node
 dependencies[] = options
-dependencies[] = override_node_options
 dependencies[] = strongarm
 dependencies[] = taxonomy
 dependencies[] = text
 dependencies[] = uc_attribute
-dependencies[] = uc_cart
 dependencies[] = uc_cart_links
+dependencies[] = uc_coupon
 dependencies[] = uc_credit
 dependencies[] = uc_order
-dependencies[] = uc_payment
 dependencies[] = uc_product
 dependencies[] = uc_store
-dependencies[] = views
 features[ctools][] = strongarm:strongarm:1
-features[ctools][] = views:views_default:3.0
 features[features_api][] = api:2
 features[field_base][] = body
 features[field_base][] = synonyms_synonym
@@ -37,7 +31,6 @@ features[field_instance][] = taxonomy_term-catalog-synonyms_synonym
 features[field_instance][] = taxonomy_term-catalog-uc_catalog_image
 features[taxonomy][] = catalog
 features[uc_product_classes][] = product
-features[user_permission][] = access default UC roles expiration list
 features[user_permission][] = administer attributes
 features[user_permission][] = administer cart links
 features[user_permission][] = administer credit cards
@@ -54,36 +47,22 @@ features[user_permission][] = create product content
 features[user_permission][] = delete any product content
 features[user_permission][] = delete orders
 features[user_permission][] = delete own product content
-features[user_permission][] = delete payments
 features[user_permission][] = edit any product content
 features[user_permission][] = edit orders
 features[user_permission][] = edit own product content
-features[user_permission][] = enter product revision log entry
-features[user_permission][] = manual payments
-features[user_permission][] = override product authored by option
-features[user_permission][] = override product authored on option
-features[user_permission][] = override product promote to front page option
-features[user_permission][] = override product published option
-features[user_permission][] = override product revision option
-features[user_permission][] = override product sticky option
+features[user_permission][] = manage store coupons
 features[user_permission][] = process credit cards
-features[user_permission][] = show product title
 features[user_permission][] = unconditionally delete orders
 features[user_permission][] = view all orders
 features[user_permission][] = view cart links report
 features[user_permission][] = view cc details
 features[user_permission][] = view customers
-features[user_permission][] = view own invoices
 features[user_permission][] = view own orders
-features[user_permission][] = view payments
 features[user_permission][] = view reports
+features[user_permission][] = view store coupons
 features[user_role][] = Adhérent
 features[user_role][] = Premium
 features[user_role][] = Utilisateur
-features[variable][] = cart-settings__active_tab
-features[variable][] = date_format_uc_store
-features[variable][] = field_bundle_settings_node__product
-features[variable][] = pathauto_node_product_pattern
 features[variable][] = uc_add_item_redirect
 features[variable][] = uc_address_fields
 features[variable][] = uc_address_fields_required
@@ -108,10 +87,8 @@ features[variable][] = uc_cart_auth_unit
 features[variable][] = uc_cart_breadcrumb_text
 features[variable][] = uc_cart_breadcrumb_url
 features[variable][] = uc_cart_checkout_complete_page
-features[variable][] = uc_cart_default_same_address
 features[variable][] = uc_cart_delivery_not_shippable
 features[variable][] = uc_cart_email_validation
-features[variable][] = uc_cart_empty_button
 features[variable][] = uc_cart_mail_existing
 features[variable][] = uc_cart_new_account_details
 features[variable][] = uc_cart_new_account_name
@@ -121,7 +98,6 @@ features[variable][] = uc_checkout_enabled
 features[variable][] = uc_checkout_instructions
 features[variable][] = uc_checkout_review_instructions
 features[variable][] = uc_collapse_current_pane
-features[variable][] = uc_continue_shopping_text
 features[variable][] = uc_continue_shopping_type
 features[variable][] = uc_continue_shopping_url
 features[variable][] = uc_continue_shopping_use_last_url
@@ -207,9 +183,6 @@ features[variable][] = uc_reports_table_size
 features[variable][] = uc_roles_default_by_quantity
 features[variable][] = uc_roles_default_end_expiration
 features[variable][] = uc_roles_default_end_time
-features[variable][] = uc_roles_default_expiration_header
-features[variable][] = uc_roles_default_expiration_message
-features[variable][] = uc_roles_default_expiration_title
 features[variable][] = uc_roles_default_granularity
 features[variable][] = uc_roles_default_length
 features[variable][] = uc_roles_default_role
@@ -242,3 +215,4 @@ features[variable][] = uc_weight_format_kg
 features[variable][] = uc_weight_format_lb
 features[variable][] = uc_weight_format_oz
 features[variable][] = uc_weight_unit
+project path = sites/all/modules/features

+ 0 - 0
materio_subscriptions/materio_subscriptions.module


+ 28 - 139
materio_subscriptions/materio_subscriptions.strongarm.inc

@@ -10,75 +10,6 @@
 function materio_subscriptions_strongarm() {
   $export = array();
 
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'cart-settings__active_tab';
-  $strongarm->value = 'edit-breadcrumb';
-  $export['cart-settings__active_tab'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'date_format_uc_store';
-  $strongarm->value = 'm/d/Y';
-  $export['date_format_uc_store'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'field_bundle_settings_node__product';
-  $strongarm->value = array(
-    'view_modes' => array(
-      'teaser' => array(
-        'custom_settings' => TRUE,
-      ),
-    ),
-    'extra_fields' => array(
-      'form' => array(),
-      'display' => array(
-        'model' => array(
-          'teaser' => array(
-            'weight' => 0,
-            'visible' => FALSE,
-          ),
-        ),
-        'list_price' => array(
-          'teaser' => array(
-            'weight' => 0,
-            'visible' => FALSE,
-          ),
-        ),
-        'cost' => array(
-          'teaser' => array(
-            'weight' => 0,
-            'visible' => FALSE,
-          ),
-        ),
-        'weight' => array(
-          'teaser' => array(
-            'weight' => 0,
-            'visible' => FALSE,
-          ),
-        ),
-        'dimensions' => array(
-          'teaser' => array(
-            'weight' => 0,
-            'visible' => FALSE,
-          ),
-        ),
-      ),
-    ),
-  );
-  $export['field_bundle_settings_node__product'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'pathauto_node_product_pattern';
-  $strongarm->value = '';
-  $export['pathauto_node_product_pattern'] = $strongarm;
-
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -146,11 +77,11 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_address_format_250';
-  $strongarm->value = '!company
-!first_name !last_name
-!street1
-!street2
-!postal_code !city
+  $strongarm->value = '!company
+!first_name !last_name
+!street1
+!street2
+!postal_code !city
 !country_name_if';
   $export['uc_address_format_250'] = $strongarm;
 
@@ -226,7 +157,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -292,13 +223,6 @@ function materio_subscriptions_strongarm() {
   $strongarm->value = '';
   $export['uc_cart_checkout_complete_page'] = $strongarm;
 
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_cart_default_same_address';
-  $strongarm->value = 0;
-  $export['uc_cart_default_same_address'] = $strongarm;
-
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -313,13 +237,6 @@ function materio_subscriptions_strongarm() {
   $strongarm->value = 1;
   $export['uc_cart_email_validation'] = $strongarm;
 
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_cart_empty_button';
-  $strongarm->value = 0;
-  $export['uc_cart_empty_button'] = $strongarm;
-
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -352,7 +269,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_checkout_anonymous';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_checkout_anonymous'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -383,13 +300,6 @@ function materio_subscriptions_strongarm() {
   $strongarm->value = 0;
   $export['uc_collapse_current_pane'] = $strongarm;
 
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_continue_shopping_text';
-  $strongarm->value = '';
-  $export['uc_continue_shopping_text'] = $strongarm;
-
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
@@ -415,7 +325,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_coupon_collapse_pane';
-  $strongarm->value = 1;
+  $strongarm->value = 0;
   $export['uc_coupon_collapse_pane'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -429,9 +339,9 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit_accepted_types';
-  $strongarm->value = 'Visa
-Mastercard
-Discover
+  $strongarm->value = 'Visa
+Mastercard
+Discover
 American Express';
   $export['uc_credit_accepted_types'] = $strongarm;
 
@@ -460,14 +370,14 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit_discover';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_credit_discover'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit_encryption_path';
-  $strongarm->value = '/home/bachir/Sites/materio/creditcards_encryptkeys';
+  $strongarm->value = '/Users/bachir/Sites/materio/encrypt';
   $export['uc_credit_encryption_path'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -481,7 +391,7 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit_issue_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_credit_issue_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -509,7 +419,7 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit_start_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_credit_start_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -537,7 +447,7 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_credit__active_tab';
-  $strongarm->value = 'edit-cc-fields';
+  $strongarm->value = 'edit-test-gateway';
   $export['uc_credit__active_tab'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -719,8 +629,8 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_existing_user';
-  $strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
-
+  $strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
+
 <a href="/fr/user">Login</a> to view your current order status and order history. Remember to login when you make your next purchase for a faster checkout experience!';
   $export['uc_msg_order_existing_user'] = $strongarm;
 
@@ -735,11 +645,11 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_new_user';
-  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
-
-<a href="/fr/user">Login</a> to your new account using the following information:
-
-<strong>Username:</strong> !new_username
+  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
+
+<a href="/fr/user">Login</a> to your new account using the following information:
+
+<strong>Username:</strong> !new_username
 <strong>Password:</strong> !new_password';
   $export['uc_msg_order_new_user'] = $strongarm;
 
@@ -747,10 +657,10 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_new_user_logged_in';
-  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
-
-Your password and further instructions have been sent to your e-mail address.
-
+  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
+
+Your password and further instructions have been sent to your e-mail address.
+
 For your convenience, you are already logged in with your newly created account.';
   $export['uc_msg_order_new_user_logged_in'] = $strongarm;
 
@@ -905,7 +815,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1011,27 +921,6 @@ For your convenience, you are already logged in with your newly created account.
   );
   $export['uc_roles_default_end_time'] = $strongarm;
 
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_roles_default_expiration_header';
-  $strongarm->value = 'Expiring roles';
-  $export['uc_roles_default_expiration_header'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_roles_default_expiration_message';
-  $strongarm->value = 'This role will expire on !date';
-  $export['uc_roles_default_expiration_message'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'uc_roles_default_expiration_title';
-  $strongarm->value = '!role_name';
-  $export['uc_roles_default_expiration_title'] = $strongarm;
-
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;

+ 0 - 0
materio_user_profiles/materio_user_profiles.features.field.inc


+ 51 - 2
materio_user_profiles/materio_user_profiles.features.field_base.inc

@@ -98,6 +98,55 @@ function materio_user_profiles_field_default_field_bases() {
     'type' => 'addressfield',
   );
 
+  // Exported field_base: 'field_company'
+  $field_bases['field_company'] = array(
+    'active' => 1,
+    'cardinality' => 1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_company',
+    'field_permissions' => array(
+      'type' => 2,
+    ),
+    'foreign keys' => array(
+      'tid' => array(
+        'columns' => array(
+          'tid' => 'tid',
+        ),
+        'table' => 'taxonomy_term_data',
+      ),
+    ),
+    'indexes' => array(
+      'tid' => array(
+        0 => 'tid',
+      ),
+    ),
+    'locked' => 0,
+    'module' => 'taxonomy',
+    'settings' => array(
+      'allowed_values' => array(
+        0 => array(
+          'vocabulary' => 'company',
+          'parent' => 0,
+        ),
+      ),
+      'entity_translation_sync' => FALSE,
+      'options_list_callback' => 'i18n_taxonomy_allowed_values',
+      'profile2_private' => FALSE,
+      'user_role_field' => array(
+        1 => 0,
+        2 => 0,
+        3 => 0,
+        4 => 0,
+        5 => 5,
+        6 => 0,
+        7 => 0,
+      ),
+    ),
+    'translatable' => 0,
+    'type' => 'taxonomy_term_reference',
+  );
+
   // Exported field_base: 'field_employee'
   $field_bases['field_employee'] = array(
     'active' => 1,
@@ -654,7 +703,7 @@ function materio_user_profiles_field_default_field_bases() {
     'entity_types' => array(),
     'field_name' => 'field_vat_number_intra_ce',
     'field_permissions' => array(
-      'type' => 1,
+      'type' => 0,
     ),
     'foreign keys' => array(
       'format' => array(
@@ -673,7 +722,7 @@ function materio_user_profiles_field_default_field_bases() {
     'module' => 'text',
     'settings' => array(
       'entity_translation_sync' => FALSE,
-      'max_length' => 20,
+      'max_length' => 255,
       'profile2_private' => 0,
     ),
     'translatable' => 0,

+ 86 - 14
materio_user_profiles/materio_user_profiles.features.field_instance.inc

@@ -41,7 +41,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 6,
+      'weight' => 4,
     ),
   );
 
@@ -57,7 +57,7 @@ function materio_user_profiles_field_default_field_instances() {
         'module' => 'email',
         'settings' => array(),
         'type' => 'email_default',
-        'weight' => 14,
+        'weight' => 15,
       ),
     ),
     'entity_type' => 'profile2',
@@ -75,7 +75,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'email_textfield',
-      'weight' => 13,
+      'weight' => 11,
     ),
   );
 
@@ -130,7 +130,7 @@ function materio_user_profiles_field_default_field_instances() {
         ),
       ),
       'type' => 'addressfield_standard',
-      'weight' => 16,
+      'weight' => 14,
     ),
   );
 
@@ -171,7 +171,7 @@ function materio_user_profiles_field_default_field_instances() {
       'module' => 'number',
       'settings' => array(),
       'type' => 'number',
-      'weight' => 9,
+      'weight' => 7,
     ),
   );
 
@@ -241,7 +241,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 10,
+      'weight' => 8,
     ),
   );
 
@@ -311,7 +311,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 5,
+      'weight' => 3,
     ),
   );
 
@@ -620,7 +620,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 15,
       ),
       'type' => 'phone_number',
-      'weight' => 15,
+      'weight' => 13,
     ),
   );
 
@@ -655,7 +655,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 7,
+      'weight' => 5,
     ),
   );
 
@@ -690,7 +690,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 8,
+      'weight' => 6,
     ),
   );
 
@@ -725,7 +725,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 11,
+      'weight' => 9,
     ),
   );
 
@@ -774,7 +774,7 @@ function materio_user_profiles_field_default_field_instances() {
       'module' => 'link',
       'settings' => array(),
       'type' => 'link_field',
-      'weight' => 14,
+      'weight' => 12,
     ),
   );
 
@@ -790,7 +790,7 @@ function materio_user_profiles_field_default_field_instances() {
         'module' => 'text',
         'settings' => array(),
         'type' => 'text_default',
-        'weight' => 15,
+        'weight' => 14,
       ),
     ),
     'entity_type' => 'profile2',
@@ -809,7 +809,7 @@ function materio_user_profiles_field_default_field_instances() {
         'size' => 60,
       ),
       'type' => 'text_textfield',
-      'weight' => 12,
+      'weight' => 10,
     ),
   );
 
@@ -1261,11 +1261,83 @@ function materio_user_profiles_field_default_field_instances() {
     ),
   );
 
+  // Exported field_instance: 'user-user-field_company'
+  $field_instances['user-user-field_company'] = array(
+    'bundle' => 'user',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'i18n_taxonomy',
+        'settings' => array(),
+        'type' => 'i18n_taxonomy_term_reference_link',
+        'weight' => 1,
+      ),
+    ),
+    'entity_type' => 'user',
+    'field_name' => 'field_company',
+    'label' => 'Company',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'user_register_form' => 1,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'autocomplete_deluxe',
+      'settings' => array(
+        'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
+        'content_taxonomy_autocomplete_new_terms' => 'deny',
+        'size' => 60,
+      ),
+      'type' => 'autocomplete_deluxe_taxonomy',
+      'weight' => 2,
+    ),
+  );
+
+  // Exported field_instance: 'user-user-field_memo'
+  $field_instances['user-user-field_memo'] = array(
+    'bundle' => 'user',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'default' => array(
+        'label' => 'above',
+        'module' => 'text',
+        'settings' => array(),
+        'type' => 'text_default',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'user',
+    'field_name' => 'field_memo',
+    'label' => 'Mémo',
+    'required' => 0,
+    'settings' => array(
+      'entity_translation_sync' => FALSE,
+      'text_processing' => 0,
+      'user_register_form' => 0,
+    ),
+    'widget' => array(
+      'active' => 1,
+      'module' => 'text',
+      'settings' => array(
+        'rows' => 10,
+      ),
+      'type' => 'text_textarea',
+      'weight' => 7,
+    ),
+  );
+
   // Translatables
   // Included for use with string extractors like potx.
   t('Activity sector');
   t('Administrative email');
   t('Adresse');
+  t('Company');
   t('Email');
   t('Employee');
   t('First name');

+ 0 - 9
materio_user_profiles/materio_user_profiles.features.inc

@@ -4,15 +4,6 @@
  * materio_user_profiles.features.inc
  */
 
-/**
- * Implements hook_ctools_plugin_api().
- */
-function materio_user_profiles_ctools_plugin_api($module = NULL, $api = NULL) {
-  if ($module == "strongarm" && $api == "strongarm") {
-    return array("version" => "1");
-  }
-}
-
 /**
  * Implements hook_default_profile2_type().
  */

+ 12 - 3
materio_user_profiles/materio_user_profiles.features.user_permission.inc

@@ -331,8 +331,6 @@ function materio_user_profiles_user_default_permissions() {
       'Adhérent' => 'Adhérent',
       'Premium' => 'Premium',
       'Student' => 'Student',
-      'Unverified' => 'Unverified',
-      'Utilisateur' => 'Utilisateur',
     ),
     'module' => 'profile2',
   );
@@ -523,6 +521,9 @@ function materio_user_profiles_user_default_permissions() {
   $permissions['view field_adresse'] = array(
     'name' => 'view field_adresse',
     'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
       'administrator' => 'administrator',
       'root' => 'root',
     ),
@@ -593,6 +594,10 @@ function materio_user_profiles_user_default_permissions() {
   $permissions['view field_private_phone'] = array(
     'name' => 'view field_private_phone',
     'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
       'administrator' => 'administrator',
       'root' => 'root',
     ),
@@ -633,6 +638,9 @@ function materio_user_profiles_user_default_permissions() {
   $permissions['view field_user_website'] = array(
     'name' => 'view field_user_website',
     'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
       'administrator' => 'administrator',
       'root' => 'root',
     ),
@@ -646,7 +654,6 @@ function materio_user_profiles_user_default_permissions() {
       'Adhérent' => 'Adhérent',
       'Premium' => 'Premium',
       'Student' => 'Student',
-      'Utilisateur' => 'Utilisateur',
     ),
     'module' => 'profile2',
   );
@@ -668,6 +675,7 @@ function materio_user_profiles_user_default_permissions() {
       'Contact opérationnel' => 'Contact opérationnel',
       'Premium' => 'Premium',
       'Student' => 'Student',
+      'administrator' => 'administrator',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -809,6 +817,7 @@ function materio_user_profiles_user_default_permissions() {
       'Contact opérationnel' => 'Contact opérationnel',
       'Premium' => 'Premium',
       'Student' => 'Student',
+      'administrator' => 'administrator',
       'root' => 'root',
     ),
     'module' => 'field_permissions',

+ 4 - 8
materio_user_profiles/materio_user_profiles.info

@@ -4,7 +4,6 @@ package = Materio
 dependencies[] = addressfield
 dependencies[] = autocomplete_deluxe
 dependencies[] = cck_phone
-dependencies[] = ctools
 dependencies[] = email
 dependencies[] = entity
 dependencies[] = features
@@ -16,14 +15,13 @@ dependencies[] = materio_content_types
 dependencies[] = number
 dependencies[] = options
 dependencies[] = profile2
-dependencies[] = strongarm
 dependencies[] = taxonomy
 dependencies[] = text
-features[ctools][] = strongarm:strongarm:1
 features[features_api][] = api:2
 features[field_base][] = field_activity_sector
 features[field_base][] = field_administrative_email
 features[field_base][] = field_adresse
+features[field_base][] = field_company
 features[field_base][] = field_employee
 features[field_base][] = field_first_name
 features[field_base][] = field_memo
@@ -60,6 +58,8 @@ features[field_instance][] = profile2-contact_operationnel-field_private_name
 features[field_instance][] = profile2-contact_operationnel-field_private_name_title
 features[field_instance][] = profile2-contact_operationnel-field_private_phone
 features[field_instance][] = profile2-contact_operationnel-field_private_quality
+features[field_instance][] = user-user-field_company
+features[field_instance][] = user-user-field_memo
 features[profile2_type][] = adherent
 features[profile2_type][] = contact_operationnel
 features[user_permission][] = administer profile types
@@ -132,8 +132,4 @@ features[user_permission][] = view own field_private_quality
 features[user_permission][] = view own field_service
 features[user_permission][] = view own field_siret
 features[user_permission][] = view own field_user_website
-features[variable][] = field_bundle_settings_profile2__adherent
-features[variable][] = field_bundle_settings_profile2__contact_operationnel
-features_exclude[field_base][field_company] = field_company
-features_exclude[field_instance][user-user-field_company] = user-user-field_company
-features_exclude[field_instance][user-user-field_memo] = user-user-field_memo
+project path = sites/all/modules/features

+ 0 - 0
materio_user_profiles/materio_user_profiles.module


+ 0 - 44
materio_user_profiles/materio_user_profiles.strongarm.inc

@@ -1,44 +0,0 @@
-<?php
-/**
- * @file
- * materio_user_profiles.strongarm.inc
- */
-
-/**
- * Implements hook_strongarm().
- */
-function materio_user_profiles_strongarm() {
-  $export = array();
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'field_bundle_settings_profile2__adherent';
-  $strongarm->value = array(
-    'view_modes' => array(),
-    'extra_fields' => array(
-      'form' => array(
-        'redirect' => array(
-          'weight' => '14',
-        ),
-      ),
-      'display' => array(),
-    ),
-  );
-  $export['field_bundle_settings_profile2__adherent'] = $strongarm;
-
-  $strongarm = new stdClass();
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
-  $strongarm->api_version = 1;
-  $strongarm->name = 'field_bundle_settings_profile2__contact_operationnel';
-  $strongarm->value = array(
-    'view_modes' => array(),
-    'extra_fields' => array(
-      'form' => array(),
-      'display' => array(),
-    ),
-  );
-  $export['field_bundle_settings_profile2__contact_operationnel'] = $strongarm;
-
-  return $export;
-}

Some files were not shown because too many files changed in this diff