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/php.inc
20 20
);
21 21

  
22 22
/**
23
 * Settings form for the 'by perm' access plugin
23
 * Settings form for the 'by perm' access plugin.
24 24
 *
25 25
 * @todo Need a way to provide a list of all available contexts to be used by
26 26
 *       the eval-ed PHP.
......
38 38
    '#type' => 'textarea',
39 39
    '#title' => t('PHP Code'),
40 40
    '#default_value' => $conf['php'],
41
    '#description' =>  t('Access will be granted if the following PHP code returns <code>TRUE</code>. Do not include &lt;?php ?&gt;. Note that executing incorrect PHP-code can break your Drupal site. All contexts will be available in the <em>$contexts</em> variable.'),
41
    '#description' => t('Access will be granted if the following PHP code returns <code>TRUE</code>. Do not include &lt;?php ?&gt;. Note that executing incorrect PHP-code can break your Drupal site. All contexts will be available in the <em>$contexts</em> variable.'),
42 42
  );
43 43
  if (!user_access('use PHP for settings')) {
44 44
    $form['settings']['php']['#disabled'] = TRUE;

Formats disponibles : Unified diff