updated/sunc feautures betxeen local and online

This commit is contained in:
Bachir Soussi Chiadmi 2014-07-11 18:32:59 +02:00
parent 5cde537e0a
commit 41e7f80383
41 changed files with 6561 additions and 1187 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,7 +16,7 @@ function materio_administration_menu_default_menu_custom() {
'title' => 'Navigation', '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.', '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', 'language' => 'und',
'i18n_mode' => '0', 'i18n_mode' => 0,
); );
// Translatables // Translatables
// Included for use with string extractors like potx. // Included for use with string extractors like potx.

View File

@ -1,54 +1,17 @@
name = Materio Administration name = Materio Administration
core = 7.x core = 7.x
package = Materio package = Materio
php = 5.2.4
dependencies[] = ctools
dependencies[] = features dependencies[] = features
dependencies[] = menu dependencies[] = menu
dependencies[] = strongarm dependencies[] = strongarm
dependencies[] = views
dependencies[] = views_bulk_operations dependencies[] = views_bulk_operations
dependencies[] = workflow dependencies[] = views_data_export
dependencies[] = workflow_actions dependencies[] = workflow_actions
dependencies[] = workflow_views dependencies[] = workflow_views
features[ctools][] = strongarm:strongarm:1 features[ctools][] = strongarm:strongarm:1
features[ctools][] = views:views_default:3.0 features[ctools][] = views:views_default:3.0
features[features_api][] = api:1 features[features_api][] = api:2
features[menu_custom][] = navigation 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_cache_menu
features[variable][] = editmenu_css_error features[variable][] = editmenu_css_error
features[variable][] = editmenu_css_filename features[variable][] = editmenu_css_filename
@ -74,3 +37,5 @@ features[views_view][] = admin_content_node
features[views_view][] = admin_contents features[views_view][] = admin_contents
features[views_view][] = admin_peoples features[views_view][] = admin_peoples
features[views_view][] = taxonomy_companies_manager features[views_view][] = taxonomy_companies_manager
features_exclude[dependencies][views] = views
project path = sites/all/modules/features

View File

