Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/access/term.inc
22 22
);
23 23

  
24 24
/**
25
 * Settings form for the 'by term' access plugin
25
 * Settings form for the 'by term' access plugin.
26 26
 */
27 27
function ctools_term_ctools_access_settings($form, &$form_state, $conf) {
28 28
  // If no configuration was saved before, set some defaults.
......
51 51
  // A note: Dependency works strangely on these forms as they have never been
52 52
  // updated to a more modern system so they are not individual forms of their
53 53
  // own like the content types.
54

  
55 54
  $form['settings']['#tree'] = TRUE;
56 55

  
57 56
  // Loop over each of the configured vocabularies.
......
124 123
  return format_plural(count($terms),
125 124
    '@term can be the term "@terms"',
126 125
    '@term can be one of these terms: @terms',
127
    array('@terms' => implode(', ', $terms),
128
      '@term' => $context->identifier));
126
    array(
127
      '@terms' => implode(', ', $terms),
128
      '@term' => $context->identifier,
129
    ));
129 130
}

Formats disponibles : Unified diff