summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--includes/css.inc6
-rw-r--r--page_manager/plugins/tasks/node_view.inc2
3 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index cd0549a..d698568 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -17,6 +17,7 @@ ctools 6.x-1.0-dev
#490672 by dereine: Title overrides not working for system block using custom block.
#520402: Disabled some concept code for later use that apparently conflicts with admin_menu.
#523712: Fix call-time pass by reference typo.
+#477334 by dkruglyak: Remove forced lowercase on CSS processing.
ctools 6.x-1.0-beta4
==================
diff --git a/includes/css.inc b/includes/css.inc
index 4624447..584b2fd 100644
--- a/includes/css.inc
+++ b/includes/css.inc
@@ -297,7 +297,7 @@ function ctools_css_disassemble($css) {
}
// Disassemble the declaration, check it and tuck it into an array.
- $disassembled_css[$selector_str] = _ctools_css_disassemble_declaration(strtolower($declaration));
+ $disassembled_css[$selector_str] = _ctools_css_disassemble_declaration($declaration);
}
}
return $disassembled_css;
@@ -310,7 +310,7 @@ function _ctools_css_disassemble_selector($selector_str) {
// pass. Note that this handles 0, 1, or more valid selectors gracefully.
foreach ($selectors as $key => $selector) {
// Replace un-needed characters and do a little cleanup.
- $selector = preg_replace("/[\n|\t|\\|\s]+/", ' ', strtolower(trim($selector)));
+ $selector = preg_replace("/[\n|\t|\\|\s]+/", ' ', trim($selector));
// Make sure this is still a real selector after cleanup.
if (!empty($selector)) {
$selectors[$key] = $selector;
@@ -339,7 +339,7 @@ function _ctools_css_disassemble_declaration($declaration) {
continue;
}
// Clean up the current property-value pair.
- $propval_pair = preg_replace("/[\n|\t|\\|\s]+/", ' ', strtolower(trim($propval_pair)));
+ $propval_pair = preg_replace("/[\n|\t|\\|\s]+/", ' ', trim($propval_pair));
// Explode the remaining fragements some more, but clean them up first.
list($property, $value) = explode(':', $propval_pair);
// If the property survived, toss it onto the stack.
diff --git a/page_manager/plugins/tasks/node_view.inc b/page_manager/plugins/tasks/node_view.inc
index 4c75de4..23e9b37 100644
--- a/page_manager/plugins/tasks/node_view.inc
+++ b/page_manager/plugins/tasks/node_view.inc
@@ -70,7 +70,7 @@ function page_manager_node_view_menu_alter(&$items, $task) {
function page_manager_node_view_task_admin(&$form, &$form_state) {
$callback = db_result(db_query("SELECT page_callback FROM {menu_router} WHERE path = 'node/%'"));
if ($callback != 'page_manager_node_view') {
- drupal_set_message(t('Page manager module is unable to override node/%node because some other module already has overridden with %callback. Page managerwill not be able to handle this page.', array('%callback' => $callback)), 'warning');
+ drupal_set_message(t('Page manager module is unable to override node/%node because some other module already has overridden with %callback. Page manager will not be able to handle this page.', array('%callback' => $callback)), 'warning');
}
}