diff --git a/README.md b/README.md index 0b5cd65a5da348c5677ba028603103a4a369d410..dc5dcac29a29347f20a82a680b1ede6c717329b1 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,21 @@ This base theme bridges the gap between Drupal and the [Bootstrap Framework]. ### Features -- [jsDelivr CDN](http://www.jsdelivr.com) for "out-of-the-box" styling and +- [jsDelivr CDN](https://www.jsdelivr.com) for "out-of-the-box" styling and faster page load times. - [Bootswatch](http://bootswatch.com) theme support, if using the CDN. - Glyphicons support via [Icon API](https://www.drupal.org/project/icon). - Extensive integration and template/preprocessor overrides for most of the [Bootstrap Framework] CSS, Components and JavaScript - Theme settings to further enhance the Drupal Bootstrap integration: - - [Breadcrumbs](http://getbootstrap.com/components/#breadcrumbs) - - [Navbar](http://getbootstrap.com/components/#navbar) - - [Popovers](http://getbootstrap.com/javascript/#popovers) - - [Tooltips](http://getbootstrap.com/javascript/#tooltips) - - [Wells](http://getbootstrap.com/components/#wells) (per region) + - [Breadcrumbs](https://getbootstrap.com/docs/3.3/components/#breadcrumbs) + - [Navbar](https://getbootstrap.com/docs/3.3/components/#navbar) + - [Popovers](https://getbootstrap.com/docs/3.3/javascript/#popovers) + - [Tooltips](https://getbootstrap.com/docs/3.3/javascript/#tooltips) + - [Wells](https://getbootstrap.com/docs/3.3/components/#wells) (per region) ### Documentation -Visit the project's [official documentation site](http://drupal-bootstrap.org) +Visit the project's [official documentation site](https://drupal-bootstrap.org) or the markdown files inside the `./docs` folder. -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ diff --git a/composer.json b/composer.json index 0c1dcf9c18ce59ac9172dcf94976e3cbfbeb0948..1d01b3aa7280729e9f43f816bf672ea4e4793a56 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Built to use Bootstrap, a sleek, intuitive, and powerful front-end framework for faster and easier web development.", "type": "drupal-theme", "license": "GPL-2.0", - "homepage": "http://drupal.org/project/bootstrap", + "homepage": "https://www.drupal.org/project/bootstrap", "authors": [ { "name": "Mark Carver (markcarver)", @@ -22,7 +22,7 @@ } ], "support": { - "docs": "http://drupal-bootstrap.org", + "docs": "https://drupal-bootstrap.org", "issues": "https://www.drupal.org/project/issues/bootstrap", "irc": "irc://irc.freenode.org/drupal-bootstrap", "source": "http://cgit.drupalcode.org/bootstrap" diff --git a/docs/FAQ.md b/docs/FAQ.md index 4359ea4d5d9e1d28a4823b96a1e1629773fca62d..1f3be245bd45c92daa209ba31bb5a6b7449ed2f0 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -53,7 +53,7 @@ you are attempting to integrate the base theme with. - [Bootstrap Library](https://www.drupal.org/project/bootstrap_library) - [Display Suite](https://www.drupal.org/project/ds) - [Display Suite Bootstrap Layouts](https://www.drupal.org/project/ds_bootstrap_layouts) -- [LESS module](https://drupal.org/project/less) +- [LESS module](https://www.drupal.org/project/less) - [Panels](https://www.drupal.org/project/panels) - [Panels Bootstrap Layouts](https://www.drupal.org/project/panels_bootstrap_layouts) @@ -63,9 +63,9 @@ you are attempting to integrate the base theme with. **A: No, not "officially"** The [Bootstrap Framework] itself does not officially support older Internet -Explorer [compatibility modes](http://getbootstrap.com/getting-started/#support-ie-compatibility-modes). +Explorer [compatibility modes](https://getbootstrap.com/docs/3.3/getting-started/#support-ie-compatibility-modes). To ensure you are using the latest rendering mode for IE, consider installing -the [HTML5 Tools](https://drupal.org/project/html5_tools) module. +the [HTML5 Tools](https://www.drupal.org/project/html5_tools) module. Internet Explorer 8 requires the use of [Respond.js] to enable media queries (Responsive Web Design). However, [Respond.js] does not work with CSS that is @@ -124,7 +124,7 @@ theme is updated. This makes keeping track of changes next to impossible. Instead, you should create a custom sub-theme that isn't hosted on Drupal.org. [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ [Respond.js]: https://github.com/scottjehl/Respond --- @@ -161,5 +161,5 @@ function hook_update_N() { [Drush]: http://www.drush.org [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com -[jQuery Update]: https://drupal.org/project/jquery_update +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ +[jQuery Update]: https://www.drupal.org/project/jquery_update diff --git a/docs/Getting-Started.md b/docs/Getting-Started.md index 55f50f5c22c9ece89766f6039acf9ee077dfa690..c12eb9d0d7dbce018f669eec2d676c781389cbce 100644 --- a/docs/Getting-Started.md +++ b/docs/Getting-Started.md @@ -23,19 +23,19 @@ Generally speaking, you should really read the entire [Bootstrap Framework] documentation site, if you haven't already. Here are the four basic "sections" that site is split into: -- [Getting Started](http://getbootstrap.com/getting-started) - An overview of +- [Getting Started](https://getbootstrap.com/docs/3.3/getting-started) - An overview of the [Bootstrap Framework], how to download and use, basic templates and examples, and more. -- [CSS](http://getbootstrap.com/css/) - Global CSS settings, fundamental HTML +- [CSS](https://getbootstrap.com/docs/3.3/css/) - Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system. -- [Components](http://getbootstrap.com/components/) - Over a dozen reusable +- [Components](https://getbootstrap.com/docs/3.3/components/) - Over a dozen reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more. -- [JavaScript](http://getbootstrap.com/javascript/) - Bring the +- [JavaScript](https://getbootstrap.com/docs/3.3/javascript/) - Bring the [Bootstrap Framework] components to life with over a dozen custom jQuery plugins. Easily include them all, or one by one. [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com -[jQuery Update]: https://drupal.org/project/jquery_update +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ +[jQuery Update]: https://www.drupal.org/project/jquery_update diff --git a/docs/README.md b/docs/README.md index 0c727b87c0e1b14dc224d63ae9a1f3f8f7651295..730feb7af4af84e78798cee114d3f85f52f63b85 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ - + # Drupal Bootstrap Documentation @@ -47,7 +47,7 @@ documentation. For clarity, we will always attempt to use this word verbosely in one of the following ways: - **[Drupal Bootstrap]** refers to the Drupal base theme project. -- **[Bootstrap Framework](http://getbootstrap.com)** refers to the external +- **[Bootstrap Framework](https://getbootstrap.com/docs/3.3/)** refers to the external front end framework. - **[drupal_bootstrap](https://api.drupal.org/apis/drupal_bootstrap)** refers to Drupal's bootstrapping process or phase. diff --git a/docs/contribute/README.md b/docs/contribute/README.md index 2713fd636d64d84cb996eb0eb216dee10a827073..e9ea5d7f287f9415c11d6db508c0ec76d0fa2b19 100644 --- a/docs/contribute/README.md +++ b/docs/contribute/README.md @@ -8,8 +8,8 @@ topics first before creating an issue in this project's issue queue. Anything that falls within the scope of existing documentation or answered questions will be marked as "Closed (works as designed)" or "Closed (won't fix)". -The [Theme development](https://drupal.org/forum/3) support forum and -[Drupal StackExchange](http://drupal.stackexchange.com) are also amazing +The [Theme development](https://www.drupal.org/forum/3) support forum and +[Drupal StackExchange](https://drupal.stackexchange.com) are also amazing resources for asking questions, learning new techniques and overall general support. @@ -25,7 +25,7 @@ please update it yourself (all logged in users have edit capability). {.alert.alert-info} **Recommended reading:** [How To Solve All Your [Drupal] Problems](http://www.lullabot.com/blog/article/how-solve-all-your-problems) -{.alert.alert-warning} Please, [search the issue queue](https://drupal.org/project/issues/search/bootstrap) +{.alert.alert-warning} Please, [search the issue queue](https://www.drupal.org/project/issues/search/bootstrap) first. **DO NOT** duplicate existing issues. **If you find an existing issue and the issue status is:** @@ -47,8 +47,8 @@ first. **DO NOT** duplicate existing issues. - JavaScript, jQuery, Bootstrap plugins or custom (site specific) plugins - Modules that don't work in multiple themes. File the issue with that module. It is likely they are not using [APIs](https://api.drupal.org) properly, not - following existing [Coding Standards](https://drupal.org/coding-standards) - or not developing with [Best Practices](https://drupal.org/best-practices) in + following existing [Coding Standards](https://www.drupal.org/coding-standards) + or not developing with [Best Practices](https://www.drupal.org/best-practices) in mind. It is actually a rare event when it is a legitimate issue with the [Drupal Bootstrap] project. @@ -62,4 +62,4 @@ Please keep in mind though, this **IS NOT** a "support" channel. It's primary use is to discuss issues and to help fix bugs with the base theme itself. [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ diff --git a/docs/subtheme/README.md b/docs/subtheme/README.md index b3db19a5aef410d52701584b4b4f9a83e6c42186..222f6b5d0195d2499eefaab17d50f7cc8e5c3052 100644 --- a/docs/subtheme/README.md +++ b/docs/subtheme/README.md @@ -56,7 +56,7 @@ set default` link next to your newly created sub-theme. for additional documentation pertaining to the chosen Starterkit. [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com -[jsDelivr CDN]: http://www.jsdelivr.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ +[jsDelivr CDN]: https://www.jsdelivr.com [Less]: http://lesscss.org [Sass]: http://sass-lang.com diff --git a/docs/subtheme/settings.md b/docs/subtheme/settings.md index c545421e697f1616e5c25b87820bcbf2abfbe783..16fbb1aa9edf1c5131b7903ac05ec299aa6ffec2 100644 --- a/docs/subtheme/settings.md +++ b/docs/subtheme/settings.md @@ -154,4 +154,4 @@ base theme: {.table.table-striped} [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ diff --git a/includes/alter.inc b/includes/alter.inc index 04e2e4f5672bf0a0e8c203974bc64f48b077d5cf..cd441584c5a2a9bda5871099ef32690c25f1c9e0 100644 --- a/includes/alter.inc +++ b/includes/alter.inc @@ -102,7 +102,7 @@ function bootstrap_element_info_alter(&$info) { // Setup a default "icon" variable. This allows #icon to be passed // to every template and theme function. - // @see https://drupal.org/node/2219965 + // @see https://www.drupal.org/node/2219965 $element['#icon'] = NULL; $element['#icon_position'] = 'before'; @@ -364,7 +364,7 @@ function bootstrap_js_alter(&$js) { } // Ensure jQuery Once is always loaded. - // @see https://drupal.org/node/2149561 + // @see https://www.drupal.org/node/2149561 if (empty($js['misc/jquery.once.js'])) { $jquery_once = drupal_get_library('system', 'jquery.once'); $js['misc/jquery.once.js'] = $jquery_once['js']['misc/jquery.once.js']; diff --git a/includes/cdn.inc b/includes/cdn.inc index b1d970b01dd7d69df797d2c2324648facbcc4184..e6eb226495d8d75849bac70d77d99ff86cdff5f6 100644 --- a/includes/cdn.inc +++ b/includes/cdn.inc @@ -47,11 +47,11 @@ function bootstrap_cdn_provider($provider = NULL, $reset = FALSE) { 'title' => t('Custom'), ), 'jsdelivr' => array( - 'api' => 'http://api.jsdelivr.com/v1/bootstrap/libraries', + 'api' => 'https://api.jsdelivr.com/v1/bootstrap/libraries', 'title' => t('jsDelivr'), - 'description' => t('

