updated features
This commit is contained in:
@@ -23,6 +23,5 @@ function materio_administration_menu_default_menu_custom() {
|
||||
t('Navigation');
|
||||
t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.');
|
||||
|
||||
|
||||
return $menus;
|
||||
}
|
||||
|
@@ -10,7 +10,7 @@
|
||||
function materio_administration_menu_default_menu_links() {
|
||||
$menu_links = array();
|
||||
|
||||
// Exported menu link: navigation_add-user:admin/people/create
|
||||
// Exported menu link: navigation_add-user:admin/people/create.
|
||||
$menu_links['navigation_add-user:admin/people/create'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/people/create',
|
||||
@@ -25,13 +25,13 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -45,
|
||||
'weight' => -50,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_adhsions:node/11186/webform-results
|
||||
// Exported menu link: navigation_adhsions:node/11186/webform-results.
|
||||
$menu_links['navigation_adhsions:node/11186/webform-results'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/11186/webform-results',
|
||||
@@ -46,13 +46,13 @@ 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:admin/users',
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_company:admin/structure/taxonomy_manager/voc/company
|
||||
// Exported menu link: navigation_company:admin/structure/taxonomy_manager/voc/company.
|
||||
$menu_links['navigation_company:admin/structure/taxonomy_manager/voc/company'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/structure/taxonomy_manager/voc/company',
|
||||
@@ -73,7 +73,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_taxonomy-manager:admin/structure/taxonomy_manager/voc',
|
||||
);
|
||||
// Exported menu link: navigation_compose-tips:filter/tips
|
||||
// Exported menu link: navigation_compose-tips:filter/tips.
|
||||
$menu_links['navigation_compose-tips:filter/tips'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'filter/tips',
|
||||
@@ -85,14 +85,14 @@ function materio_administration_menu_default_menu_links() {
|
||||
'module' => 'system',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -43,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_customers:http://www.materio.com/fr/admin/store/customers
|
||||
// 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(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://www.materio.com/fr/admin/store/customers',
|
||||
@@ -113,28 +113,33 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_feedback:admin/reports/feedback
|
||||
// Exported menu link: navigation_feedback:admin/reports/feedback.
|
||||
$menu_links['navigation_feedback:admin/reports/feedback'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/reports/feedback',
|
||||
'router_path' => 'admin/reports/feedback',
|
||||
'link_title' => 'Feedback',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_feedback:admin/reports/feedback',
|
||||
'attributes' => array(),
|
||||
'item_attributes' => array(
|
||||
'id' => '',
|
||||
'class' => '',
|
||||
'style' => '',
|
||||
),
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -47,
|
||||
'weight' => -40,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_formulaires-dadhsion:http://www.materio.com/fr/node/11186/webform-results
|
||||
// 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(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://www.materio.com/fr/node/11186/webform-results',
|
||||
@@ -145,17 +150,17 @@ function materio_administration_menu_default_menu_links() {
|
||||
'identifier' => 'navigation_formulaires-dadhsion:http://www.materio.com/fr/node/11186/webform-results',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'hidden' => 1,
|
||||
'external' => 1,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -49,
|
||||
'weight' => -42,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_frequently-asked-questions:faq-page
|
||||
// Exported menu link: navigation_frequently-asked-questions:faq-page.
|
||||
$menu_links['navigation_frequently-asked-questions:faq-page'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'faq-page',
|
||||
@@ -169,12 +174,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -40,
|
||||
'weight' => -41,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_ip-address-tracking:admin/reports/ip_tracking
|
||||
// Exported menu link: navigation_ip-address-tracking:admin/reports/ip_tracking.
|
||||
$menu_links['navigation_ip-address-tracking:admin/reports/ip_tracking'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/reports/ip_tracking',
|
||||
@@ -191,16 +196,16 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -38,
|
||||
'weight' => -40,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_mandrill:admin/reports/mandrill
|
||||
// Exported menu link: navigation_mandrill:admin/reports/mandrill.
|
||||
$menu_links['navigation_mandrill:admin/reports/mandrill'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/reports/mandrill',
|
||||
'router_path' => 'admin/reports/mandrill',
|
||||
'router_path' => 'admin/reports',
|
||||
'link_title' => 'Mandrill',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
@@ -211,12 +216,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -37,
|
||||
'weight' => -39,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_my-sessions:mysessions
|
||||
// Exported menu link: navigation_my-sessions:mysessions.
|
||||
$menu_links['navigation_my-sessions:mysessions'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'mysessions',
|
||||
@@ -230,12 +235,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -42,
|
||||
'weight' => -43,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_node-export-import:node/add/node_export
|
||||
// Exported menu link: navigation_node-export-import:node/add/node_export.
|
||||
$menu_links['navigation_node-export-import:node/add/node_export'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/node_export',
|
||||
@@ -256,9 +261,9 @@ function materio_administration_menu_default_menu_links() {
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_add-content:node/add',
|
||||
'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_onthologie:admin/structure/taxonomy_manager/voc/onthologie
|
||||
// Exported menu link: navigation_onthologie:admin/structure/taxonomy_manager/voc/onthologie.
|
||||
$menu_links['navigation_onthologie:admin/structure/taxonomy_manager/voc/onthologie'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/structure/taxonomy_manager/voc/onthologie',
|
||||
@@ -279,7 +284,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_taxonomy-manager:admin/structure/taxonomy_manager/voc',
|
||||
);
|
||||
// Exported menu link: navigation_orders:admin/store/orders/view
|
||||
// Exported menu link: navigation_orders:admin/store/orders/view.
|
||||
$menu_links['navigation_orders:admin/store/orders/view'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/store/orders/view',
|
||||
@@ -300,7 +305,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_reports:admin/store/reports
|
||||
// Exported menu link: navigation_reports:admin/store/reports.
|
||||
$menu_links['navigation_reports:admin/store/reports'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/store/reports',
|
||||
@@ -321,7 +326,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_store:http://www.materio.com/fr/admin/store',
|
||||
);
|
||||
// Exported menu link: navigation_shopping-cart:cart
|
||||
// Exported menu link: navigation_shopping-cart:cart.
|
||||
$menu_links['navigation_shopping-cart:cart'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'cart',
|
||||
@@ -338,12 +343,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -41,
|
||||
'weight' => -42,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_store:http://www.materio.com/fr/admin/store
|
||||
// Exported menu link: navigation_store:http://www.materio.com/fr/admin/store.
|
||||
$menu_links['navigation_store:http://www.materio.com/fr/admin/store'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'http://www.materio.com/fr/admin/store',
|
||||
@@ -358,12 +363,12 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 1,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -36,
|
||||
'weight' => -38,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_subscriptions-newsletter:admin/people/simplenews
|
||||
// Exported menu link: navigation_subscriptions-newsletter:admin/people/simplenews.
|
||||
$menu_links['navigation_subscriptions-newsletter:admin/people/simplenews'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/people/simplenews',
|
||||
@@ -378,13 +383,13 @@ function materio_administration_menu_default_menu_links() {
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -48,
|
||||
'weight' => -41,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_users:admin/users',
|
||||
'parent_identifier' => 'navigation_users:https://materio.com/en/admin/users?rid=6',
|
||||
);
|
||||
// Exported menu link: navigation_tag-libres:admin/structure/taxonomy_manager/voc/tag_libres
|
||||
// Exported menu link: navigation_tag-libres:admin/structure/taxonomy_manager/voc/tag_libres.
|
||||
$menu_links['navigation_tag-libres:admin/structure/taxonomy_manager/voc/tag_libres'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/structure/taxonomy_manager/voc/tag_libres',
|
||||
@@ -405,7 +410,7 @@ function materio_administration_menu_default_menu_links() {
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_taxonomy-manager:admin/structure/taxonomy_manager/voc',
|
||||
);
|
||||
// Exported menu link: navigation_user-account:user
|
||||
// Exported menu link: navigation_user-account:user.
|
||||
$menu_links['navigation_user-account:user'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'user',
|
||||
@@ -426,46 +431,6 @@ function materio_administration_menu_default_menu_links() {
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_users:admin/people
|
||||
$menu_links['navigation_users:admin/people'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/people',
|
||||
'router_path' => 'admin/people',
|
||||
'link_title' => 'Users',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_users:admin/people',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -39,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_users:admin/users
|
||||
$menu_links['navigation_users:admin/users'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/users',
|
||||
'router_path' => 'admin/users',
|
||||
'link_title' => 'Users',
|
||||
'options' => array(
|
||||
'attributes' => array(),
|
||||
'identifier' => 'navigation_users:admin/users',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -44,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
@@ -488,7 +453,6 @@ function materio_administration_menu_default_menu_links() {
|
||||
t('Subscriptions newsletter');
|
||||
t('Tag Libres');
|
||||
t('User account');
|
||||
t('Users');
|
||||
t('customers');
|
||||
|
||||
return $menu_links;
|
||||
|
@@ -10,10 +10,26 @@
|
||||
function materio_administration_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'access admin theme'.
|
||||
$permissions['access admin theme'] = array(
|
||||
'name' => 'access admin theme',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'admin_theme',
|
||||
);
|
||||
|
||||
// Exported permission: 'access administration menu'.
|
||||
$permissions['access administration menu'] = array(
|
||||
'name' => 'access administration menu',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -29,6 +45,54 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'workflow_views',
|
||||
);
|
||||
|
||||
// Exported permission: 'access_translation_table_content_type'.
|
||||
$permissions['access_translation_table_content_type'] = array(
|
||||
'name' => 'access_translation_table_content_type',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'access_translation_table_fields'.
|
||||
$permissions['access_translation_table_fields'] = array(
|
||||
'name' => 'access_translation_table_fields',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'access_translation_table_menu'.
|
||||
$permissions['access_translation_table_menu'] = array(
|
||||
'name' => 'access_translation_table_menu',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'access_translation_table_taxonomy'.
|
||||
$permissions['access_translation_table_taxonomy'] = array(
|
||||
'name' => 'access_translation_table_taxonomy',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'access_translations_overview'.
|
||||
$permissions['access_translations_overview'] = array(
|
||||
'name' => 'access_translations_overview',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer entity translation'.
|
||||
$permissions['administer entity translation'] = array(
|
||||
'name' => 'administer entity translation',
|
||||
@@ -42,6 +106,7 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['administer remove_duplicates'] = array(
|
||||
'name' => 'administer remove_duplicates',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'remove_duplicates',
|
||||
@@ -214,6 +279,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'export_translations'.
|
||||
$permissions['export_translations'] = array(
|
||||
'name' => 'export_translations',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'flush caches'.
|
||||
$permissions['flush caches'] = array(
|
||||
'name' => 'flush caches',
|
||||
@@ -223,6 +297,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'admin_menu',
|
||||
);
|
||||
|
||||
// Exported permission: 'import_translations'.
|
||||
$permissions['import_translations'] = array(
|
||||
'name' => 'import_translations',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'participate in workflow'.
|
||||
$permissions['participate in workflow'] = array(
|
||||
'name' => 'participate in workflow',
|
||||
@@ -231,6 +314,9 @@ function materio_administration_user_default_permissions() {
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
|
||||
@@ -242,6 +328,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'workflow_admin_ui',
|
||||
);
|
||||
|
||||
// Exported permission: 'refresh_strings'.
|
||||
$permissions['refresh_strings'] = array(
|
||||
'name' => 'refresh_strings',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'schedule workflow transitions'.
|
||||
$permissions['schedule workflow transitions'] = array(
|
||||
'name' => 'schedule workflow transitions',
|
||||
@@ -251,6 +346,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'workflow',
|
||||
);
|
||||
|
||||
// Exported permission: 'select different theme'.
|
||||
$permissions['select different theme'] = array(
|
||||
'name' => 'select different theme',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'admin',
|
||||
);
|
||||
|
||||
// Exported permission: 'send newsletter'.
|
||||
$permissions['send newsletter'] = array(
|
||||
'name' => 'send newsletter',
|
||||
@@ -328,20 +432,49 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate admin strings'.
|
||||
$permissions['translate admin strings'] = array(
|
||||
'name' => 'translate admin strings',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'i18n_string',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate any entity'.
|
||||
$permissions['translate any entity'] = array(
|
||||
'name' => 'translate any entity',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate content'.
|
||||
$permissions['translate content'] = array(
|
||||
'name' => 'translate content',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate node entities'.
|
||||
$permissions['translate node entities'] = array(
|
||||
'name' => 'translate node entities',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@@ -352,11 +485,43 @@ function materio_administration_user_default_permissions() {
|
||||
$permissions['translate taxonomy_term entities'] = array(
|
||||
'name' => 'translate taxonomy_term entities',
|
||||
'roles' => array(
|
||||
'Translator CN' => 'Translator CN',
|
||||
'Translator EN' => 'Translator EN',
|
||||
'Translator FR' => 'Translator FR',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'entity_translation',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate user-defined strings'.
|
||||
$permissions['translate user-defined strings'] = array(
|
||||
'name' => 'translate user-defined strings',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'i18n_string',
|
||||
);
|
||||
|
||||
// Exported permission: 'translate_strings'.
|
||||
$permissions['translate_strings'] = array(
|
||||
'name' => 'translate_strings',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
// Exported permission: 'update_modules_translations'.
|
||||
$permissions['update_modules_translations'] = array(
|
||||
'name' => 'update_modules_translations',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'translate_perms',
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
||||
|
@@ -5,12 +5,14 @@ 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
|
||||
@@ -24,6 +26,8 @@ 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
|
||||
@@ -58,10 +62,14 @@ features[menu_links][] = navigation_store:http://www.materio.com/fr/admin/store
|
||||
features[menu_links][] = navigation_subscriptions-newsletter:admin/people/simplenews
|
||||
features[menu_links][] = navigation_tag-libres:admin/structure/taxonomy_manager/voc/tag_libres
|
||||
features[menu_links][] = navigation_user-account:user
|
||||
features[menu_links][] = navigation_users:admin/people
|
||||
features[menu_links][] = navigation_users:admin/users
|
||||
features[user_permission][] = access admin theme
|
||||
features[user_permission][] = access administration menu
|
||||
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 entity translation
|
||||
features[user_permission][] = administer remove_duplicates
|
||||
features[user_permission][] = administer workflow
|
||||
@@ -81,9 +89,13 @@ features[user_permission][] = edit original values
|
||||
features[user_permission][] = edit taxonomy_term original values
|
||||
features[user_permission][] = edit taxonomy_term translation shared fields
|
||||
features[user_permission][] = edit translation shared fields
|
||||
features[user_permission][] = export_translations
|
||||
features[user_permission][] = flush caches
|
||||
features[user_permission][] = import_translations
|
||||
features[user_permission][] = participate in workflow
|
||||
features[user_permission][] = refresh_strings
|
||||
features[user_permission][] = schedule workflow transitions
|
||||
features[user_permission][] = select different theme
|
||||
features[user_permission][] = send newsletter
|
||||
features[user_permission][] = show workflow state form
|
||||
features[user_permission][] = subscribe to newsletters
|
||||
@@ -91,9 +103,14 @@ features[user_permission][] = subscribe to simplenews category 6274
|
||||
features[user_permission][] = subscribe to simplenews category 6374
|
||||
features[user_permission][] = subscribe to simplenews category 6585
|
||||
features[user_permission][] = toggle field translatability
|
||||
features[user_permission][] = translate admin strings
|
||||
features[user_permission][] = translate any entity
|
||||
features[user_permission][] = translate content
|
||||
features[user_permission][] = translate node entities
|
||||
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[variable][] = admin_menu_cache_client
|
||||
features[variable][] = admin_menu_devel_modules_enabled
|
||||
features[variable][] = admin_menu_devel_modules_skip
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user