Projet

Général

Profil

Révision b08fce64

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/colorbox/colorbox.admin.inc
145 145
    '#default_value' => variable_get('colorbox_overlayclose', 1),
146 146
    '#description' => t('Enable closing Colorbox by clicking on the background overlay.'),
147 147
  );
148
  $form['colorbox_custom_settings']['colorbox_returnfocus'] = array(
149
    '#type' => 'checkbox',
150
    '#title' => t('Return focus'),
151
    '#default_value' => variable_get('colorbox_returnfocus', 1),
152
    '#description' => t('Return focus when Colorbox exits to the element it was launched from.'),
153
  );
148 154
  $form['colorbox_custom_settings']['colorbox_maxwidth'] = array(
149 155
    '#type' => 'textfield',
150 156
    '#title' => t('Max width'),
......
266 272
  );
267 273
  $form['colorbox_advanced_settings']['colorbox_mobile_device_width'] = array(
268 274
    '#type' => 'textfield',
269
    '#title' => t('Device with'),
275
    '#title' => t('Device width'),
270 276
    '#default_value' => variable_get('colorbox_mobile_device_width', '480px'),
271 277
    '#size' => 30,
272
    '#description' => t('Set the mobile device max with. Default: 480px.'),
278
    '#description' => t('Set the mobile device max width. Default: 480px.'),
273 279
    '#states' => array(
274 280
      'visible' => array(
275 281
        ':input[name="colorbox_mobile_detect"]' => array('value' => '1'),

Formats disponibles : Unified diff