Révision 6a93dd76
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/flag/flag.tokens.inc | ||
---|---|---|
216 | 216 |
$global_types = $variables['global_types']; |
217 | 217 |
|
218 | 218 |
if (module_exists('token')) { |
219 |
return theme('token_tree', array('token_types' => $types, 'global_types' => $global_types)); |
|
219 |
return theme('token_tree', array('token_types' => $types, 'global_types' => $global_types, 'dialog' => TRUE));
|
|
220 | 220 |
} |
221 | 221 |
else { |
222 | 222 |
return '<p><em>' . t("Note: You don't have the <a href='@token-url'>Token</a> module installed, so the list of available tokens isn't shown here. You don't have to install <a href='@token-url'>Token</a> to be able to use tokens, but if you have it installed, and enabled, you'll be able to enjoy an interactive tokens browser.", array('@token-url' => 'http://drupal.org/project/token')) . '</em></p>'; |
Formats disponibles : Unified diff
Weekly update of contrib modules