Révision 2545992a
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/panels/plugins/display_renderers/panels_renderer_standard.class.php | ||
---|---|---|
621 | 621 |
// Pass long the css_id that is usually available. |
622 | 622 |
if (!empty($pane->css['css_id'])) { |
623 | 623 |
$id = ctools_context_keyword_substitute($pane->css['css_id'], array(), $this->display->context); |
624 |
$content->css_id = drupal_html_id($id);
|
|
624 |
$content->css_id = check_plain($id);
|
|
625 | 625 |
} |
626 | 626 |
|
627 | 627 |
// Pass long the css_class that is usually available. |
628 | 628 |
if (!empty($pane->css['css_class'])) { |
629 | 629 |
$class = ctools_context_keyword_substitute($pane->css['css_class'], array(), $this->display->context, array('css safe' => TRUE)); |
630 |
$content->css_class = check_plain(drupal_strtolower($class));
|
|
630 |
$content->css_class = check_plain($class);
|
|
631 | 631 |
} |
632 | 632 |
} |
633 | 633 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules