Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/filter/filter.module | ||
---|---|---|
348 | 348 |
foreach (filter_formats() as $format) { |
349 | 349 |
$permission = filter_permission_name($format); |
350 | 350 |
if (!empty($permission)) { |
351 |
// Only link to the text format configuration page if the user who is |
|
352 |
// viewing this will have access to that page. |
|
353 |
$format_name_replacement = user_access('administer filters') ? l($format->name, 'admin/config/content/formats/' . $format->format) : drupal_placeholder($format->name); |
|
351 |
$format_name_replacement = l($format->name, 'admin/config/content/formats/' . $format->format); |
|
354 | 352 |
$perms[$permission] = array( |
355 | 353 |
'title' => t("Use the !text_format text format", array('!text_format' => $format_name_replacement,)), |
356 | 354 |
'description' => drupal_placeholder(t('Warning: This permission may have security implications depending on how the text format is configured.')), |
Formats disponibles : Unified diff
Update core to 7.36