jsDelivr Logo

jsDelivr is a free multi-CDN infrastructure that uses MaxCDN, Cloudflare and many others to combine their powers for the good of the open source community... read more

', array( - '!jsdelivr' => 'http://www.jsdelivr.com', - '!jsdelivr_about' => 'http://www.jsdelivr.com/about', + 'description' => t('

jsDelivr Logo

jsDelivr is a free multi-CDN infrastructure that uses MaxCDN, Cloudflare and many others to combine their powers for the good of the open source community... read more

', array( + '!jsdelivr' => 'https://www.jsdelivr.com', + '!jsdelivr_about' => 'https://www.jsdelivr.com/about', '!maxcdn' => 'http://www.maxcdn.com', '!cloudflare' => 'http://www.cloudflare.com', )), @@ -488,7 +488,7 @@ function bootstrap_bootstrap_cdn_provider_jsdelivr_settings_form_alter(&$element '#title' => t('Theme'), '#description' => t('Choose the example Bootstrap Theme provided by Bootstrap or one of the many, many Bootswatch themes!', array( '!bootswatch' => 'https://bootswatch.com', - '!bootstrap_theme' => 'http://getbootstrap.com/examples/theme/', + '!bootstrap_theme' => 'https://getbootstrap.com/docs/3.3/examples/theme/', )), '#default_value' => bootstrap_setting('cdn_jsdelivr_theme', $theme), '#options' => $themes, diff --git a/includes/icons.inc b/includes/icons.inc index c5b177ae43d88aaf6417f168e7236c71ff38f882..8735e47d11ef9acfc0ea4b10eeff3baa166012b6 100644 --- a/includes/icons.inc +++ b/includes/icons.inc @@ -14,7 +14,7 @@ require_once dirname(__FILE__) . '/common.inc'; function bootstrap_icon_providers() { $providers['bootstrap'] = array( 'title' => t('Bootstrap'), - 'url' => 'http://getbootstrap.com/components/#glyphicons', + 'url' => 'https://getbootstrap.com/docs/3.3/components/#glyphicons', ); return $providers; } diff --git a/includes/registry.inc b/includes/registry.inc index a8319741d9341c8741f5c7e3a00fcf94b211ca23..e3b5c7e3f4baafda82fcb4e968e15f08dea4e38c 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -108,7 +108,7 @@ function bootstrap_theme_registry_alter(&$registry) { } // Inject the "footer" variable default in the existing "table" hook. - // @see https://drupal.org/node/806982 + // @see https://www.drupal.org/node/806982 // @todo Make this discoverable in some way instead of a manual injection. $registry['table']['variables']['footer'] = NULL; @@ -248,14 +248,14 @@ function _bootstrap_process_theme_registry(&$registry, $themes) { // Setup a default "context" variable. This allows #context to be passed // to every template and theme function. - // @see https://drupal.org/node/2035055 + // @see https://www.drupal.org/node/2035055 if (isset($info['variables']) && !isset($info['variables']['context'])) { $registry[$hook]['variables']['context'] = array(); } // Setup a default "icon" variable. This allows #icon to be passed // to every template and theme function. - // @see https://drupal.org/node/2219965 + // @see https://www.drupal.org/node/2219965 if (isset($info['variables']) && !isset($info['variables']['icon'])) { $registry[$hook]['variables']['icon'] = NULL; } @@ -329,7 +329,7 @@ function _bootstrap_registry_sort_phase_functions(&$functions, $hook, $phase, $t * @return array * The functions found, suitable for returning from hook_theme; * - * @see https://drupal.org/node/939462 + * @see https://www.drupal.org/node/939462 * @see drupal_find_theme_functions() */ function _bootstrap_process_theme_registry_suggestions(&$registry, $themes) { diff --git a/js/bootstrap.admin.js b/js/bootstrap.admin.js index 16a2f5ae941c59d8b89ca8e5f4db0c9108967bb5..db815529eb80fcb6d1c6271619c59f6e1ee1ae5e 100644 --- a/js/bootstrap.admin.js +++ b/js/bootstrap.admin.js @@ -111,7 +111,7 @@ // Unfortunately getbootstrap.com does not have HTTPS enabled, so the // preview image cannot be protocol relative. // @todo Make protocol relative if/when Bootstrap enables HTTPS. - $preview.append('' + Drupal.t('Preview of the Bootstrap theme') + ''); + $preview.append('' + Drupal.t('Preview of the Bootstrap theme') + ''); // Retrieve the Bootswatch theme preview images. // @todo This should be moved into PHP. diff --git a/starterkits/cdn/README.md b/starterkits/cdn/README.md index da5f4397c73e82549c932c0c1bc2350a36e7e3e5..ecc238168e4bcc0f345656c5fbe62257d1bda028 100644 --- a/starterkits/cdn/README.md +++ b/starterkits/cdn/README.md @@ -25,5 +25,5 @@ Please refer to the @link subtheme_settings Sub-theme Settings @endlink topic. Please refer to the @link registry Theme Registry @endlink topic. [Drupal Bootstrap]: https://www.drupal.org/project/bootstrap -[Bootstrap Framework]: http://getbootstrap.com -[jsDelivr CDN]: http://www.jsdelivr.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ +[jsDelivr CDN]: https://www.jsdelivr.com diff --git a/starterkits/less/README.md b/starterkits/less/README.md index 187ec2b101bcdd40cc4d2a7494d4c463657e4079..1122bc30b3056252b1d64119932fab3446f3c054 100644 --- a/starterkits/less/README.md +++ b/starterkits/less/README.md @@ -58,6 +58,6 @@ the same file name, using a different extension of course). - @link theme_settings Theme Settings @endlink - @link registry Theme Registry @endlink -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ [Bootstrap Framework Source Files]: https://github.com/twbs/bootstrap/releases [Less]: http://lesscss.org diff --git a/starterkits/less/less/overrides.less b/starterkits/less/less/overrides.less index 408480ee0b1466538caa1d74a7055f83524689a7..a9a34e541377f3ae5dd073fd1e4f16fb440d4649 100644 --- a/starterkits/less/less/overrides.less +++ b/starterkits/less/less/overrides.less @@ -46,7 +46,7 @@ html { } body { // Fix horizontal scrolling on iOS devices. - // http://drupal.org/node/1870076 + // https://www.drupal.org/node/1870076 position: relative; &.admin-expanded.admin-vertical.admin-nw .navbar, &.admin-expanded.admin-vertical.admin-sw .navbar { diff --git a/starterkits/sass/README.md b/starterkits/sass/README.md index 61d4439fabbe06798e10ade2108b62be50fce88e..6fdc97b41643b32eb5afb769c7d5164d81af8d09 100644 --- a/starterkits/sass/README.md +++ b/starterkits/sass/README.md @@ -53,6 +53,6 @@ name, using a different extension of course). - @link subtheme_settings Theme Settings @endlink - @link registry Theme Registry @endlink -[Bootstrap Framework]: http://getbootstrap.com +[Bootstrap Framework]: https://getbootstrap.com/docs/3.3/ [Bootstrap Framework Source Files]: https://github.com/twbs/bootstrap-sass [Sass]: http://sass-lang.com diff --git a/starterkits/sass/scss/_overrides.scss b/starterkits/sass/scss/_overrides.scss index e4a33e0be711c804537839a85e104e899ee662af..7d0c9ae04afd91b401d82ca9fe4ab6d0a7850490 100644 --- a/starterkits/sass/scss/_overrides.scss +++ b/starterkits/sass/scss/_overrides.scss @@ -46,7 +46,7 @@ html { } body { // Fix horizontal scrolling on iOS devices. - // http://drupal.org/node/1870076 + // https://www.drupal.org/node/1870076 position: relative; &.admin-expanded.admin-vertical.admin-nw .navbar, &.admin-expanded.admin-vertical.admin-sw .navbar { diff --git a/template.php b/template.php index eb9745696a5d28ae39f6073b67205774e08c12cb..396d2daca0597de7f92e45249f0184678d6fb1ff 100644 --- a/template.php +++ b/template.php @@ -15,7 +15,7 @@ * the `./templates` folder. This is a highly automated and complex system * designed to only load the necessary files when a given theme hook is invoked. * - * Visit this project's official documentation site, http://drupal-bootstrap.org + * Visit this project's official documentation site, https://drupal-bootstrap.org * or the markdown files inside the `./docs` folder. * * @see _bootstrap_theme() diff --git a/templates/system/html-tag.vars.php b/templates/system/html-tag.vars.php index 3512be24e136a2e83f2fb37689dbab063425793c..46d1034183edecdef9aba717ea8c9f10f0b6fcbe 100644 --- a/templates/system/html-tag.vars.php +++ b/templates/system/html-tag.vars.php @@ -21,7 +21,7 @@ function bootstrap_process_html_tag(&$variables) { // Remove default "type" attribute. Leave others unaffected as it may be // needed and used for other purposes. // @see http://stackoverflow.com/a/5265361/1226717 - // @see https://drupal.org/node/2201779 + // @see https://www.drupal.org/node/2201779 $types = array( // @see http://www.w3.org/TR/html5/document-metadata.html#attr-style-type 'style' => 'text/css', diff --git a/templates/webform/webform-element.vars.php b/templates/webform/webform-element.vars.php index 765e78cefbb46386e12b1a71442be685f63db436..3f4c4b876d17f5d9025fccd5471201921360c9e7 100644 --- a/templates/webform/webform-element.vars.php +++ b/templates/webform/webform-element.vars.php @@ -20,7 +20,7 @@ function bootstrap_preprocess_webform_element(&$variables) { $wrapper_attributes = $element['#wrapper_attributes']; } - // See http://getbootstrap.com/css/#forms-controls. + // See https://getbootstrap.com/docs/3.3/css/#forms-controls. if (isset($element['#type'])) { if ($element['#type'] === 'radio') { $wrapper_attributes['class'][] = 'radio'; diff --git a/theme-settings.php b/theme-settings.php index 67d1d9337ba00a4714a412d87bc71e51d43592df..b8ab2f9b01df595c5cf5068b81f275f57720c752 100644 --- a/theme-settings.php +++ b/theme-settings.php @@ -20,7 +20,7 @@ bootstrap_include('bootstrap', 'includes/cdn.inc'); function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_id = NULL) { // Do not add Bootstrap specific settings to non-bootstrap based themes, // including a work-around for a core bug affecting admin themes. - // @see https://drupal.org/node/943212 + // @see https://www.drupal.org/node/943212 $theme = !empty($form_state['build_info']['args'][0]) ? $form_state['build_info']['args'][0] : FALSE; if (isset($form_id) || $theme === FALSE || !in_array('bootstrap', _bootstrap_get_base_themes($theme, TRUE))) { return; @@ -78,7 +78,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#title' => t('Fluid container'), '#default_value' => bootstrap_setting('fluid_container', $theme), '#description' => t('Use .container-fluid class. See Fluid container', array( - '!url' => 'http://getbootstrap.com/css/#grid-example-fluid', + '!url' => 'https://getbootstrap.com/docs/3.3/css/#grid-example-fluid', )), ); @@ -105,8 +105,8 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#title' => t('Colorize Buttons'), '#default_value' => bootstrap_setting('button_colorize', $theme), '#description' => t('Adds classes to buttons based on their text value. See: Buttons and hook_bootstrap_colorize_text_alter()', array( - '!bootstrap_url' => 'http://getbootstrap.com/css/#buttons', - '!api_url' => 'http://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter', + '!bootstrap_url' => 'https://getbootstrap.com/docs/3.3/css/#buttons', + '!api_url' => 'https://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter', )), ); $form['general']['buttons']['bootstrap_button_iconize'] = array( @@ -114,7 +114,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#title' => t('Iconize Buttons'), '#default_value' => bootstrap_setting('button_iconize', $theme), '#description' => t('Adds icons to buttons based on the text value. See: hook_bootstrap_iconize_text_alter()', array( - '!api_url' => 'http://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter', + '!api_url' => 'https://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter', )), ); @@ -171,7 +171,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#type' => 'select', '#title' => t('Default image shape'), '#description' => t('Add classes to an <img> element to easily style images in any project. Note: Internet Explorer 8 lacks support for rounded corners. See: Image Shapes', array( - '!bootstrap_url' => 'http://getbootstrap.com/css/#images-shapes', + '!bootstrap_url' => 'https://getbootstrap.com/docs/3.3/css/#images-shapes', )), '#default_value' => bootstrap_setting('image_shape', $theme), '#empty_option' => t('None'), @@ -336,7 +336,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#type' => 'fieldset', '#title' => t('Region wells'), '#description' => t('Enable the .well, .well-sm or .well-lg classes for specified regions. See: documentation on Bootstrap Wells.', array( - '!wells' => 'http://getbootstrap.com/components/#wells', + '!wells' => 'https://getbootstrap.com/docs/3.3/components/#wells', )), '#collapsible' => TRUE, '#collapsed' => TRUE, @@ -520,7 +520,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#type' => 'fieldset', '#title' => t('Tooltips'), '#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 Bootstrap tooltips for more documentation.', array( - '!url' => 'http://getbootstrap.com/javascript/#tooltips', + '!url' => 'https://getbootstrap.com/docs/3.3/javascript/#tooltips', )), '#collapsible' => TRUE, '#collapsed' => TRUE, @@ -616,7 +616,7 @@ function bootstrap_form_system_theme_settings_alter(&$form, $form_state, $form_i '#title' => t('Suppress jQuery version error message'), '#default_value' => bootstrap_setting('toggle_jquery_error', $theme), '#description' => t('Enable this if the version of jQuery has been upgraded to 1.9+ using a method other than the jQuery Update module.', array( - '!jquery_update' => 'https://drupal.org/project/jquery_update', + '!jquery_update' => 'https://www.drupal.org/project/jquery_update', )), );