Projet

Général

Profil

Révision 9525582e

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

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/theme-settings.php
20 20
function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_id = NULL) {
21 21
  // Do not add Bootstrap specific settings to non-bootstrap based themes,
22 22
  // including a work-around for a core bug affecting admin themes.
23
  // @see https://drupal.org/node/943212
23
  // @see https://www.drupal.org/node/943212
24 24
  $theme = !empty($form_state['build_info']['args'][0]) ? $form_state['build_info']['args'][0] : FALSE;
25 25
  if (isset($form_id) || $theme === FALSE || !in_array('bootstrap', _bootstrap_get_base_themes($theme, TRUE))) {
26 26
    return;
......
78 78
    '#title' => t('Fluid container'),
79 79
    '#default_value' => bootstrap_setting('fluid_container', $theme),
80 80
    '#description' => t('Use <code>.container-fluid</code> class. See <a href="!url">Fluid container</a>', array(
81
      '!url' => 'http://getbootstrap.com/css/#grid-example-fluid',
81
      '!url' => 'https://getbootstrap.com/docs/3.3/css/#grid-example-fluid',
82 82
    )),
83 83
  );
84 84

  
......
105 105
    '#title' => t('Colorize Buttons'),
106 106
    '#default_value' => bootstrap_setting('button_colorize', $theme),
107 107
    '#description' => t('Adds classes to buttons based on their text value. See: <a href="!bootstrap_url" target="_blank">Buttons</a> and <a href="!api_url" target="_blank">hook_bootstrap_colorize_text_alter()</a>', array(
108
      '!bootstrap_url' => 'http://getbootstrap.com/css/#buttons',
109
      '!api_url' => 'http://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter',
108
      '!bootstrap_url' => 'https://getbootstrap.com/docs/3.3/css/#buttons',
109
      '!api_url' => 'https://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter',
110 110
    )),
111 111
  );
112 112
  $form['general']['buttons']['bootstrap_button_iconize'] = array(
......
114 114
    '#title' => t('Iconize Buttons'),
115 115
    '#default_value' => bootstrap_setting('button_iconize', $theme),
116 116
    '#description' => t('Adds icons to buttons based on the text value. See: <a href="!api_url" target="_blank">hook_bootstrap_iconize_text_alter()</a>', array(
117
      '!api_url' => 'http://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter',
117
      '!api_url' => 'https://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter',
118 118
    )),
119 119
  );
120 120

  
......
171 171
    '#type' => 'select',
172 172
    '#title' => t('Default image shape'),
173 173
    '#description' => t('Add classes to an <code>&lt;img&gt;</code> element to easily style images in any project. Note: Internet Explorer 8 lacks support for rounded corners. See: <a href="!bootstrap_url" target="_blank">Image Shapes</a>', array(
174
      '!bootstrap_url' => 'http://getbootstrap.com/css/#images-shapes',
174
      '!bootstrap_url' => 'https://getbootstrap.com/docs/3.3/css/#images-shapes',
175 175
    )),
176 176
    '#default_value' => bootstrap_setting('image_shape', $theme),
177 177
    '#empty_option' => t('None'),
......
336 336
    '#type' => 'fieldset',
337 337
    '#title' => t('Region wells'),
338 338
    '#description' => t('Enable the <code>.well</code>, <code>.well-sm</code> or <code>.well-lg</code> classes for specified regions. See: documentation on <a href="!wells" target="_blank">Bootstrap Wells</a>.', array(
339
      '!wells' => 'http://getbootstrap.com/components/#wells',
339
      '!wells' => 'https://getbootstrap.com/docs/3.3/components/#wells',
340 340
    )),
341 341
    '#collapsible' => TRUE,
342 342
    '#collapsed' => TRUE,
......
520 520
    '#type' => 'fieldset',
521 521
    '#title' => t('Tooltips'),
522 522
    '#description' => t('Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don\'t rely on images, use CSS3 for animations, and data-attributes for local title storage. See <a href="!url" target="_blank">Bootstrap tooltips</a> for more documentation.', array(
523
      '!url' => 'http://getbootstrap.com/javascript/#tooltips',
523
      '!url' => 'https://getbootstrap.com/docs/3.3/javascript/#tooltips',
524 524
    )),
525 525
    '#collapsible' => TRUE,
526 526
    '#collapsed' => TRUE,
......
616 616
    '#title' => t('Suppress jQuery version error message'),
617 617
    '#default_value' => bootstrap_setting('toggle_jquery_error', $theme),
618 618
    '#description' => t('Enable this if the version of jQuery has been upgraded to 1.9+ using a method other than the <a href="!jquery_update" target="_blank">jQuery Update</a> module.', array(
619
      '!jquery_update' => 'https://drupal.org/project/jquery_update',
619
      '!jquery_update' => 'https://www.drupal.org/project/jquery_update',
620 620
    )),
621 621
  );
622 622

  

Formats disponibles : Unified diff