admin fixe after martin feedbacks
This commit is contained in:
@@ -0,0 +1,284 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* admin.features.menu_links.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_links().
|
||||
*/
|
||||
function admin_menu_default_menu_links() {
|
||||
$menu_links = array();
|
||||
|
||||
// Exported menu link: navigation_add-content:node/add.
|
||||
$menu_links['navigation_add-content:node/add'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add',
|
||||
'router_path' => 'node/add',
|
||||
'link_title' => 'Add content',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_add-content:node/add',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -50,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_contenu:admin/content/nodes',
|
||||
);
|
||||
// Exported menu link: navigation_compose-tips:filter/tips.
|
||||
$menu_links['navigation_compose-tips:filter/tips'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'filter/tips',
|
||||
'router_path' => 'filter/tips',
|
||||
'link_title' => 'Compose tips',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_compose-tips:filter/tips',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -45,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_content:admin/content/nodes.
|
||||
$menu_links['navigation_content:admin/content/nodes'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/content/nodes',
|
||||
'router_path' => 'admin/content',
|
||||
'link_title' => 'Content',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
'identifier' => 'navigation_content:admin/content/nodes',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -48,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_dashboard:admin/dashboard.
|
||||
$menu_links['navigation_dashboard:admin/dashboard'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/dashboard',
|
||||
'router_path' => 'admin/dashboard',
|
||||
'link_title' => 'dashboard',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
'identifier' => 'navigation_dashboard:admin/dashboard',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -49,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_documentaire:node/add/documentair.
|
||||
$menu_links['navigation_documentaire:node/add/documentair'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/documentair',
|
||||
'router_path' => 'node/add/documentair',
|
||||
'link_title' => 'Documentaire',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_documentaire:node/add/documentair',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
|
||||
);
|
||||
// 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(
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
'alter' => TRUE,
|
||||
'identifier' => 'navigation_log-out:user/logout',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 10,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
'parent_identifier' => 'navigation_mon-compte:user',
|
||||
);
|
||||
// Exported menu link: navigation_media:admin/content/medias.
|
||||
$menu_links['navigation_media:admin/content/medias'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'admin/content/medias',
|
||||
'router_path' => 'admin/content',
|
||||
'link_title' => 'Media',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
'identifier' => 'navigation_media:admin/content/medias',
|
||||
),
|
||||
'module' => 'menu',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -46,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_page:node/add/page.
|
||||
$menu_links['navigation_page:node/add/page'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/page',
|
||||
'router_path' => 'node/add/page',
|
||||
'link_title' => 'Page',
|
||||
'options' => array(
|
||||
'attributes' => array(
|
||||
'title' => 'Use this content type to add static pages like "about" "contact" etc',
|
||||
),
|
||||
'identifier' => 'navigation_page:node/add/page',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_pisode:node/add/episode.
|
||||
$menu_links['navigation_pisode:node/add/episode'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/episode',
|
||||
'router_path' => 'node/add/episode',
|
||||
'link_title' => 'Épisode',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_pisode:node/add/episode',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_thematique:node/add/thematique.
|
||||
$menu_links['navigation_thematique:node/add/thematique'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'node/add/thematique',
|
||||
'router_path' => 'node/add/thematique',
|
||||
'link_title' => 'Thematique',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_thematique:node/add/thematique',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
|
||||
);
|
||||
// Exported menu link: navigation_user-account:user.
|
||||
$menu_links['navigation_user-account:user'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'user',
|
||||
'router_path' => 'user',
|
||||
'link_title' => 'User account',
|
||||
'options' => array(
|
||||
'alter' => TRUE,
|
||||
'attributes' => array(
|
||||
'title' => '',
|
||||
),
|
||||
'identifier' => 'navigation_user-account:user',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 1,
|
||||
'expanded' => 0,
|
||||
'weight' => -50,
|
||||
'customized' => 1,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 1,
|
||||
);
|
||||
// Exported menu link: navigation_user-list:profile.
|
||||
$menu_links['navigation_user-list:profile'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'profile',
|
||||
'router_path' => 'profile',
|
||||
'link_title' => 'User list',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_user-list:profile',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 1,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => 0,
|
||||
'customized' => 0,
|
||||
'language' => 'und',
|
||||
'menu_links_customized' => 0,
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Add content');
|
||||
t('Compose tips');
|
||||
t('Content');
|
||||
t('Documentaire');
|
||||
t('Log out');
|
||||
t('Media');
|
||||
t('Page');
|
||||
t('Thematique');
|
||||
t('User account');
|
||||
t('User list');
|
||||
t('dashboard');
|
||||
t('Épisode');
|
||||
|
||||
return $menu_links;
|
||||
}
|
||||
Reference in New Issue
Block a user