Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/node/content_types.inc | ||
---|---|---|
11 | 11 |
function node_overview_types() { |
12 | 12 |
$types = node_type_get_types(); |
13 | 13 |
$names = node_type_get_names(); |
14 |
$field_ui = module_exists('field_ui'); |
|
14 |
$field_ui = module_exists('field_ui') && user_access('administer fields');
|
|
15 | 15 |
$header = array(t('Name'), array('data' => t('Operations'), 'colspan' => $field_ui ? '4' : '2')); |
16 | 16 |
$rows = array(); |
17 | 17 |
|
Formats disponibles : Unified diff
Update to Drupal 7.52