Projet

Général

Profil

Révision 5a7e6170

Ajouté par Florent Torregrosa il y a environ 10 ans

Update :

  • panels : 7.x-3.3 -> 7.x-3.4
  • pdf_reader : 7.x-1.0-rc4 -> 7.x-1.0-rc5

Voir les différences:

drupal7/sites/all/modules/panels/includes/callbacks.inc
172 172
    }
173 173
  }
174 174

  
175
  ctools_include('plugins', 'panels');
176
  $pipelines = panels_get_renderer_pipelines();
177
  $options = array();
178
  foreach ($pipelines as $key => $value) {
179
    $options[$key] = $value->admin_title;
180
  }
181
  if (count($options) > 1) {
182
    $form['panels_renderer_default'] = array(
183
      '#type' => 'select',
184
      '#title' => t('Default renderer'),
185
      '#options' => $options,
186
      '#default_value' => variable_get('panels_renderer_default', 'standard'),
187
      '#description' => t('The default renderer for new panel pages.'),
188
    );
189
  }
190

  
175 191
  if (empty($form)) {
176 192
    return array('#value' => t('There are currently no settings to change, but additional plugins or modules may provide them in the future.'));
177 193
  }

Formats disponibles : Unified diff