Commit 509c2634 authored by frjo's avatar frjo
Browse files

Issue #1955982 by hswong3i: Patch by hswong3i. Fix version reg ex after...

Issue #1955982 by hswong3i: Patch by hswong3i. Fix version reg ex after ColorBox plugin has been renamed to Colorbox. Also Changed the name in other places.
parent a7a0fa63
......@@ -143,7 +143,7 @@ function colorbox_admin_settings() {
'#type' => 'checkbox',
'#title' => t('Overlay close'),
'#default_value' => variable_get('colorbox_overlayclose', 1),
'#description' => t('Enable closing ColorBox by clicking on the background overlay.'),
'#description' => t('Enable closing Colorbox by clicking on the background overlay.'),
);
$form['colorbox_custom_settings']['colorbox_maxwidth'] = array(
'#type' => 'textfield',
......@@ -177,7 +177,7 @@ function colorbox_admin_settings() {
'#type' => 'checkbox',
'#title' => t('Fixed'),
'#default_value' => variable_get('colorbox_fixed', 1),
'#description' => t('If the ColorBox should be displayed in a fixed position within the visitor\'s viewport or relative to the document.'),
'#description' => t('If the Colorbox should be displayed in a fixed position within the visitor\'s viewport or relative to the document.'),
);
$form['colorbox_custom_settings']['colorbox_slideshow_settings'] = array(
......
......@@ -80,7 +80,7 @@ function colorbox_libraries_info() {
'download url' => 'http://www.jacklmoore.com/colorbox',
'version arguments' => array(
'file' => 'jquery.colorbox-min.js',
'pattern' => '@ColorBox v([0-9\.a-z]+)@',
'pattern' => '@(?i:Colorbox) v([0-9\.a-z]+)@',
'lines' => 5,
),
'files' => array(
......
/**
* ColorBox Core Style:
* Colorbox Core Style:
* The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
......
/**
* ColorBox Core Style:
* Colorbox Core Style:
* The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
......
/**
* ColorBox Core Style:
* Colorbox Core Style:
* The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment