Révision 29771811
Ajouté par Assos Assos il y a presque 5 ans
drupal7/sites/all/modules/media/includes/media.browser.inc | ||
---|---|---|
117 | 117 |
$settings['media']['browser'][$key] = $plugin_output[$key]['#settings']; |
118 | 118 |
} |
119 | 119 |
|
120 |
// If this is a "ajax" style tab, add the href, otherwise an id. jQuery UI |
|
121 |
// will use an href value to load content from that url
|
|
120 |
// If this is a "ajax" style tab, add the href, otherwise an id. jQuery UI.
|
|
121 |
// Will use an href value to load content from that url.
|
|
122 | 122 |
$tabid = 'media-tab-' . check_plain($key); |
123 | 123 |
if (!empty($plugin_output[$key]['#callback'])) { |
124 | 124 |
$href = $plugin_output[$key]['#callback']; |
... | ... | |
131 | 131 |
); |
132 | 132 |
// Create a div for each tab's content. |
133 | 133 |
$plugin_output[$key] += array( |
134 |
'#prefix' => '<div '. drupal_attributes($attributes) . ">\n", |
|
134 |
'#prefix' => '<div ' . drupal_attributes($attributes) . ">\n",
|
|
135 | 135 |
'#suffix' => "</div>\n", |
136 | 136 |
); |
137 | 137 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules