|
@@ -24,18 +24,16 @@ function fgcf_menu() {
|
|
|
|
|
|
$items = array();
|
|
|
|
|
|
- $items['admin/settings/fg'] = array(
|
|
|
- 'title' => 'France Galop',
|
|
|
- 'description' => 'Réglages des modules France Galop',
|
|
|
+ // 'admin/settings/fg' est défini dans fgrhm, qui est une dépendance de ce module.
|
|
|
+ $items['admin/settings/fg/fgcf'] = array(
|
|
|
+ 'title' => 'Catalogue formations',
|
|
|
+ 'description' => 'Réglages du catalogue de formations',
|
|
|
+ 'type' => MENU_LOCAL_TASK,
|
|
|
'access arguments' => array('administer site configuration'),
|
|
|
'page callback' => 'drupal_get_form',
|
|
|
'page arguments' => array('fgcf_admin_settings'),
|
|
|
'file' => 'fgcf.admin.inc',
|
|
|
- );
|
|
|
- $items['admin/settings/fg/fgcf'] = array(
|
|
|
- 'title' => 'Catalogue formations',
|
|
|
- 'description' => 'Réglages du catalogue de formations',
|
|
|
- 'type' => MENU_DEFAULT_LOCAL_TASK,
|
|
|
+ 'weight' => 0,
|
|
|
);
|
|
|
|
|
|
$items['fgcf'] = array(
|