commited features for showroom release
This commit is contained in:
@@ -22,3 +22,144 @@ function materio_administration_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
function materio_administration_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_workflow_default_workflows().
|
||||
*/
|
||||
function materio_administration_workflow_default_workflows() {
|
||||
$workflows = array();
|
||||
|
||||
// Exported workflow: Publication
|
||||
$workflows['Publication'] = array(
|
||||
'name' => 'Publication',
|
||||
'tab_roles' => '',
|
||||
'options' => 'a:4:{s:16:"comment_log_node";i:0;s:15:"comment_log_tab";i:0;s:13:"name_as_title";i:0;s:12:"watchdog_log";i:1;}',
|
||||
'states' => array(
|
||||
0 => array(
|
||||
'state' => '(creation)',
|
||||
'weight' => -50,
|
||||
'sysid' => 1,
|
||||
'status' => 1,
|
||||
'name' => 'Publication',
|
||||
),
|
||||
1 => array(
|
||||
'state' => 'Importé',
|
||||
'weight' => 0,
|
||||
'sysid' => 0,
|
||||
'status' => 1,
|
||||
'name' => 'Publication',
|
||||
),
|
||||
2 => array(
|
||||
'state' => 'Édité',
|
||||
'weight' => 1,
|
||||
'sysid' => 0,
|
||||
'status' => 1,
|
||||
'name' => 'Publication',
|
||||
),
|
||||
3 => array(
|
||||
'state' => 'Masqué',
|
||||
'weight' => 2,
|
||||
'sysid' => 0,
|
||||
'status' => 1,
|
||||
'name' => 'Publication',
|
||||
),
|
||||
4 => array(
|
||||
'state' => 'Publié',
|
||||
'weight' => 3,
|
||||
'sysid' => 0,
|
||||
'status' => 1,
|
||||
'name' => 'Publication',
|
||||
),
|
||||
),
|
||||
'transitions' => array(
|
||||
0 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => '(creation)',
|
||||
'target_state' => 'Masqué',
|
||||
),
|
||||
1 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => '(creation)',
|
||||
'target_state' => 'Publié',
|
||||
),
|
||||
2 => array(
|
||||
'roles' => 'root',
|
||||
'state' => '(creation)',
|
||||
'target_state' => 'Importé',
|
||||
),
|
||||
3 => array(
|
||||
'roles' => 'administrator,root',
|
||||
'state' => 'Importé',
|
||||
'target_state' => 'Édité',
|
||||
),
|
||||
4 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Importé',
|
||||
'target_state' => 'Masqué',
|
||||
),
|
||||
5 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Importé',
|
||||
'target_state' => 'Publié',
|
||||
),
|
||||
6 => array(
|
||||
'roles' => 'root',
|
||||
'state' => 'Édité',
|
||||
'target_state' => 'Importé',
|
||||
),
|
||||
7 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Édité',
|
||||
'target_state' => 'Masqué',
|
||||
),
|
||||
8 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Édité',
|
||||
'target_state' => 'Publié',
|
||||
),
|
||||
9 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Masqué',
|
||||
'target_state' => 'Publié',
|
||||
),
|
||||
10 => array(
|
||||
'roles' => 'root',
|
||||
'state' => 'Masqué',
|
||||
'target_state' => 'Importé',
|
||||
),
|
||||
11 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Masqué',
|
||||
'target_state' => 'Édité',
|
||||
),
|
||||
12 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Publié',
|
||||
'target_state' => 'Masqué',
|
||||
),
|
||||
13 => array(
|
||||
'roles' => 'root',
|
||||
'state' => 'Publié',
|
||||
'target_state' => 'Importé',
|
||||
),
|
||||
14 => array(
|
||||
'roles' => 'workflow_features_author_name,administrator,root',
|
||||
'state' => 'Publié',
|
||||
'target_state' => 'Édité',
|
||||
),
|
||||
),
|
||||
'node_types' => array(
|
||||
0 => 'breve',
|
||||
1 => 'company',
|
||||
2 => 'didactique',
|
||||
3 => 'faq',
|
||||
4 => 'looping_embed_video',
|
||||
5 => 'materiau',
|
||||
6 => 'page',
|
||||
7 => 'publication',
|
||||
8 => 'simplenews',
|
||||
),
|
||||
);
|
||||
|
||||
return $workflows;
|
||||
}
|
||||
|
@@ -24,30 +24,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -37,
|
||||
'weight' => -34,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_:print/print.
|
||||
$menu_links['navigation_:print/print'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'print/print',
|
||||
'router_path' => 'print/print',
|
||||
'link_title' => '',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_:print/print',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
);
|
||||
// Exported menu link: navigation_add-content:node/add.
|
||||
$menu_links['navigation_add-content:node/add'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
@@ -62,7 +43,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -46,
|
||||
'weight' => -45,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -83,11 +64,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -44,
|
||||
'weight' => -50,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_adhsions:node/11186/webform-results.
|
||||
$menu_links['navigation_adhsions:node/11186/webform-results'] = array(
|
||||
@@ -104,25 +85,30 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -43,
|
||||
'weight' => -48,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_ajouter-un-tag-libre:http://dev.materio.com/fr/admin/structure/taxonomy/tag_libres/add.
|
||||
$menu_links['navigation_ajouter-un-tag-libre:http://dev.materio.com/fr/admin/structure/taxonomy/tag_libres/add'] = array(
|
||||
// Exported menu link: navigation_ajouter-un-tag-libre:admin/structure/taxonomy/tag_libres/add.
|
||||
$menu_links['navigation_ajouter-un-tag-libre:admin/structure/taxonomy/tag_libres/add'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://dev.materio.com/fr/admin/structure/taxonomy/tag_libres/add',
|
||||
'router_path' => '',
|
||||
'link_path' => 'admin/structure/taxonomy/tag_libres/add',
|
||||
'router_path' => 'admin/structure/taxonomy/%/add',
|
||||
'link_title' => 'Ajouter un tag libre',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_ajouter-un-tag-libre:admin/structure/taxonomy/tag_libres/add',
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_ajouter-un-tag-libre:http://dev.materio.com/fr/admin/structure/taxonomy/tag_libres/add',
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 1,
|
||||
'external' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -50,
|
||||
@@ -166,10 +152,10 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -49,
|
||||
'customized' => 0,
|
||||
'weight' => -48,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_content:admin/content/materiaux',
|
||||
);
|
||||
// Exported menu link: navigation_company:admin/structure/taxonomy_manager/voc/company.
|
||||
@@ -227,7 +213,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -44,
|
||||
'weight' => -42,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -253,26 +239,31 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_translation:admin/config/regional/translate/table',
|
||||
);
|
||||
// Exported menu link: navigation_customers:http://www.materio.com/fr/admin/store/customers.
|
||||
$menu_links['navigation_customers:http://www.materio.com/fr/admin/store/customers'] = array(
|
||||
// Exported menu link: navigation_customers:admin/store/customers.
|
||||
$menu_links['navigation_customers:admin/store/customers'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://www.materio.com/fr/admin/store/customers',
|
||||
'router_path' => '',
|
||||
'link_path' => 'admin/store/customers',
|
||||
'router_path' => 'admin/store/customers',
|
||||
'link_title' => 'customers',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_customers:admin/store/customers',
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_customers:http://www.materio.com/fr/admin/store/customers',
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 1,
|
||||
'weight' => -49,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
'parent_identifier' => 'navigation_store:admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_didactique:node/add/didactique.
|
||||
$menu_links['navigation_didactique:node/add/didactique'] = array(
|
||||
@@ -291,7 +282,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -44,
|
||||
'weight' => -43,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -317,11 +308,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -39,
|
||||
'weight' => -45,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_duplicates:admin/config/content/remove_duplicates.
|
||||
$menu_links['navigation_duplicates:admin/config/content/remove_duplicates'] = array(
|
||||
@@ -343,7 +334,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -366,7 +357,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -43,
|
||||
'weight' => -42,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -392,11 +383,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -40,
|
||||
'weight' => -46,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_formulaires-dadhsion:http://www.materio.com/fr/node/11186/webform-results.
|
||||
$menu_links['navigation_formulaires-dadhsion:http://www.materio.com/fr/node/11186/webform-results'] = array(
|
||||
@@ -413,11 +404,10 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 1,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -42,
|
||||
'weight' => -40,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_frequently-asked-questions:faq-page.
|
||||
$menu_links['navigation_frequently-asked-questions:faq-page'] = array(
|
||||
@@ -433,7 +423,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -41,
|
||||
'weight' => -37,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -452,11 +442,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -47,
|
||||
'weight' => -41,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_industriels:admin/industriels.
|
||||
$menu_links['navigation_industriels:admin/industriels'] = array(
|
||||
@@ -472,11 +462,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -45,
|
||||
'weight' => -39,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_industriels:admin/users/industriels.
|
||||
$menu_links['navigation_industriels:admin/users/industriels'] = array(
|
||||
@@ -492,11 +482,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -48,
|
||||
'weight' => -49,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_ip-address-tracking:admin/reports/ip_tracking.
|
||||
$menu_links['navigation_ip-address-tracking:admin/reports/ip_tracking'] = array(
|
||||
@@ -515,32 +505,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -40,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_log-out:user/logout.
|
||||
$menu_links['navigation_log-out:user/logout'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'user/logout',
|
||||
'router_path' => 'user/logout',
|
||||
'link_title' => 'Log out',
|
||||
'options' => array(
|
||||
'alter' => TRUE,
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_log-out:user/logout',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 10,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_my-account:user',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_looping-embed-video:node/add/looping-embed-video.
|
||||
$menu_links['navigation_looping-embed-video:node/add/looping-embed-video'] = array(
|
||||
@@ -556,7 +525,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -38,
|
||||
'weight' => -41,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -577,7 +546,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -39,
|
||||
'weight' => -35,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -602,26 +571,6 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_materio-newsletter:node/add/simplenews/6274.
|
||||
$menu_links['navigation_materio-newsletter:node/add/simplenews/6274'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/simplenews/6274',
|
||||
'router_path' => 'node/add/simplenews/6274',
|
||||
'link_title' => 'materiO’ newsletter',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_materio-newsletter:node/add/simplenews/6274',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
|
||||
);
|
||||
// Exported menu link: navigation_members:admin/users/members.
|
||||
$menu_links['navigation_members:admin/users/members'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
@@ -636,11 +585,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -50,
|
||||
'weight' => -43,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_menus:admin/config/regional/translate/table/menu.
|
||||
$menu_links['navigation_menus:admin/config/regional/translate/table/menu'] = array(
|
||||
@@ -703,7 +652,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -43,
|
||||
'weight' => -41,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -723,7 +672,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -47,
|
||||
'weight' => -46,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -746,11 +695,10 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -42,
|
||||
'weight' => -39,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_onthologie:admin/structure/taxonomy/onthologie.
|
||||
$menu_links['navigation_onthologie:admin/structure/taxonomy/onthologie'] = array(
|
||||
@@ -814,11 +762,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'weight' => -50,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
'parent_identifier' => 'navigation_store:admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_page:node/add/page.
|
||||
$menu_links['navigation_page:node/add/page'] = array(
|
||||
@@ -858,10 +806,10 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -48,
|
||||
'customized' => 0,
|
||||
'weight' => -47,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_content:admin/content/materiaux',
|
||||
);
|
||||
// Exported menu link: navigation_panneau:node/add/panel.
|
||||
@@ -881,11 +829,10 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -41,
|
||||
'weight' => -36,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_produit:node/add/product.
|
||||
$menu_links['navigation_produit:node/add/product'] = array(
|
||||
@@ -904,7 +851,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -40,
|
||||
'weight' => -39,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -945,11 +892,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 2,
|
||||
'weight' => -48,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
'parent_identifier' => 'navigation_store:admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_shopping-cart:cart.
|
||||
$menu_links['navigation_shopping-cart:cart'] = array(
|
||||
@@ -968,11 +915,37 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -42,
|
||||
'weight' => -38,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_showrooms:admin/content/showrooms.
|
||||
$menu_links['navigation_showrooms:admin/content/showrooms'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/content/showrooms',
|
||||
'router_path' => 'admin/content/showrooms',
|
||||
'link_title' => 'Showrooms',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
'identifier' => 'navigation_showrooms:admin/content/showrooms',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 1,
|
||||
'weight' => -49,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_content:admin/content/materiaux',
|
||||
);
|
||||
// Exported menu link: navigation_simplenews-newsletter:node/add/simplenews.
|
||||
$menu_links['navigation_simplenews-newsletter:node/add/simplenews'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
@@ -996,22 +969,27 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_store:http://www.materio.com/fr/admin/store.
|
||||
$menu_links['navigation_store:http://www.materio.com/fr/admin/store'] = array(
|
||||
// Exported menu link: navigation_store:admin/store.
|
||||
$menu_links['navigation_store:admin/store'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://www.materio.com/fr/admin/store',
|
||||
'router_path' => '',
|
||||
'link_path' => 'admin/store',
|
||||
'router_path' => 'admin/store',
|
||||
'link_title' => 'Store',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_store:admin/store',
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -38,
|
||||
'weight' => -43,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -1051,11 +1029,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -46,
|
||||
'weight' => -40,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_students:admin/users/students.
|
||||
$menu_links['navigation_students:admin/users/students'] = array(
|
||||
@@ -1071,11 +1049,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -49,
|
||||
'weight' => -42,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_subscriptions-newsletter:admin/people/simplenews.
|
||||
$menu_links['navigation_subscriptions-newsletter:admin/people/simplenews'] = array(
|
||||
@@ -1092,11 +1070,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -41,
|
||||
'weight' => -47,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
);
|
||||
// Exported menu link: navigation_tag-libres:admin/structure/taxonomy/tag_libres.
|
||||
$menu_links['navigation_tag-libres:admin/structure/taxonomy/tag_libres'] = array(
|
||||
@@ -1165,10 +1143,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -48,
|
||||
'weight' => -47,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_taxonomy:admin/structure/taxonomie/admin-taxo',
|
||||
);
|
||||
// Exported menu link: navigation_taxonomy:admin/config/regional/translate/table/taxonomy.
|
||||
$menu_links['navigation_taxonomy:admin/config/regional/translate/table/taxonomy'] = array(
|
||||
@@ -1211,31 +1190,11 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 1,
|
||||
'weight' => -47,
|
||||
'weight' => -48,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_test:node/add/simplenews/6585.
|
||||
$menu_links['navigation_test:node/add/simplenews/6585'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/simplenews/6585',
|
||||
'router_path' => 'node/add/simplenews/6585',
|
||||
'link_title' => 'test',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_test:node/add/simplenews/6585',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
|
||||
);
|
||||
// Exported menu link: navigation_user-account:user.
|
||||
$menu_links['navigation_user-account:user'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
@@ -1257,27 +1216,27 @@ function materio_administration_menu_default_menu_links() {
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_users:https://materio.com/en/admin/users?rid=6.
|
||||
$menu_links['navigation_users:https://materio.com/en/admin/users?rid=6'] = array(
|
||||
// Exported menu link: navigation_users:admin/users.
|
||||
$menu_links['navigation_users:admin/users'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'https://materio.com/en/admin/users?rid=6',
|
||||
'router_path' => '',
|
||||
'link_path' => 'admin/users',
|
||||
'router_path' => 'admin/users',
|
||||
'link_title' => 'Users',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_users:admin/users',
|
||||
'attributes' => array(),
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
'identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 1,
|
||||
'weight' => -45,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
@@ -1299,32 +1258,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -39,
|
||||
'weight' => -40,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_ze-daily-materio039:node/add/simplenews/6374.
|
||||
$menu_links['navigation_ze-daily-materio039:node/add/simplenews/6374'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/simplenews/6374',
|
||||
'router_path' => 'node/add/simplenews/6374',
|
||||
'link_title' => 'Ze Daily materiO'',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_ze-daily-materio039:node/add/simplenews/6374',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
@@ -1347,7 +1286,6 @@ function materio_administration_menu_default_menu_links() {
|
||||
t('Gratuits');
|
||||
t('IP address tracking');
|
||||
t('Industriels');
|
||||
t('Log out');
|
||||
t('Mandrill');
|
||||
t('Materiau');
|
||||
t('Members');
|
||||
@@ -1365,6 +1303,8 @@ function materio_administration_menu_default_menu_links() {
|
||||
t('Publication');
|
||||
t('Reports');
|
||||
t('Shopping cart');
|
||||
t('Showroom');
|
||||
t('Showrooms');
|
||||
t('Simplenews newsletter');
|
||||
t('Store');
|
||||
t('Strings search');
|
||||
@@ -1377,11 +1317,8 @@ function materio_administration_menu_default_menu_links() {
|
||||
t('User account');
|
||||
t('Users');
|
||||
t('Webform');
|
||||
t('Ze Daily materiO'');
|
||||
t('customers');
|
||||
t('looping embed video');
|
||||
t('materiO’ newsletter');
|
||||
t('test');
|
||||
|
||||
return $menu_links;
|
||||
}
|
||||
|
@@ -14,6 +14,8 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['access admin theme'] = array(
|
||||
'name' => 'access admin theme',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -24,12 +26,44 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['access administration menu'] = array(
|
||||
'name' => 'access administration menu',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'admin_menu',
|
||||
);
|
||||
|
||||
// Exported permission: 'access content'.
|
||||
$permissions['access content'] = array(
|
||||
'name' => 'access content',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Translator' => 'Translator',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'anonymous user' => 'anonymous user',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'access content overview'.
|
||||
$permissions['access content overview'] = array(
|
||||
'name' => 'access content overview',
|
||||
'roles' => array(
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'access workflow summary views'.
|
||||
$permissions['access workflow summary views'] = array(
|
||||
'name' => 'access workflow summary views',
|
||||
@@ -87,6 +121,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer content types'.
|
||||
$permissions['administer content types'] = array(
|
||||
'name' => 'administer content types',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer entity translation'.
|
||||
$permissions['administer entity translation'] = array(
|
||||
'name' => 'administer entity translation',
|
||||
@@ -96,6 +139,24 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer login destination settings'.
|
||||
$permissions['administer login destination settings'] = array(
|
||||
'name' => 'administer login destination settings',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'login_destination',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer nodes'.
|
||||
$permissions['administer nodes'] = array(
|
||||
'name' => 'administer nodes',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer remove_duplicates'.
|
||||
$permissions['administer remove_duplicates'] = array(
|
||||
'name' => 'administer remove_duplicates',
|
||||
@@ -106,6 +167,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'remove_duplicates',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer themes'.
|
||||
$permissions['administer themes'] = array(
|
||||
'name' => 'administer themes',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'system',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer workflow'.
|
||||
$permissions['administer workflow'] = array(
|
||||
'name' => 'administer workflow',
|
||||
@@ -204,6 +274,108 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'role_delegation',
|
||||
);
|
||||
|
||||
// Exported permission: 'bypass node access'.
|
||||
$permissions['bypass node access'] = array(
|
||||
'name' => 'bypass node access',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'create breve content'.
|
||||
$permissions['create breve content'] = array(
|
||||
'name' => 'create breve content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'create looping_embed_video content'.
|
||||
$permissions['create looping_embed_video content'] = array(
|
||||
'name' => 'create looping_embed_video content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'create materiau content'.
|
||||
$permissions['create materiau content'] = array(
|
||||
'name' => 'create materiau content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete any breve content'.
|
||||
$permissions['delete any breve content'] = array(
|
||||
'name' => 'delete any breve content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete any looping_embed_video content'.
|
||||
$permissions['delete any looping_embed_video content'] = array(
|
||||
'name' => 'delete any looping_embed_video content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete any materiau content'.
|
||||
$permissions['delete any materiau content'] = array(
|
||||
'name' => 'delete any materiau content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete own breve content'.
|
||||
$permissions['delete own breve content'] = array(
|
||||
'name' => 'delete own breve content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete own looping_embed_video content'.
|
||||
$permissions['delete own looping_embed_video content'] = array(
|
||||
'name' => 'delete own looping_embed_video content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete own materiau content'.
|
||||
$permissions['delete own materiau content'] = array(
|
||||
'name' => 'delete own materiau content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete revisions'.
|
||||
$permissions['delete revisions'] = array(
|
||||
'name' => 'delete revisions',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'display drupal links'.
|
||||
$permissions['display drupal links'] = array(
|
||||
'name' => 'display drupal links',
|
||||
@@ -213,6 +385,36 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'admin_menu',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any breve content'.
|
||||
$permissions['edit any breve content'] = array(
|
||||
'name' => 'edit any breve content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any looping_embed_video content'.
|
||||
$permissions['edit any looping_embed_video content'] = array(
|
||||
'name' => 'edit any looping_embed_video content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any materiau content'.
|
||||
$permissions['edit any materiau content'] = array(
|
||||
'name' => 'edit any materiau content',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit node original values'.
|
||||
$permissions['edit node original values'] = array(
|
||||
'name' => 'edit node original values',
|
||||
@@ -227,6 +429,8 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['edit node translation shared fields'] = array(
|
||||
'name' => 'edit node translation shared fields',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -237,12 +441,42 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['edit original values'] = array(
|
||||
'name' => 'edit original values',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own breve content'.
|
||||
$permissions['edit own breve content'] = array(
|
||||
'name' => 'edit own breve content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own looping_embed_video content'.
|
||||
$permissions['edit own looping_embed_video content'] = array(
|
||||
'name' => 'edit own looping_embed_video content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own materiau content'.
|
||||
$permissions['edit own materiau content'] = array(
|
||||
'name' => 'edit own materiau content',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit taxonomy_term original values'.
|
||||
$permissions['edit taxonomy_term original values'] = array(
|
||||
'name' => 'edit taxonomy_term original values',
|
||||
@@ -267,6 +501,8 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['edit translation shared fields'] = array(
|
||||
'name' => 'edit translation shared fields',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -305,9 +541,11 @@ function materio_administration_user_default_permissions() {
|
||||
'name' => 'participate in workflow',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Translator' => 'Translator',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
|
||||
@@ -328,6 +566,16 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'revert revisions'.
|
||||
$permissions['revert revisions'] = array(
|
||||
'name' => 'revert revisions',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'schedule workflow transitions'.
|
||||
$permissions['schedule workflow transitions'] = array(
|
||||
'name' => 'schedule workflow transitions',
|
||||
@@ -434,6 +682,7 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['translate node entities'] = array(
|
||||
'name' => 'translate node entities',
|
||||
'roles' => array(
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -479,5 +728,36 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own unpublished content'.
|
||||
$permissions['view own unpublished content'] = array(
|
||||
'name' => 'view own unpublished content',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'view revisions'.
|
||||
$permissions['view revisions'] = array(
|
||||
'name' => 'view revisions',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'view the administration theme'.
|
||||
$permissions['view the administration theme'] = array(
|
||||
'name' => 'view the administration theme',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'Translator' => 'Translator',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'system',
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
||||
|
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.user_role.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_roles().
|
||||
*/
|
||||
function materio_administration_user_default_roles() {
|
||||
$roles = array();
|
||||
|
||||
// Exported role: utilisateur anonyme.
|
||||
$roles['utilisateur anonyme'] = array(
|
||||
'name' => 'utilisateur anonyme',
|
||||
'weight' => 0,
|
||||
);
|
||||
|
||||
// Exported role: utilisateur authentifié.
|
||||
$roles['utilisateur authentifié'] = array(
|
||||
'name' => 'utilisateur authentifié',
|
||||
'weight' => 1,
|
||||
);
|
||||
|
||||
return $roles;
|
||||
}
|
@@ -0,0 +1,366 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.workflow_access.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_workflow_access_features_default_settings().
|
||||
*/
|
||||
function materio_administration_workflow_access_features_default_settings() {
|
||||
$workflows = array();
|
||||
|
||||
$workflows['Publication'] = array();
|
||||
$workflows['Publication']['(creation)'] = array();
|
||||
$workflows['Publication']['(creation)']['administrator'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['root'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['utilisateur authentifié'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Unverified'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Utilisateur'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Student'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Adhérent'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Contact opérationnel'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Premium'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé'] = array();
|
||||
$workflows['Publication']['Importé']['Admin showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['administrator'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Importé']['root'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Importé']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Importé']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['utilisateur authentifié'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Unverified'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Utilisateur'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Student'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Adhérent'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Contact opérationnel'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Premium'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité'] = array();
|
||||
$workflows['Publication']['Édité']['Student'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Adhérent'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Premium'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Admin showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['administrator'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Édité']['root'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Édité']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Édité']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['utilisateur authentifié'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Unverified'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Utilisateur'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Contact opérationnel'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué'] = array();
|
||||
$workflows['Publication']['Masqué']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Admin showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['administrator'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['root'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['utilisateur authentifié'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Unverified'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Utilisateur'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Student'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Adhérent'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Contact opérationnel'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Premium'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié'] = array();
|
||||
$workflows['Publication']['Publié']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['utilisateur authentifié'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Unverified'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Utilisateur'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Student'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Adhérent'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Contact opérationnel'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Premium'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Admin showroom'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['administrator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Publié']['root'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Publié']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
|
||||
return $workflows;
|
||||
}
|
@@ -2,34 +2,24 @@ name = Materio Administration
|
||||
core = 7.x
|
||||
package = Materio
|
||||
dependencies[] = admin
|
||||
dependencies[] = admin_menu
|
||||
dependencies[] = admin_menu_source
|
||||
dependencies[] = admin_menu_toolbar
|
||||
dependencies[] = admin_theme
|
||||
dependencies[] = ctools
|
||||
dependencies[] = elysia_cron
|
||||
dependencies[] = entity_translation
|
||||
dependencies[] = entity_translation_actions
|
||||
dependencies[] = entity_translation_export_import
|
||||
dependencies[] = features
|
||||
dependencies[] = i18n_string
|
||||
dependencies[] = login_destination
|
||||
dependencies[] = logintoboggan
|
||||
dependencies[] = logintoboggan_rules
|
||||
dependencies[] = logintoboggan_variable
|
||||
dependencies[] = materio_user
|
||||
dependencies[] = menu
|
||||
dependencies[] = remove_duplicates
|
||||
dependencies[] = role_delegation
|
||||
dependencies[] = simplenews
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy_csv
|
||||
dependencies[] = taxonomy_wrangler
|
||||
dependencies[] = title
|
||||
dependencies[] = translate_perms
|
||||
dependencies[] = translation
|
||||
dependencies[] = views
|
||||
dependencies[] = views_bulk_operations
|
||||
dependencies[] = views_data_export
|
||||
dependencies[] = workflow
|
||||
dependencies[] = workflow_access
|
||||
@@ -43,18 +33,17 @@ features[elysia_cron][] = workflow_cron
|
||||
features[features_api][] = api:2
|
||||
features[menu_custom][] = navigation
|
||||
features[menu_links][] = navigation_:materio_search_api_ajax/actuality
|
||||
features[menu_links][] = navigation_:print/print
|
||||
features[menu_links][] = navigation_add-content:node/add
|
||||
features[menu_links][] = navigation_add-user:admin/people/create
|
||||
features[menu_links][] = navigation_adhsions:node/11186/webform-results
|
||||
features[menu_links][] = navigation_ajouter-un-tag-libre:http://dev.materio.com/fr/admin/structure/taxonomy/tag_libres/add
|
||||
features[menu_links][] = navigation_ajouter-un-tag-libre:admin/structure/taxonomy/tag_libres/add
|
||||
features[menu_links][] = navigation_breve:node/add/breve
|
||||
features[menu_links][] = navigation_companies:admin/content/companies
|
||||
features[menu_links][] = navigation_company:admin/structure/taxonomy_manager/voc/company
|
||||
features[menu_links][] = navigation_company:node/add/company
|
||||
features[menu_links][] = navigation_compose-tips:filter/tips
|
||||
features[menu_links][] = navigation_content-types:admin/config/regional/translate/table/nodetype
|
||||
features[menu_links][] = navigation_customers:http://www.materio.com/fr/admin/store/customers
|
||||
features[menu_links][] = navigation_customers:admin/store/customers
|
||||
features[menu_links][] = navigation_didactique:node/add/didactique
|
||||
features[menu_links][] = navigation_duplicate-mails:admin/users/duplicatemails
|
||||
features[menu_links][] = navigation_duplicates:admin/config/content/remove_duplicates
|
||||
@@ -66,11 +55,9 @@ features[menu_links][] = navigation_gratuits:admin/users/gratuits
|
||||
features[menu_links][] = navigation_industriels:admin/industriels
|
||||
features[menu_links][] = navigation_industriels:admin/users/industriels
|
||||
features[menu_links][] = navigation_ip-address-tracking:admin/reports/ip_tracking
|
||||
features[menu_links][] = navigation_log-out:user/logout
|
||||
features[menu_links][] = navigation_looping-embed-video:node/add/looping-embed-video
|
||||
features[menu_links][] = navigation_mandrill:admin/reports/mandrill
|
||||
features[menu_links][] = navigation_materiau:node/add/materiau
|
||||
features[menu_links][] = navigation_materio-newsletter:node/add/simplenews/6274
|
||||
features[menu_links][] = navigation_members:admin/users/members
|
||||
features[menu_links][] = navigation_menus:admin/config/regional/translate/table/menu
|
||||
features[menu_links][] = navigation_merge-duplicates:admin/structure/taxonomy/tag_libres/merge/duplicates
|
||||
@@ -87,8 +74,9 @@ features[menu_links][] = navigation_produit:node/add/product
|
||||
features[menu_links][] = navigation_publication:node/add/publication
|
||||
features[menu_links][] = navigation_reports:admin/store/reports
|
||||
features[menu_links][] = navigation_shopping-cart:cart
|
||||
features[menu_links][] = navigation_showrooms:admin/content/showrooms
|
||||
features[menu_links][] = navigation_simplenews-newsletter:node/add/simplenews
|
||||
features[menu_links][] = navigation_store:http://www.materio.com/fr/admin/store
|
||||
features[menu_links][] = navigation_store:admin/store
|
||||
features[menu_links][] = navigation_strings-search:admin/config/regional/translate/translate
|
||||
features[menu_links][] = navigation_students:admin/students
|
||||
features[menu_links][] = navigation_students:admin/users/students
|
||||
@@ -98,21 +86,25 @@ features[menu_links][] = navigation_tag-libres:admin/structure/taxonomy_manager/
|
||||
features[menu_links][] = navigation_taxonomy-manager:admin/structure/taxonomy_manager/voc
|
||||
features[menu_links][] = navigation_taxonomy:admin/config/regional/translate/table/taxonomy
|
||||
features[menu_links][] = navigation_taxonomy:admin/structure/taxonomie/admin-taxo
|
||||
features[menu_links][] = navigation_test:node/add/simplenews/6585
|
||||
features[menu_links][] = navigation_user-account:user
|
||||
features[menu_links][] = navigation_users:https://materio.com/en/admin/users?rid=6
|
||||
features[menu_links][] = navigation_users:admin/users
|
||||
features[menu_links][] = navigation_webform:node/add/webform
|
||||
features[menu_links][] = navigation_ze-daily-materio039:node/add/simplenews/6374
|
||||
features[user_permission][] = access admin theme
|
||||
features[user_permission][] = access administration menu
|
||||
features[user_permission][] = access content
|
||||
features[user_permission][] = access content overview
|
||||
features[user_permission][] = access workflow summary views
|
||||
features[user_permission][] = access_translation_table_content_type
|
||||
features[user_permission][] = access_translation_table_fields
|
||||
features[user_permission][] = access_translation_table_menu
|
||||
features[user_permission][] = access_translation_table_taxonomy
|
||||
features[user_permission][] = access_translations_overview
|
||||
features[user_permission][] = administer content types
|
||||
features[user_permission][] = administer entity translation
|
||||
features[user_permission][] = administer login destination settings
|
||||
features[user_permission][] = administer nodes
|
||||
features[user_permission][] = administer remove_duplicates
|
||||
features[user_permission][] = administer themes
|
||||
features[user_permission][] = administer workflow
|
||||
features[user_permission][] = assign Adhérent role
|
||||
features[user_permission][] = assign Contact opérationnel role
|
||||
@@ -123,10 +115,27 @@ features[user_permission][] = assign Utilisateur Alpha Tester role
|
||||
features[user_permission][] = assign Utilisateur role
|
||||
features[user_permission][] = assign administrator role
|
||||
features[user_permission][] = assign all roles
|
||||
features[user_permission][] = bypass node access
|
||||
features[user_permission][] = create breve content
|
||||
features[user_permission][] = create looping_embed_video content
|
||||
features[user_permission][] = create materiau content
|
||||
features[user_permission][] = delete any breve content
|
||||
features[user_permission][] = delete any looping_embed_video content
|
||||
features[user_permission][] = delete any materiau content
|
||||
features[user_permission][] = delete own breve content
|
||||
features[user_permission][] = delete own looping_embed_video content
|
||||
features[user_permission][] = delete own materiau content
|
||||
features[user_permission][] = delete revisions
|
||||
features[user_permission][] = display drupal links
|
||||
features[user_permission][] = edit any breve content
|
||||
features[user_permission][] = edit any looping_embed_video content
|
||||
features[user_permission][] = edit any materiau content
|
||||
features[user_permission][] = edit node original values
|
||||
features[user_permission][] = edit node translation shared fields
|
||||
features[user_permission][] = edit original values
|
||||
features[user_permission][] = edit own breve content
|
||||
features[user_permission][] = edit own looping_embed_video content
|
||||
features[user_permission][] = edit own materiau content
|
||||
features[user_permission][] = edit taxonomy_term original values
|
||||
features[user_permission][] = edit taxonomy_term translation shared fields
|
||||
features[user_permission][] = edit translation shared fields
|
||||
@@ -135,6 +144,7 @@ features[user_permission][] = flush caches
|
||||
features[user_permission][] = import_translations
|
||||
features[user_permission][] = participate in workflow
|
||||
features[user_permission][] = refresh_strings
|
||||
features[user_permission][] = revert revisions
|
||||
features[user_permission][] = schedule workflow transitions
|
||||
features[user_permission][] = select different theme
|
||||
features[user_permission][] = send newsletter
|
||||
@@ -150,6 +160,11 @@ features[user_permission][] = translate taxonomy_term entities
|
||||
features[user_permission][] = translate user-defined strings
|
||||
features[user_permission][] = translate_strings
|
||||
features[user_permission][] = update_modules_translations
|
||||
features[user_permission][] = view own unpublished content
|
||||
features[user_permission][] = view revisions
|
||||
features[user_permission][] = view the administration theme
|
||||
features[user_role][] = utilisateur anonyme
|
||||
features[user_role][] = utilisateur authentifié
|
||||
features[variable][] = admin_menu_cache_client
|
||||
features[variable][] = admin_menu_devel_modules_enabled
|
||||
features[variable][] = admin_menu_devel_modules_skip
|
||||
@@ -157,9 +172,11 @@ features[variable][] = admin_menu_display
|
||||
features[variable][] = admin_menu_margin_top
|
||||
features[variable][] = admin_menu_position_fixed
|
||||
features[variable][] = admin_menu_show_all
|
||||
features[variable][] = admin_menu_source_settings
|
||||
features[variable][] = admin_menu_tweak_modules
|
||||
features[variable][] = admin_menu_tweak_permissions
|
||||
features[variable][] = admin_menu_tweak_tabs
|
||||
features[variable][] = admin_theme
|
||||
features[variable][] = content_type_extras_title_hide_breve
|
||||
features[variable][] = content_type_extras_title_hide_company
|
||||
features[variable][] = content_type_extras_title_hide_didactique
|
||||
@@ -239,4 +256,18 @@ features[views_view][] = admin_contents
|
||||
features[views_view][] = admin_peoples
|
||||
features[views_view][] = admin_taxo
|
||||
features[views_view][] = taxonomy_companies_manager
|
||||
features[workflow][] = Publication
|
||||
features[workflow_access][] = Publication
|
||||
features_exclude[dependencies][materio_publications] = materio_publications
|
||||
features_exclude[dependencies][materio_subscriptions] = materio_subscriptions
|
||||
features_exclude[dependencies][admin_menu] = admin_menu
|
||||
features_exclude[dependencies][ctools] = ctools
|
||||
features_exclude[dependencies][entity_translation] = entity_translation
|
||||
features_exclude[dependencies][menu] = menu
|
||||
features_exclude[dependencies][role_delegation] = role_delegation
|
||||
features_exclude[dependencies][strongarm] = strongarm
|
||||
features_exclude[dependencies][translations] = translations
|
||||
features_exclude[dependencies][showroom] = showroom
|
||||
features_exclude[user_role][Translator] = Translator
|
||||
features_exclude[user_role][Admin showroom] = Admin showroom
|
||||
project path = sites/all/modules/features
|
||||
|
@@ -71,6 +71,53 @@ function materio_administration_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['admin_menu_show_all'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'admin_menu_source_settings';
|
||||
$strongarm->value = array(
|
||||
1 => array(
|
||||
'source' => '',
|
||||
),
|
||||
2 => array(
|
||||
'source' => '',
|
||||
),
|
||||
9 => array(
|
||||
'source' => '',
|
||||
),
|
||||
7 => array(
|
||||
'source' => '',
|
||||
),
|
||||
10 => array(
|
||||
'source' => '',
|
||||
),
|
||||
11 => array(
|
||||
'source' => '',
|
||||
),
|
||||
6 => array(
|
||||
'source' => '',
|
||||
),
|
||||
5 => array(
|
||||
'source' => '',
|
||||
),
|
||||
8 => array(
|
||||
'source' => '',
|
||||
),
|
||||
12 => array(
|
||||
'source' => 'navigation',
|
||||
),
|
||||
3 => array(
|
||||
'source' => 'navigation',
|
||||
),
|
||||
4 => array(
|
||||
'source' => '',
|
||||
),
|
||||
13 => array(
|
||||
'source' => 'navigation',
|
||||
),
|
||||
);
|
||||
$export['admin_menu_source_settings'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@@ -92,6 +139,13 @@ function materio_administration_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['admin_menu_tweak_tabs'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'admin_theme';
|
||||
$strongarm->value = 'guibik';
|
||||
$export['admin_theme'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@@ -127,6 +181,7 @@ function materio_administration_strongarm() {
|
||||
$strongarm->value = array(
|
||||
'node' => 'node',
|
||||
'taxonomy_term' => 'taxonomy_term',
|
||||
'field_collection_item' => 0,
|
||||
'user' => 0,
|
||||
);
|
||||
$export['entity_translation_entity_types'] = $strongarm;
|
||||
|
@@ -620,6 +620,13 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||||
$handler->display->display_options['title'] = 'Materiaux/brèves';
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['access'] = FALSE;
|
||||
$handler->display->display_options['access']['type'] = 'role';
|
||||
$handler->display->display_options['access']['role'] = array(
|
||||
3 => '3',
|
||||
4 => '4',
|
||||
13 => '13',
|
||||
);
|
||||
$handler->display->display_options['defaults']['pager'] = FALSE;
|
||||
$handler->display->display_options['pager']['type'] = 'full';
|
||||
$handler->display->display_options['pager']['options']['items_per_page'] = '50';
|
||||
@@ -637,13 +644,14 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['style_plugin'] = 'table';
|
||||
$handler->display->display_options['style_options']['columns'] = array(
|
||||
'views_bulk_operations' => 'views_bulk_operations',
|
||||
'nid' => 'nid',
|
||||
'field_materiau_image' => 'field_materiau_image',
|
||||
'field_visuel' => 'field_materiau_image',
|
||||
'type' => 'title_field',
|
||||
'title_field' => 'title_field',
|
||||
'field_reference_materio' => 'title_field',
|
||||
'field_localisation_1' => 'field_reference_materio',
|
||||
'edit_node' => 'title_field',
|
||||
'nothing' => 'title_field',
|
||||
'field_company_fab' => 'field_company_fab',
|
||||
'field_company_distrib' => 'field_company_fab',
|
||||
'field_onthologie' => 'field_onthologie',
|
||||
@@ -663,6 +671,13 @@ function materio_administration_views_default_views() {
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'nid' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_materiau_image' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
@@ -694,16 +709,14 @@ function materio_administration_views_default_views() {
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_localisation_1' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'edit_node' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'edit_node' => array(
|
||||
'nothing' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'separator' => '<br />',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_company_fab' => array(
|
||||
@@ -772,6 +785,7 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['defaults']['style_options'] = FALSE;
|
||||
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
|
||||
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
||||
$handler->display->display_options['defaults']['relationships'] = FALSE;
|
||||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||||
/* Field: Bulk operations: Content */
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
|
||||
@@ -792,6 +806,13 @@ function materio_administration_views_default_views() {
|
||||
'postpone_processing' => 0,
|
||||
),
|
||||
);
|
||||
/* Field: Content: Nid */
|
||||
$handler->display->display_options['fields']['nid']['id'] = 'nid';
|
||||
$handler->display->display_options['fields']['nid']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['nid']['field'] = 'nid';
|
||||
$handler->display->display_options['fields']['nid']['label'] = '';
|
||||
$handler->display->display_options['fields']['nid']['exclude'] = TRUE;
|
||||
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
|
||||
/* Field: Content: Image */
|
||||
$handler->display->display_options['fields']['field_materiau_image']['id'] = 'field_materiau_image';
|
||||
$handler->display->display_options['fields']['field_materiau_image']['table'] = 'field_data_field_materiau_image';
|
||||
@@ -834,6 +855,12 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
|
||||
/* Field: Global: Custom text */
|
||||
$handler->display->display_options['fields']['nothing']['id'] = 'nothing';
|
||||
$handler->display->display_options['fields']['nothing']['table'] = 'views';
|
||||
$handler->display->display_options['fields']['nothing']['field'] = 'nothing';
|
||||
$handler->display->display_options['fields']['nothing']['label'] = 'Translation';
|
||||
$handler->display->display_options['fields']['nothing']['alter']['text'] = '<span class="node-edit"><a href="/node/[nid]/translate">translate</a></span>';
|
||||
/* Field: Content: Manufacturer */
|
||||
$handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab';
|
||||
$handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab';
|
||||
@@ -906,6 +933,13 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
|
||||
$handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
|
||||
$handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
|
||||
/* Field: Content: Location */
|
||||
$handler->display->display_options['fields']['field_location']['id'] = 'field_location';
|
||||
$handler->display->display_options['fields']['field_location']['table'] = 'field_data_field_location';
|
||||
$handler->display->display_options['fields']['field_location']['field'] = 'field_location';
|
||||
$handler->display->display_options['fields']['field_location']['click_sort_column'] = 'showroom_tid';
|
||||
$handler->display->display_options['fields']['field_location']['delta_offset'] = '0';
|
||||
$handler->display->display_options['fields']['field_location']['multi_type'] = 'ul';
|
||||
/* Field: Workflow: Current state */
|
||||
$handler->display->display_options['fields']['sid']['id'] = 'sid';
|
||||
$handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
|
||||
@@ -924,13 +958,14 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['filters']['type_1']['field'] = 'type';
|
||||
$handler->display->display_options['filters']['type_1']['operator'] = 'not in';
|
||||
$handler->display->display_options['filters']['type_1']['value'] = array(
|
||||
'company' => 'company',
|
||||
'didactique' => 'didactique',
|
||||
'faq' => 'faq',
|
||||
'simplenews' => 'simplenews',
|
||||
'page' => 'page',
|
||||
'panel' => 'panel',
|
||||
'product' => 'product',
|
||||
'simplenews' => 'simplenews',
|
||||
'showroom' => 'showroom',
|
||||
'company' => 'company',
|
||||
'webform' => 'webform',
|
||||
'looping_embed_video' => 'looping_embed_video',
|
||||
);
|
||||
@@ -1552,6 +1587,273 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['tab_options']['type'] = 'normal';
|
||||
$handler->display->display_options['tab_options']['title'] = 'dashboard';
|
||||
$handler->display->display_options['tab_options']['weight'] = '0';
|
||||
|
||||
/* Display: Page : showrooms */
|
||||
$handler = $view->new_display('page', 'Page : showrooms', 'page_4');
|
||||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||||
$handler->display->display_options['title'] = 'Materiaux/brèves';
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['pager'] = FALSE;
|
||||
$handler->display->display_options['pager']['type'] = 'full';
|
||||
$handler->display->display_options['pager']['options']['items_per_page'] = '50';
|
||||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||||
$handler->display->display_options['pager']['options']['id'] = '0';
|
||||
$handler->display->display_options['pager']['options']['quantity'] = '9';
|
||||
$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['defaults']['style_plugin'] = FALSE;
|
||||
$handler->display->display_options['style_plugin'] = 'table';
|
||||
$handler->display->display_options['style_options']['columns'] = array(
|
||||
'views_bulk_operations' => 'views_bulk_operations',
|
||||
'nid' => 'nid',
|
||||
'field_tode_showroom' => 'field_tode_showroom',
|
||||
'edit_node' => 'field_tode_showroom',
|
||||
'nothing' => 'field_tode_showroom',
|
||||
'field_public_email' => 'field_public_email',
|
||||
'field_public_phone' => 'field_public_phone',
|
||||
'field_public_address' => 'field_public_address',
|
||||
'body' => 'body',
|
||||
'field_memo' => 'field_memo',
|
||||
'sid' => 'sid',
|
||||
'delete_node' => 'sid',
|
||||
);
|
||||
$handler->display->display_options['style_options']['default'] = '-1';
|
||||
$handler->display->display_options['style_options']['info'] = array(
|
||||
'views_bulk_operations' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'nid' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_tode_showroom' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '<br />',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'edit_node' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'nothing' => array(
|
||||
'align' => '',
|
||||
'separator' => '<br />',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_public_email' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_public_phone' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_public_address' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'body' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'field_memo' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'sid' => array(
|
||||
'sortable' => 0,
|
||||
'default_sort_order' => 'asc',
|
||||
'align' => '',
|
||||
'separator' => '<br />',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
'delete_node' => array(
|
||||
'align' => '',
|
||||
'separator' => '',
|
||||
'empty_column' => 0,
|
||||
),
|
||||
);
|
||||
$handler->display->display_options['style_options']['override'] = FALSE;
|
||||
$handler->display->display_options['defaults']['style_options'] = FALSE;
|
||||
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
|
||||
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
||||
$handler->display->display_options['defaults']['relationships'] = FALSE;
|
||||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||||
/* Field: Bulk operations: Content */
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
|
||||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
|
||||
'action::workflow_select_given_state_action' => array(
|
||||
'selected' => 1,
|
||||
'skip_confirmation' => 0,
|
||||
'override_label' => 0,
|
||||
'label' => '',
|
||||
'postpone_processing' => 0,
|
||||
),
|
||||
);
|
||||
/* Field: Content: Nid */
|
||||
$handler->display->display_options['fields']['nid']['id'] = 'nid';
|
||||
$handler->display->display_options['fields']['nid']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['nid']['field'] = 'nid';
|
||||
$handler->display->display_options['fields']['nid']['label'] = '';
|
||||
$handler->display->display_options['fields']['nid']['exclude'] = TRUE;
|
||||
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
|
||||
/* Field: Content: Showroom */
|
||||
$handler->display->display_options['fields']['field_tode_showroom']['id'] = 'field_tode_showroom';
|
||||
$handler->display->display_options['fields']['field_tode_showroom']['table'] = 'field_data_field_tode_showroom';
|
||||
$handler->display->display_options['fields']['field_tode_showroom']['field'] = 'field_tode_showroom';
|
||||
/* Field: Content: Edit link */
|
||||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['edit_node']['alter']['text'] = '<span class="node-edit">[edit_node]</span>';
|
||||
/* Field: Global: Custom text */
|
||||
$handler->display->display_options['fields']['nothing']['id'] = 'nothing';
|
||||
$handler->display->display_options['fields']['nothing']['table'] = 'views';
|
||||
$handler->display->display_options['fields']['nothing']['field'] = 'nothing';
|
||||
$handler->display->display_options['fields']['nothing']['label'] = 'Translation';
|
||||
$handler->display->display_options['fields']['nothing']['alter']['text'] = '<span class="node-edit"><a href="/node/[nid]/translate">translate</a></span>';
|
||||
/* Field: Content: Email */
|
||||
$handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email';
|
||||
$handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email';
|
||||
$handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email';
|
||||
$handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel';
|
||||
/* Field: Content: Phone */
|
||||
$handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone';
|
||||
$handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone';
|
||||
$handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone';
|
||||
/* Field: Content: Adresse */
|
||||
$handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address';
|
||||
$handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address';
|
||||
$handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address';
|
||||
$handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country';
|
||||
$handler->display->display_options['fields']['field_public_address']['settings'] = array(
|
||||
'use_widget_handlers' => 1,
|
||||
'format_handlers' => array(
|
||||
'address' => 'address',
|
||||
),
|
||||
);
|
||||
/* Field: Content: Body */
|
||||
$handler->display->display_options['fields']['body']['id'] = 'body';
|
||||
$handler->display->display_options['fields']['body']['table'] = 'field_data_body';
|
||||
$handler->display->display_options['fields']['body']['field'] = 'body';
|
||||
$handler->display->display_options['fields']['body']['label'] = 'Corps';
|
||||
$handler->display->display_options['fields']['body']['type'] = 'text_summary_or_trimmed';
|
||||
$handler->display->display_options['fields']['body']['settings'] = array(
|
||||
'trim_length' => '200',
|
||||
);
|
||||
/* Field: Field: Mémo */
|
||||
$handler->display->display_options['fields']['field_memo']['id'] = 'field_memo';
|
||||
$handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo';
|
||||
$handler->display->display_options['fields']['field_memo']['field'] = 'field_memo';
|
||||
$handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300';
|
||||
$handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE;
|
||||
/* Field: Workflow: Current state */
|
||||
$handler->display->display_options['fields']['sid']['id'] = 'sid';
|
||||
$handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
|
||||
$handler->display->display_options['fields']['sid']['field'] = 'sid';
|
||||
/* Field: Content: Delete link */
|
||||
$handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
|
||||
$handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
|
||||
$handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
|
||||
$handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['delete_node']['alter']['text'] = '<span class="node-delete">[delete_node]</span>';
|
||||
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
|
||||
$handler->display->display_options['defaults']['filters'] = FALSE;
|
||||
/* Filter criterion: Content: Type */
|
||||
$handler->display->display_options['filters']['type_1']['id'] = 'type_1';
|
||||
$handler->display->display_options['filters']['type_1']['table'] = 'node';
|
||||
$handler->display->display_options['filters']['type_1']['field'] = 'type';
|
||||
$handler->display->display_options['filters']['type_1']['value'] = array(
|
||||
'showroom' => 'showroom',
|
||||
);
|
||||
$handler->display->display_options['filters']['type_1']['group'] = 1;
|
||||
/* Filter criterion: Content: Title */
|
||||
$handler->display->display_options['filters']['title']['id'] = 'title';
|
||||
$handler->display->display_options['filters']['title']['table'] = 'node';
|
||||
$handler->display->display_options['filters']['title']['field'] = 'title';
|
||||
$handler->display->display_options['filters']['title']['operator'] = 'contains';
|
||||
$handler->display->display_options['filters']['title']['group'] = 1;
|
||||
$handler->display->display_options['filters']['title']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
|
||||
$handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains';
|
||||
$handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
|
||||
$handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
|
||||
$handler->display->display_options['filters']['title']['expose']['remember'] = TRUE;
|
||||
/* Filter criterion: Field: Mémo (field_memo) */
|
||||
$handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value';
|
||||
$handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo';
|
||||
$handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value';
|
||||
$handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains';
|
||||
$handler->display->display_options['filters']['field_memo_value']['group'] = 1;
|
||||
$handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op';
|
||||
$handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient';
|
||||
$handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op';
|
||||
$handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value';
|
||||
/* Filter criterion: Workflow: Current state */
|
||||
$handler->display->display_options['filters']['sid']['id'] = 'sid';
|
||||
$handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
|
||||
$handler->display->display_options['filters']['sid']['field'] = 'sid';
|
||||
$handler->display->display_options['filters']['sid']['group'] = 1;
|
||||
$handler->display->display_options['filters']['sid']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
|
||||
$handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus';
|
||||
$handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
|
||||
$handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
|
||||
$handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE;
|
||||
/* Filter criterion: Content: Published */
|
||||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||||
$handler->display->display_options['path'] = 'admin/content/showrooms';
|
||||
$handler->display->display_options['menu']['type'] = 'tab';
|
||||
$handler->display->display_options['menu']['title'] = 'Showrooms';
|
||||
$handler->display->display_options['menu']['description'] = 'showrooms';
|
||||
$handler->display->display_options['menu']['weight'] = '-100';
|
||||
$handler->display->display_options['menu']['context'] = 0;
|
||||
$handler->display->display_options['menu']['context_only_inline'] = 0;
|
||||
$handler->display->display_options['tab_options']['type'] = 'normal';
|
||||
$handler->display->display_options['tab_options']['title'] = 'dashboard';
|
||||
$handler->display->display_options['tab_options']['weight'] = '0';
|
||||
$translatables['admin_contents'] = array(
|
||||
t('Master'),
|
||||
t('Contenu'),
|
||||
@@ -1603,6 +1905,8 @@ function materio_administration_views_default_views() {
|
||||
t('- Choose an operation -'),
|
||||
t('Image'),
|
||||
t('Titre'),
|
||||
t('Translation'),
|
||||
t('<span class="node-edit"><a href="/node/[nid]/translate">translate</a></span>'),
|
||||
t('Fabricants/Distributeurs'),
|
||||
t('Fab :<br/>
|
||||
[field_company_fab] '),
|
||||
@@ -1617,6 +1921,7 @@ function materio_administration_views_default_views() {
|
||||
t('Brèves :<br />[field_breve_ref]'),
|
||||
t('Fichiers joints'),
|
||||
t('Localisation'),
|
||||
t('Location'),
|
||||
t('Title / Name contains'),
|
||||
t('Famille'),
|
||||
t('Référence'),
|
||||
@@ -1638,6 +1943,10 @@ function materio_administration_views_default_views() {
|
||||
t('Page : page/publicationfaq/didactique'),
|
||||
t('page/publication/didactique/faq'),
|
||||
t('Title/Name'),
|
||||
t('Page : showrooms'),
|
||||
t('Showroom'),
|
||||
t('Phone'),
|
||||
t('Corps'),
|
||||
);
|
||||
$export['admin_contents'] = $view;
|
||||
|
||||
@@ -2139,14 +2448,13 @@ print user_pass_reset_url($account);
|
||||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['table'] = 'users';
|
||||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||||
$handler->display->display_options['filters']['status']['value'] = '0';
|
||||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||||
$handler->display->display_options['filters']['status']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
|
||||
$handler->display->display_options['filters']['status']['expose']['label'] = 'Actif';
|
||||
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
|
||||
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
|
||||
$handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
|
||||
2 => '2',
|
||||
1 => 0,
|
||||
@@ -2157,8 +2465,10 @@ print user_pass_reset_url($account);
|
||||
6 => 0,
|
||||
5 => 0,
|
||||
8 => 0,
|
||||
12 => 0,
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
13 => 0,
|
||||
);
|
||||
/* Filter criterion: User: Roles */
|
||||
$handler->display->display_options['filters']['rid']['id'] = 'rid';
|
||||
@@ -2168,8 +2478,11 @@ print user_pass_reset_url($account);
|
||||
9 => '9',
|
||||
7 => '7',
|
||||
10 => '10',
|
||||
11 => '11',
|
||||
6 => '6',
|
||||
5 => '5',
|
||||
8 => '8',
|
||||
12 => '12',
|
||||
3 => '3',
|
||||
);
|
||||
$handler->display->display_options['filters']['rid']['group'] = 1;
|
||||
@@ -2178,7 +2491,6 @@ print user_pass_reset_url($account);
|
||||
$handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles';
|
||||
$handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op';
|
||||
$handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid';
|
||||
$handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE;
|
||||
$handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array(
|
||||
2 => 0,
|
||||
9 => '9',
|
||||
@@ -2189,8 +2501,10 @@ print user_pass_reset_url($account);
|
||||
5 => '5',
|
||||
1 => 0,
|
||||
8 => 0,
|
||||
12 => 0,
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
13 => 0,
|
||||
);
|
||||
$handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
|
||||
/* Filter criterion: User: Company (field_company) */
|
||||
@@ -2250,16 +2564,6 @@ print user_pass_reset_url($account);
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
);
|
||||
/* Filter criterion: User: Roles */
|
||||
$handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
|
||||
$handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
|
||||
$handler->display->display_options['filters']['rid_1']['field'] = 'rid';
|
||||
$handler->display->display_options['filters']['rid_1']['operator'] = 'not';
|
||||
$handler->display->display_options['filters']['rid_1']['value'] = array(
|
||||
5 => '5',
|
||||
4 => '4',
|
||||
);
|
||||
$handler->display->display_options['filters']['rid_1']['group'] = 1;
|
||||
/* Filter criterion: User: E-mail */
|
||||
$handler->display->display_options['filters']['mail']['id'] = 'mail';
|
||||
$handler->display->display_options['filters']['mail']['table'] = 'users';
|
||||
@@ -2287,6 +2591,8 @@ print user_pass_reset_url($account);
|
||||
$handler->display->display_options['filters']['language']['value'] = array(
|
||||
'en' => 'en',
|
||||
'fr' => 'fr',
|
||||
'zh-hans' => 'zh-hans',
|
||||
'cs' => 'cs',
|
||||
);
|
||||
$handler->display->display_options['filters']['language']['group'] = 1;
|
||||
$handler->display->display_options['filters']['language']['exposed'] = TRUE;
|
||||
@@ -2297,12 +2603,17 @@ print user_pass_reset_url($account);
|
||||
$handler->display->display_options['filters']['language']['expose']['remember_roles'] = array(
|
||||
2 => '2',
|
||||
1 => 0,
|
||||
9 => 0,
|
||||
7 => 0,
|
||||
10 => 0,
|
||||
11 => 0,
|
||||
6 => 0,
|
||||
8 => 0,
|
||||
5 => 0,
|
||||
8 => 0,
|
||||
12 => 0,
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
13 => 0,
|
||||
);
|
||||
$handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE;
|
||||
/* Filter criterion: User: E-mail */
|
||||
@@ -2316,6 +2627,13 @@ print user_pass_reset_url($account);
|
||||
/* Display: Page : all */
|
||||
$handler = $view->new_display('page', 'Page : all', 'page');
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['exposed_form'] = FALSE;
|
||||
$handler->display->display_options['exposed_form']['type'] = 'input_required';
|
||||
$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['exposed_form']['options']['text_input_required'] = 'Sélectionnez n\'importe quel filtre et cliquez sur Appliquer pour voir les résultats';
|
||||
$handler->display->display_options['exposed_form']['options']['text_input_required_format'] = 'filtred_html';
|
||||
$handler->display->display_options['path'] = 'admin/users';
|
||||
$handler->display->display_options['menu']['type'] = 'tab';
|
||||
$handler->display->display_options['menu']['title'] = 'Peoples';
|
||||
@@ -2885,6 +3203,36 @@ print user_pass_reset_url($account);
|
||||
4 => 0,
|
||||
);
|
||||
$handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE;
|
||||
/* Filter criterion: User: Roles */
|
||||
$handler->display->display_options['filters']['rid_1']['id'] = 'rid_1';
|
||||
$handler->display->display_options['filters']['rid_1']['table'] = 'users_roles';
|
||||
$handler->display->display_options['filters']['rid_1']['field'] = 'rid';
|
||||
$handler->display->display_options['filters']['rid_1']['value'] = array(
|
||||
7 => '7',
|
||||
6 => '6',
|
||||
);
|
||||
$handler->display->display_options['filters']['rid_1']['group'] = 1;
|
||||
$handler->display->display_options['filters']['rid_1']['exposed'] = TRUE;
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['operator_id'] = 'rid_1_op';
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['label'] = 'Rôles';
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['operator'] = 'rid_1_op';
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['identifier'] = 'rid_1';
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['remember_roles'] = array(
|
||||
2 => '2',
|
||||
1 => 0,
|
||||
9 => 0,
|
||||
7 => 0,
|
||||
10 => 0,
|
||||
11 => 0,
|
||||
6 => 0,
|
||||
5 => 0,
|
||||
8 => 0,
|
||||
12 => 0,
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
13 => 0,
|
||||
);
|
||||
$handler->display->display_options['filters']['rid_1']['expose']['reduce'] = TRUE;
|
||||
/* Filter criterion: User: Company (field_company) */
|
||||
$handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid';
|
||||
$handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company';
|
||||
@@ -3817,6 +4165,7 @@ print user_pass_reset_url($account);
|
||||
t('Langue'),
|
||||
t('Page : all'),
|
||||
t('more'),
|
||||
t('Sélectionnez n\'importe quel filtre et cliquez sur Appliquer pour voir les résultats'),
|
||||
t('Data export'),
|
||||
t('Page : members'),
|
||||
t('Admin Members'),
|
||||
@@ -3843,7 +4192,11 @@ print user_pass_reset_url($account);
|
||||
$handler = $view->new_display('default', 'Master', 'default');
|
||||
$handler->display->display_options['title'] = 'Admin Taxo';
|
||||
$handler->display->display_options['use_more_always'] = FALSE;
|
||||
$handler->display->display_options['access']['type'] = 'perm';
|
||||
$handler->display->display_options['access']['type'] = 'role';
|
||||
$handler->display->display_options['access']['role'] = array(
|
||||
3 => '3',
|
||||
4 => '4',
|
||||
);
|
||||
$handler->display->display_options['cache']['type'] = 'none';
|
||||
$handler->display->display_options['query']['type'] = 'views_query';
|
||||
$handler->display->display_options['query']['options']['distinct'] = TRUE;
|
||||
|
Reference in New Issue
Block a user