Révision 0125e073
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/media/media.views.inc | ||
---|---|---|
98 | 98 |
drupal_add_js(array('media' => array('files' => array_values($files))), 'setting'); |
99 | 99 |
|
100 | 100 |
// Add the browser parameters to the settings and that this display exists. |
101 |
$params = media_get_browser_params(); |
|
101 | 102 |
drupal_add_js(array( |
102 | 103 |
'media' => array( |
103 | 104 |
'browser' => array( |
... | ... | |
126 | 127 |
$vars['wrapper_suffix'] = '</div>'; |
127 | 128 |
$vars['list_type_prefix'] = '<' . $handler->options['type'] . ' id="media-browser-library-list" class="' . implode(' ', $class) . '">'; |
128 | 129 |
$vars['list_type_suffix'] = '</' . $handler->options['type'] . '>'; |
130 |
$vars['aria_role'] = $params['multiselect'] ? 'checkbox' : 'radio'; |
|
129 | 131 |
|
130 | 132 |
// Run theming variables through a standard Views preprocess function. |
131 | 133 |
template_preprocess_views_view_unformatted($vars); |
Formats disponibles : Unified diff
Weekly update of contrib modules