summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2018-01-13 00:46:01 -0600
committerMark Carver2018-01-13 00:46:01 -0600
commitf8050615faa115364779d1d67686737f758ca482 (patch)
tree6d208528337a380e3a81becae46a664fd01aba69
parentbb43013da3cde6b8b02897f7737d48c541b321f5 (diff)
Issue #2923399 by AdamPS, markcarver: Update links to proper URLs
Signed-off-by: Mark Carver <mark.carver@me.com>
-rw-r--r--README.md16
-rw-r--r--composer.json4
-rw-r--r--docs/FAQ.md12
-rw-r--r--docs/Getting-Started.md12
-rw-r--r--docs/README.md4
-rw-r--r--docs/contribute/README.md12
-rw-r--r--docs/subtheme/README.md4
-rw-r--r--docs/subtheme/settings.md2
-rw-r--r--includes/alter.inc4
-rw-r--r--includes/cdn.inc10
-rw-r--r--includes/icons.inc2
-rw-r--r--includes/registry.inc8
-rw-r--r--js/bootstrap.admin.js2
-rw-r--r--starterkits/cdn/README.md4
-rw-r--r--starterkits/less/README.md2
-rw-r--r--starterkits/less/less/overrides.less2
-rw-r--r--starterkits/sass/README.md2
-rw-r--r--starterkits/sass/scss/_overrides.scss2
-rw-r--r--template.php2
-rw-r--r--templates/system/html-tag.vars.php2
-rw-r--r--templates/webform/webform-element.vars.php2
-rw-r--r--theme-settings.php18
22 files changed, 64 insertions, 64 deletions
diff --git a/README.md b/README.md
index 0b5cd65..dc5dcac 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 0c1dcf9..1d01b3a 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 4359ea4..1f3be24 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 55f50f5..c12eb9d 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 0c727b8..730feb7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,4 +1,4 @@
-<!-- @file Documentation landing page and topics for the http://drupal-bootstrap.org site. -->
+<!-- @file Documentation landing page and topics for the https://drupal-bootstrap.org site. -->
<!-- @mainpage -->
# 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 2713fd6..e9ea5d7 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 b3db19a..222f6b5 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 c545421..16fbb1a 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 04e2e4f..cd44158 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 b1d970b..e6eb226 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('<p style="background:#EB4C36"><a href="!jsdelivr" target="_blank"><img src="http://www.jsdelivr.com/img/logo-34.png" alt="jsDelivr Logo" /></a></p><p><a href="!jsdelivr" target="_blank">jsDelivr</a> is a free multi-CDN infrastructure that uses <a href="!maxcdn" target="_blank">MaxCDN</a>, <a href="!cloudflare" target="_blank">Cloudflare</a> and many others to combine their powers for the good of the open source community... <a href="!jsdelivr_about" target="_blank">read more</a></p>', array(
- '!jsdelivr' => 'http://www.jsdelivr.com',
- '!jsdelivr_about' => 'http://www.jsdelivr.com/about',
+ 'description' => t('<p style="background:#EB4C36"><a href="!jsdelivr" target="_blank"><img src="//www.jsdelivr.com/img/logo.png" alt="jsDelivr Logo"/></a></p><p><a href="!jsdelivr" target="_blank">jsDelivr</a> is a free multi-CDN infrastructure that uses <a href="!maxcdn" target="_blank">MaxCDN</a>, <a href="!cloudflare" target="_blank">Cloudflare</a> and many others to combine their powers for the good of the open source community... <a href="!jsdelivr_about" target="_blank">read more</a></p>', 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 <a href="!bootstrap_theme" target="_blank">Bootstrap Theme</a> provided by Bootstrap or one of the many, many <a href="!bootswatch" target="_blank">Bootswatch</a> 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 c5b177a..8735e47 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 a831974..e3b5c7e 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 16a2f5a..db81552 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('<a id="bootstrap-theme-preview-bootstrap_theme" class="bootswatch-preview element-invisible" href="http://getbootstrap.com/examples/theme/" target="_blank"><img class="img-responsive" src="http://getbootstrap.com/examples/screenshots/theme.jpg" alt="' + Drupal.t('Preview of the Bootstrap theme') + '" /></a>');
+ $preview.append('<a id="bootstrap-theme-preview-bootstrap_theme" class="bootswatch-preview element-invisible" href="https://getbootstrap.com/docs/3.3/examples/theme/" target="_blank"><img class="img-responsive" src="https://getbootstrap.com/docs/3.3/examples/screenshots/theme.jpg" alt="' + Drupal.t('Preview of the Bootstrap theme') + '" /></a>');
// 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 da5f439..ecc2381 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 187ec2b..1122bc3 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 408480e..a9a34e5 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 61d4439..6fdc97b 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 e4a33e0..7d0c9ae 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 eb97456..396d2da 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 3512be2..46d1034 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 765e78c..3f4c4b8 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 67d1d93..b8ab2f9 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 <code>.container-fluid</code> class. See <a href="!url">Fluid container</a>', 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: <a href="!bootstrap_url" target="_blank">Buttons</a> and <a href="!api_url" target="_blank">hook_bootstrap_colorize_text_alter()</a>', 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: <a href="!api_url" target="_blank">hook_bootstrap_iconize_text_alter()</a>', 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 <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(
- '!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 <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(
- '!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 <a href="!url" target="_blank">Bootstrap tooltips</a> 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 <a href="!jquery_update" target="_blank">jQuery Update</a> module.', array(
- '!jquery_update' => 'https://drupal.org/project/jquery_update',
+ '!jquery_update' => 'https://www.drupal.org/project/jquery_update',
)),
);