cms/corpus_module/corpus.module.tmpl
changeset 353 bf1bc6b08c46
parent 346 4cd0f8c936ed
child 394 48458e099b05
equal deleted inserted replaced
352:d8a8c57f36c4 353:bf1bc6b08c46
    14     $items[CORPUS_URL] = array(
    14     $items[CORPUS_URL] = array(
    15         'title'            => 'Recherche',
    15         'title'            => 'Recherche',
    16         'description'      => t('Corpus de la parole'),
    16         'description'      => t('Corpus de la parole'),
    17         'weight'           => -1,
    17         'weight'           => -1,
    18         'page callback'    => 'corpus_page',
    18         'page callback'    => 'corpus_page',
    19         'access arguments' => array(''), // permission
    19         'access arguments' => array('access content'), // permission
    20         'type'             => MENU_NORMAL_ITEM,
    20         'type'             => MENU_NORMAL_ITEM,
    21         'menu_name'        => 'main-menu',
    21         'menu_name'        => 'main-menu',
    22         'options'          => array(
    22         'options'          => array(
    23             'attributes' => array(
    23             'attributes' => array(
    24                 'class' => array('corpus-app-menu')
    24                 'class' => array('corpus-app-menu')
    28     $items[CORPUS_URL.'#/langues'] = array(
    28     $items[CORPUS_URL.'#/langues'] = array(
    29         'title'            => 'Langues',
    29         'title'            => 'Langues',
    30         'description'      => t('Corpus de la parole'),
    30         'description'      => t('Corpus de la parole'),
    31         'weight'           => 0,
    31         'weight'           => 0,
    32         'page callback'    => 'corpus_page',
    32         'page callback'    => 'corpus_page',
    33         'access arguments' => array(''), // permission
    33         'access arguments' => array('access content'), // permission
    34         'type'             => MENU_NORMAL_ITEM,
    34         'type'             => MENU_NORMAL_ITEM,
    35         'menu_name'        => 'main-menu',
    35         'menu_name'        => 'main-menu',
    36         'options'          => array(
    36         'options'          => array(
    37             'attributes' => array(
    37             'attributes' => array(
    38                 'class' => array('corpus-app-sub-menu')
    38                 'class' => array('corpus-app-sub-menu')
    42     $items[CORPUS_URL.'#/cartographie'] = array(
    42     $items[CORPUS_URL.'#/cartographie'] = array(
    43         'title'            => 'Cartographie',
    43         'title'            => 'Cartographie',
    44         'description'      => t('Corpus de la parole'),
    44         'description'      => t('Corpus de la parole'),
    45         'weight'           => 1,
    45         'weight'           => 1,
    46         'page callback'    => 'corpus_page',
    46         'page callback'    => 'corpus_page',
    47         'access arguments' => array(''), // permission
    47         'access arguments' => array('access content'), // permission
    48         'type'             => MENU_NORMAL_ITEM,
    48         'type'             => MENU_NORMAL_ITEM,
    49         'menu_name'        => 'main-menu',
    49         'menu_name'        => 'main-menu',
    50         'options'          => array(
    50         'options'          => array(
    51             'attributes' => array(
    51             'attributes' => array(
    52                 'class' => array('corpus-app-sub-menu')
    52                 'class' => array('corpus-app-sub-menu')
    56     $items[CORPUS_URL.'#/thematiques'] = array(
    56     $items[CORPUS_URL.'#/thematiques'] = array(
    57         'title'            => 'Thematiques',
    57         'title'            => 'Thematiques',
    58         'description'      => t('Corpus de la parole'),
    58         'description'      => t('Corpus de la parole'),
    59         'weight'           => 2,
    59         'weight'           => 2,
    60         'page callback'    => 'corpus_page',
    60         'page callback'    => 'corpus_page',
    61         'access arguments' => array(''), // permission
    61         'access arguments' => array('access content'), // permission
    62         'type'             => MENU_NORMAL_ITEM,
    62         'type'             => MENU_NORMAL_ITEM,
    63         'menu_name'        => 'main-menu',
    63         'menu_name'        => 'main-menu',
    64         'options'          => array(
    64         'options'          => array(
    65             'attributes' => array(
    65             'attributes' => array(
    66                 'class' => array('corpus-app-sub-menu')
    66                 'class' => array('corpus-app-sub-menu')
    70     $items[CORPUS_URL.'#/discours'] = array(
    70     $items[CORPUS_URL.'#/discours'] = array(
    71         'title'            => 'Discours',
    71         'title'            => 'Discours',
    72         'description'      => t('Corpus de la parole'),
    72         'description'      => t('Corpus de la parole'),
    73         'weight'           => 3,
    73         'weight'           => 3,
    74         'page callback'    => 'corpus_page',
    74         'page callback'    => 'corpus_page',
    75         'access arguments' => array(''), // permission
    75         'access arguments' => array('access content'), // permission
    76         'type'             => MENU_NORMAL_ITEM,
    76         'type'             => MENU_NORMAL_ITEM,
    77         'menu_name'        => 'main-menu',
    77         'menu_name'        => 'main-menu',
    78         'options'          => array(
    78         'options'          => array(
    79             'attributes' => array(
    79             'attributes' => array(
    80                 'class' => array('corpus-app-sub-menu')
    80                 'class' => array('corpus-app-sub-menu')
    84     $items[CORPUS_URL.'#/chronologie'] = array(
    84     $items[CORPUS_URL.'#/chronologie'] = array(
    85         'title'            => 'Chronologie',
    85         'title'            => 'Chronologie',
    86         'description'      => t('Corpus de la parole'),
    86         'description'      => t('Corpus de la parole'),
    87         'weight'           => 4,
    87         'weight'           => 4,
    88         'page callback'    => 'corpus_page',
    88         'page callback'    => 'corpus_page',
    89         'access arguments' => array(''), // permission
    89         'access arguments' => array('access content'), // permission
    90         'type'             => MENU_NORMAL_ITEM,
    90         'type'             => MENU_NORMAL_ITEM,
    91         'menu_name'        => 'main-menu',
    91         'menu_name'        => 'main-menu',
    92         'options'          => array(
    92         'options'          => array(
    93             'attributes' => array(
    93             'attributes' => array(
    94                 'class' => array('corpus-app-sub-menu')
    94                 'class' => array('corpus-app-sub-menu')