Révision 08475715
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/panels/panels_ipe/panels_ipe.module | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
// Add option to configure style in IPE |
99 |
if (user_access('administer panels styles')) { |
|
99 |
if (user_access('administer panels pane styles')) {
|
|
100 | 100 |
$vars['links']['style'] = array( |
101 | 101 |
'title' => '<span>' . t('Style') . '</span>', |
102 | 102 |
'href' => $renderer->get_url('style-type', 'pane', $pane->pid), |
... | ... | |
167 | 167 |
$vars['links'] = ''; |
168 | 168 |
|
169 | 169 |
// Add option to configure style in IPE |
170 |
if (user_access('administer panels styles')) { |
|
170 |
if (user_access('administer panels region styles')) {
|
|
171 | 171 |
$vars['links']['style'] = array( |
172 | 172 |
'title' => '<span>' . t('Region style') . '</span>', |
173 | 173 |
'href' => $renderer->get_url('style-type', 'region', $region_id), |
Formats disponibles : Unified diff
Weekly update of contrib modules