Révision 08475715
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/panels/plugins/display_renderers/panels_renderer_editor.class.php | ||
---|---|---|
218 | 218 |
function get_display_links() { |
219 | 219 |
$links = array(); |
220 | 220 |
|
221 |
if (user_access('administer panels styles')) { |
|
221 |
if (user_access('administer panels display styles')) {
|
|
222 | 222 |
$style_links = $this->get_style_links('display'); |
223 | 223 |
$links[] = array( |
224 | 224 |
'title' => '<span class="dropdown-header">' . t('Style') . '</span>' . theme_links(array('links' => $style_links, 'attributes' => array(), 'heading' => array())), |
... | ... | |
280 | 280 |
), |
281 | 281 |
); |
282 | 282 |
|
283 |
if (user_access('administer panels styles')) { |
|
283 |
if (user_access('administer panels region styles')) {
|
|
284 | 284 |
$links[] = array( |
285 | 285 |
'title' => '<hr />', |
286 | 286 |
'html' => TRUE, |
Formats disponibles : Unified diff
Weekly update of contrib modules