@ -13,7 +13,7 @@ function materio_bookmarks_flag_default_flags() {
$flags['bookmarks'] = array( $flags['bookmarks'] = array(
'entity_type' => 'node', 'entity_type' => 'node',
'title' => 'Bookmarks', 'title' => 'Bookmarks',
'global' => '0', 'global' => 0,
'types' => array( 'types' => array(
0 => 'breve', 0 => 'breve',
1 => 'materiau', 1 => 'materiau',
@ -27,11 +27,26 @@ function materio_bookmarks_flag_default_flags() {
'unflag_denied_text' => '', 'unflag_denied_text' => '',
'link_type' => 'toggle', 'link_type' => 'toggle',
'weight' => 0, '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, 'show_on_form' => 0,
'access_author' => '', 'access_author' => '',
'show_contextual_link' => FALSE, 'show_contextual_link' => FALSE,
'show_on_page' => 1,
'show_on_teaser' => 0,
'i18n' => 0, 'i18n' => 0,
'module' => 'materio_bookmarks', 'module' => 'materio_bookmarks',
'locked' => array( 'locked' => array(
@ -63,12 +78,13 @@ function materio_bookmarks_image_default_styles() {
'module' => 'image', 'module' => 'image',
'name' => 'image_scale_and_crop', 'name' => 'image_scale_and_crop',
'data' => array( 'data' => array(
'width' => '50', 'width' => 50,
'height' => '70', 'height' => 70,
), ),
'weight' => '1', 'weight' => 1,
), ),
), ),
'label' => 'card-bookmark',
); );
return $styles; return $styles;

View File

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

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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

View File

@ -165,6 +165,27 @@ function materio_content_types_strongarm() {
'search_result' => array( 'search_result' => array(
'custom_settings' => FALSE, '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( 'extra_fields' => array(
'form' => array( 'form' => array(
@ -180,6 +201,12 @@ function materio_content_types_strongarm() {
'workflow' => array( 'workflow' => array(
'weight' => '5', 'weight' => '5',
), ),
'metatags' => array(
'weight' => '40',
),
'redirect' => array(
'weight' => '30',
),
), ),
'display' => array( 'display' => array(
'language' => array( 'language' => array(
@ -208,6 +235,18 @@ function materio_content_types_strongarm() {
'visible' => FALSE, 'visible' => FALSE,
), ),
), ),
'workflow_current_state' => array(
'cardmedium' => array(
'weight' => '-99',
'visible' => TRUE,
),
),
'workflow' => array(
'cardmedium' => array(
'weight' => '99',
'visible' => TRUE,
),
),
), ),
), ),
); );

View File

@ -23,6 +23,7 @@ function materio_content_types_views_default_views() {
/* Display: Master */ /* Display: Master */
$handler = $view->new_display('default', 'Master', 'default'); $handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['use_more_always'] = FALSE; $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']['type'] = 'role';
$handler->display->display_options['access']['role'] = array( $handler->display->display_options['access']['role'] = array(
3 => '3', 3 => '3',
@ -31,7 +32,17 @@ function materio_content_types_views_default_views() {
$handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic'; $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']['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['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['inline'] = array( $handler->display->display_options['row_options']['inline'] = array(
@ -39,7 +50,7 @@ function materio_content_types_views_default_views() {
'title' => 'title', 'title' => 'title',
); );
$handler->display->display_options['row_options']['hide_empty'] = TRUE; $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']['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']['table'] = 'field_data_field_reference_materio';
$handler->display->display_options['fields']['field_reference_materio']['field'] = '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']['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']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE; $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']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title'; $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']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['link_to_node'] = 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']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node'; $handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created'; $handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC'; $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']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node'; $handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1; $handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1; $handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; $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']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node'; $handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type'; $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; $handler->display->display_options['defaults']['row_options'] = FALSE;
$translatables['entity_reference_materiaux_breves'] = array( $translatables['entity_reference_materiaux_breves'] = array(
t('Master'), t('Master'),
t('more'), t('plus'),
t('Apply'), t('Appliquer'),
t('Reset'), t('Réinitialiser'),
t('Sort by'), t('Trier par'),
t('Asc'), t('Asc'),
t('Desc'), t('Desc'),
t('Items per page'), t('Éléments par page'),
t('- All -'), t('- Tout -'),
t('Offset'), t('Décalage'),
t( first'), t( premier'),
t(' previous'), t(' précédent'),
t('next '), t('suivant '),
t('last »'), t('dernier »'),
t('[field_reference_materio] '), t('[field_reference_materio] '),
t('[field_reference_materio][title]'), t('[field_reference_materio][title]'),
t('Entity Reference'), t('Entity Reference'),

View File

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

View File

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

View File

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

View File

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

View File

View File

@ -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(). * Implements hook_uc_product_default_classes().
*/ */
function materio_subscriptions_uc_product_default_classes() { function materio_subscriptions_uc_product_default_classes() {
$items = array( $items = array(
'product' => array( 'product' => array(
'name' => t('Product'), 'name' => t('Produit'),
'base' => 'uc_product', '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', 'has_title' => '1',
'title_label' => t('Name'), 'title_label' => t('Nom'),
'help' => '', 'help' => '',
), ),
); );

View File

View File

@ -10,15 +10,6 @@
function materio_subscriptions_user_default_permissions() { function materio_subscriptions_user_default_permissions() {
$permissions = array(); $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'. // Exported permission: 'administer attributes'.
$permissions['administer attributes'] = array( $permissions['administer attributes'] = array(
'name' => 'administer attributes', 'name' => 'administer attributes',
@ -163,13 +154,6 @@ function materio_subscriptions_user_default_permissions() {
'module' => 'node', 'module' => 'node',
); );
// Exported permission: 'delete payments'.
$permissions['delete payments'] = array(
'name' => 'delete payments',
'roles' => array(),
'module' => 'uc_payment',
);
// Exported permission: 'edit any product content'. // Exported permission: 'edit any product content'.
$permissions['edit any product content'] = array( $permissions['edit any product content'] = array(
'name' => 'edit any product content', 'name' => 'edit any product content',
@ -197,60 +181,14 @@ function materio_subscriptions_user_default_permissions() {
'module' => 'node', 'module' => 'node',
); );
// Exported permission: 'enter product revision log entry'. // Exported permission: 'manage store coupons'.
$permissions['enter product revision log entry'] = array( $permissions['manage store coupons'] = array(
'name' => 'enter product revision log entry', 'name' => 'manage store coupons',
'roles' => array(), 'roles' => array(
'module' => 'override_node_options', 'administrator' => 'administrator',
); 'root' => 'root',
),
// Exported permission: 'manual payments'. 'module' => 'uc_coupon',
$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: 'process credit cards'. // Exported permission: 'process credit cards'.
@ -262,15 +200,6 @@ function materio_subscriptions_user_default_permissions() {
'module' => 'uc_credit', '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'. // Exported permission: 'unconditionally delete orders'.
$permissions['unconditionally delete orders'] = array( $permissions['unconditionally delete orders'] = array(
'name' => 'unconditionally delete orders', 'name' => 'unconditionally delete orders',
@ -318,45 +247,15 @@ function materio_subscriptions_user_default_permissions() {
'module' => 'uc_order', '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'. // Exported permission: 'view own orders'.
$permissions['view own orders'] = array( $permissions['view own orders'] = array(
'name' => 'view own orders', 'name' => 'view own orders',
'roles' => array( 'roles' => array(
'Adhérent' => 'Adhérent',
'Contact opérationnel' => 'Contact opérationnel',
'Premium' => 'Premium',
'Student' => 'Student',
'Unverified' => 'Unverified',
'Utilisateur' => 'Utilisateur',
'administrator' => 'administrator',
'root' => 'root', 'root' => 'root',
), ),
'module' => 'uc_order', 'module' => 'uc_order',
); );
// Exported permission: 'view payments'.
$permissions['view payments'] = array(
'name' => 'view payments',
'roles' => array(),
'module' => 'uc_payment',
);
// Exported permission: 'view reports'. // Exported permission: 'view reports'.
$permissions['view reports'] = array( $permissions['view reports'] = array(
'name' => 'view reports', 'name' => 'view reports',
@ -367,5 +266,15 @@ function materio_subscriptions_user_default_permissions() {
'module' => 'uc_store', '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; return $permissions;
} }

View File

34
materio_subscriptions/materio_subscriptions.info Executable file → Normal file
View File

@ -5,25 +5,19 @@ dependencies[] = ctools
dependencies[] = features dependencies[] = features
dependencies[] = i18n_taxonomy dependencies[] = i18n_taxonomy
dependencies[] = image dependencies[] = image
dependencies[] = materio_admin
dependencies[] = materio_page_title
dependencies[] = node dependencies[] = node
dependencies[] = options dependencies[] = options
dependencies[] = override_node_options
dependencies[] = strongarm dependencies[] = strongarm
dependencies[] = taxonomy dependencies[] = taxonomy
dependencies[] = text dependencies[] = text
dependencies[] = uc_attribute dependencies[] = uc_attribute
dependencies[] = uc_cart
dependencies[] = uc_cart_links dependencies[] = uc_cart_links
dependencies[] = uc_coupon
dependencies[] = uc_credit dependencies[] = uc_credit
dependencies[] = uc_order dependencies[] = uc_order
dependencies[] = uc_payment
dependencies[] = uc_product dependencies[] = uc_product
dependencies[] = uc_store dependencies[] = uc_store
dependencies[] = views
features[ctools][] = strongarm:strongarm:1 features[ctools][] = strongarm:strongarm:1
features[ctools][] = views:views_default:3.0
features[features_api][] = api:2 features[features_api][] = api:2
features[field_base][] = body features[field_base][] = body
features[field_base][] = synonyms_synonym 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[field_instance][] = taxonomy_term-catalog-uc_catalog_image
features[taxonomy][] = catalog features[taxonomy][] = catalog
features[uc_product_classes][] = product features[uc_product_classes][] = product
features[user_permission][] = access default UC roles expiration list
features[user_permission][] = administer attributes features[user_permission][] = administer attributes
features[user_permission][] = administer cart links features[user_permission][] = administer cart links
features[user_permission][] = administer credit cards 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 any product content
features[user_permission][] = delete orders features[user_permission][] = delete orders
features[user_permission][] = delete own product content features[user_permission][] = delete own product content
features[user_permission][] = delete payments
features[user_permission][] = edit any product content features[user_permission][] = edit any product content
features[user_permission][] = edit orders features[user_permission][] = edit orders
features[user_permission][] = edit own product content features[user_permission][] = edit own product content
features[user_permission][] = enter product revision log entry features[user_permission][] = manage store coupons
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][] = process credit cards features[user_permission][] = process credit cards
features[user_permission][] = show product title
features[user_permission][] = unconditionally delete orders features[user_permission][] = unconditionally delete orders
features[user_permission][] = view all orders features[user_permission][] = view all orders
features[user_permission][] = view cart links report features[user_permission][] = view cart links report
features[user_permission][] = view cc details features[user_permission][] = view cc details
features[user_permission][] = view customers features[user_permission][] = view customers
features[user_permission][] = view own invoices
features[user_permission][] = view own orders features[user_permission][] = view own orders
features[user_permission][] = view payments
features[user_permission][] = view reports features[user_permission][] = view reports
features[user_permission][] = view store coupons
features[user_role][] = Adhérent features[user_role][] = Adhérent
features[user_role][] = Premium features[user_role][] = Premium
features[user_role][] = Utilisateur 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_add_item_redirect
features[variable][] = uc_address_fields features[variable][] = uc_address_fields
features[variable][] = uc_address_fields_required 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_text
features[variable][] = uc_cart_breadcrumb_url features[variable][] = uc_cart_breadcrumb_url
features[variable][] = uc_cart_checkout_complete_page 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_delivery_not_shippable
features[variable][] = uc_cart_email_validation features[variable][] = uc_cart_email_validation
features[variable][] = uc_cart_empty_button
features[variable][] = uc_cart_mail_existing features[variable][] = uc_cart_mail_existing
features[variable][] = uc_cart_new_account_details features[variable][] = uc_cart_new_account_details
features[variable][] = uc_cart_new_account_name 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_instructions
features[variable][] = uc_checkout_review_instructions features[variable][] = uc_checkout_review_instructions
features[variable][] = uc_collapse_current_pane features[variable][] = uc_collapse_current_pane
features[variable][] = uc_continue_shopping_text
features[variable][] = uc_continue_shopping_type features[variable][] = uc_continue_shopping_type
features[variable][] = uc_continue_shopping_url features[variable][] = uc_continue_shopping_url
features[variable][] = uc_continue_shopping_use_last_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_by_quantity
features[variable][] = uc_roles_default_end_expiration features[variable][] = uc_roles_default_end_expiration
features[variable][] = uc_roles_default_end_time 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_granularity
features[variable][] = uc_roles_default_length features[variable][] = uc_roles_default_length
features[variable][] = uc_roles_default_role 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_lb
features[variable][] = uc_weight_format_oz features[variable][] = uc_weight_format_oz
features[variable][] = uc_weight_unit features[variable][] = uc_weight_unit
project path = sites/all/modules/features

0
materio_subscriptions/materio_subscriptions.module Executable file → Normal file
View File

167
materio_subscriptions/materio_subscriptions.strongarm.inc Executable file → Normal file
View File

@ -10,75 +10,6 @@
function materio_subscriptions_strongarm() { function materio_subscriptions_strongarm() {
$export = array(); $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 = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_address_format_250'; $strongarm->name = 'uc_address_format_250';
$strongarm->value = '!company $strongarm->value = '!company
!first_name !last_name !first_name !last_name
!street1 !street1
!street2 !street2
!postal_code !city !postal_code !city
!country_name_if'; !country_name_if';
$export['uc_address_format_250'] = $strongarm; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled'; $strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm; $export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -292,13 +223,6 @@ function materio_subscriptions_strongarm() {
$strongarm->value = ''; $strongarm->value = '';
$export['uc_cart_checkout_complete_page'] = $strongarm; $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 = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
@ -313,13 +237,6 @@ function materio_subscriptions_strongarm() {
$strongarm->value = 1; $strongarm->value = 1;
$export['uc_cart_email_validation'] = $strongarm; $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 = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_checkout_anonymous'; $strongarm->name = 'uc_checkout_anonymous';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_checkout_anonymous'] = $strongarm; $export['uc_checkout_anonymous'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -383,13 +300,6 @@ function materio_subscriptions_strongarm() {
$strongarm->value = 0; $strongarm->value = 0;
$export['uc_collapse_current_pane'] = $strongarm; $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 = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_coupon_collapse_pane'; $strongarm->name = 'uc_coupon_collapse_pane';
$strongarm->value = 1; $strongarm->value = 0;
$export['uc_coupon_collapse_pane'] = $strongarm; $export['uc_coupon_collapse_pane'] = $strongarm;
$strongarm = new stdClass(); $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit_accepted_types'; $strongarm->name = 'uc_credit_accepted_types';
$strongarm->value = 'Visa $strongarm->value = 'Visa
Mastercard Mastercard
Discover Discover
American Express'; American Express';
$export['uc_credit_accepted_types'] = $strongarm; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit_discover'; $strongarm->name = 'uc_credit_discover';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_credit_discover'] = $strongarm; $export['uc_credit_discover'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit_encryption_path'; $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; $export['uc_credit_encryption_path'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -481,7 +391,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit_issue_enabled'; $strongarm->name = 'uc_credit_issue_enabled';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_credit_issue_enabled'] = $strongarm; $export['uc_credit_issue_enabled'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -509,7 +419,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit_start_enabled'; $strongarm->name = 'uc_credit_start_enabled';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_credit_start_enabled'] = $strongarm; $export['uc_credit_start_enabled'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -537,7 +447,7 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_credit__active_tab'; $strongarm->name = 'uc_credit__active_tab';
$strongarm->value = 'edit-cc-fields'; $strongarm->value = 'edit-test-gateway';
$export['uc_credit__active_tab'] = $strongarm; $export['uc_credit__active_tab'] = $strongarm;
$strongarm = new stdClass(); $strongarm = new stdClass();
@ -719,8 +629,8 @@ American Express';
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_existing_user'; $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!'; <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; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_new_user'; $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. $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: <a href="/fr/user">Login</a> to your new account using the following information:
<strong>Username:</strong> !new_username <strong>Username:</strong> !new_username
<strong>Password:</strong> !new_password'; <strong>Password:</strong> !new_password';
$export['uc_msg_order_new_user'] = $strongarm; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_msg_order_new_user_logged_in'; $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. $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. 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.'; For your convenience, you are already logged in with your newly created account.';
$export['uc_msg_order_new_user_logged_in'] = $strongarm; $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->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;
$strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled'; $strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled';
$strongarm->value = 0; $strongarm->value = 1;
$export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm; $export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm;
$strongarm = new stdClass(); $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; $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 = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1; $strongarm->api_version = 1;

View File

View File

@ -98,6 +98,55 @@ function materio_user_profiles_field_default_field_bases() {
'type' => 'addressfield', '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' // Exported field_base: 'field_employee'
$field_bases['field_employee'] = array( $field_bases['field_employee'] = array(
'active' => 1, 'active' => 1,
@ -654,7 +703,7 @@ function materio_user_profiles_field_default_field_bases() {
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_vat_number_intra_ce', 'field_name' => 'field_vat_number_intra_ce',
'field_permissions' => array( 'field_permissions' => array(
'type' => 1, 'type' => 0,
), ),
'foreign keys' => array( 'foreign keys' => array(
'format' => array( 'format' => array(
@ -673,7 +722,7 @@ function materio_user_profiles_field_default_field_bases() {
'module' => 'text', 'module' => 'text',
'settings' => array( 'settings' => array(
'entity_translation_sync' => FALSE, 'entity_translation_sync' => FALSE,
'max_length' => 20, 'max_length' => 255,
'profile2_private' => 0, 'profile2_private' => 0,
), ),
'translatable' => 0, 'translatable' => 0,

View File

@ -41,7 +41,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 6, 'weight' => 4,
), ),
); );
@ -57,7 +57,7 @@ function materio_user_profiles_field_default_field_instances() {
'module' => 'email', 'module' => 'email',
'settings' => array(), 'settings' => array(),
'type' => 'email_default', 'type' => 'email_default',
'weight' => 14, 'weight' => 15,
), ),
), ),
'entity_type' => 'profile2', 'entity_type' => 'profile2',
@ -75,7 +75,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'email_textfield', 'type' => 'email_textfield',
'weight' => 13, 'weight' => 11,
), ),
); );
@ -130,7 +130,7 @@ function materio_user_profiles_field_default_field_instances() {
), ),
), ),
'type' => 'addressfield_standard', 'type' => 'addressfield_standard',
'weight' => 16, 'weight' => 14,
), ),
); );
@ -171,7 +171,7 @@ function materio_user_profiles_field_default_field_instances() {
'module' => 'number', 'module' => 'number',
'settings' => array(), 'settings' => array(),
'type' => 'number', 'type' => 'number',
'weight' => 9, 'weight' => 7,
), ),
); );
@ -241,7 +241,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 10, 'weight' => 8,
), ),
); );
@ -311,7 +311,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 5, 'weight' => 3,
), ),
); );
@ -620,7 +620,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 15, 'size' => 15,
), ),
'type' => 'phone_number', 'type' => 'phone_number',
'weight' => 15, 'weight' => 13,
), ),
); );
@ -655,7 +655,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 7, 'weight' => 5,
), ),
); );
@ -690,7 +690,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 8, 'weight' => 6,
), ),
); );
@ -725,7 +725,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 11, 'weight' => 9,
), ),
); );
@ -774,7 +774,7 @@ function materio_user_profiles_field_default_field_instances() {
'module' => 'link', 'module' => 'link',
'settings' => array(), 'settings' => array(),
'type' => 'link_field', 'type' => 'link_field',
'weight' => 14, 'weight' => 12,
), ),
); );
@ -790,7 +790,7 @@ function materio_user_profiles_field_default_field_instances() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => 15, 'weight' => 14,
), ),
), ),
'entity_type' => 'profile2', 'entity_type' => 'profile2',
@ -809,7 +809,7 @@ function materio_user_profiles_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', '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 // Translatables
// Included for use with string extractors like potx. // Included for use with string extractors like potx.
t('Activity sector'); t('Activity sector');
t('Administrative email'); t('Administrative email');
t('Adresse'); t('Adresse');
t('Company');
t('Email'); t('Email');
t('Employee'); t('Employee');
t('First name'); t('First name');

View File

@ -4,15 +4,6 @@
* materio_user_profiles.features.inc * 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(). * Implements hook_default_profile2_type().
*/ */

View File

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

12
materio_user_profiles/materio_user_profiles.info Executable file → Normal file
View File

@ -4,7 +4,6 @@ package = Materio
dependencies[] = addressfield dependencies[] = addressfield
dependencies[] = autocomplete_deluxe dependencies[] = autocomplete_deluxe
dependencies[] = cck_phone dependencies[] = cck_phone
dependencies[] = ctools
dependencies[] = email dependencies[] = email
dependencies[] = entity dependencies[] = entity
dependencies[] = features dependencies[] = features
@ -16,14 +15,13 @@ dependencies[] = materio_content_types
dependencies[] = number dependencies[] = number
dependencies[] = options dependencies[] = options
dependencies[] = profile2 dependencies[] = profile2
dependencies[] = strongarm
dependencies[] = taxonomy dependencies[] = taxonomy
dependencies[] = text dependencies[] = text
features[ctools][] = strongarm:strongarm:1
features[features_api][] = api:2 features[features_api][] = api:2
features[field_base][] = field_activity_sector features[field_base][] = field_activity_sector
features[field_base][] = field_administrative_email features[field_base][] = field_administrative_email
features[field_base][] = field_adresse features[field_base][] = field_adresse
features[field_base][] = field_company
features[field_base][] = field_employee features[field_base][] = field_employee
features[field_base][] = field_first_name features[field_base][] = field_first_name
features[field_base][] = field_memo 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_name_title
features[field_instance][] = profile2-contact_operationnel-field_private_phone features[field_instance][] = profile2-contact_operationnel-field_private_phone
features[field_instance][] = profile2-contact_operationnel-field_private_quality 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][] = adherent
features[profile2_type][] = contact_operationnel features[profile2_type][] = contact_operationnel
features[user_permission][] = administer profile types 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_service
features[user_permission][] = view own field_siret features[user_permission][] = view own field_siret
features[user_permission][] = view own field_user_website features[user_permission][] = view own field_user_website
features[variable][] = field_bundle_settings_profile2__adherent project path = sites/all/modules/features
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

0
materio_user_profiles/materio_user_profiles.module Executable file → Normal file
View File

View File

@ -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;
}