This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Parse an rgb or rgba string like 'rgb(67, 216, 89)' or 'rgba(245, 156, 8, 178)' | |
| * to array of integers in the order. | |
| * Credit: http://stackoverflow.com/questions/10970958/get-a-color-component-from-an-rgb-string-in-javascript | |
| **/ | |
| function parse_rgb_string(rgb) { | |
| rgb = rgb.replace(/[^\d,]/g, '').split(','); | |
| return rgb; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python | |
| """ | |
| Replace old chills with new atomic chills. | |
| To read more about chills see: http://www.unicode.org/versions/Unicode5.1.0/#Malayalam_Chillu_Characters | |
| """ | |
| import unicodedata | |
| import codecs | |
| import sys | |
| import os.path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| user=$1 | |
| ps `if [ -n "$user" ]; then echo "-u $user"; else echo "-A"; fi` --sort -rss -o comm,pmem,rss | awk ' | |
| NR == 1 { print; next } | |
| { a[$1] += $2; b[$1] += $3;} | |
| END { | |
| split("B KB MB GB TB PB", unit) | |
| for (i in a) { | |
| human_readable = size_in_bytes = b[i] * 1024 | |
| j = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/includes/media_browser_plus.admin.inc b/includes/media_browser_plus.admin.inc | |
| index dcaf7fa..564aa9f 100644 | |
| --- a/includes/media_browser_plus.admin.inc | |
| +++ b/includes/media_browser_plus.admin.inc | |
| @@ -20,6 +20,18 @@ function media_browser_plus_media_settings($form, &$form_state = array()) { | |
| '#type' => 'value', | |
| '#default_value' => variable_get('media_browser_plus_thumbnails_as_default_browser', TRUE), | |
| ); | |
| + | |
| + $form['media_browser_plus_replace_media_browser_thumnails_browser'] = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/css/core.css b/css/core.css | |
| index 2ea3d39..ce4afbf 100644 | |
| --- a/css/core.css | |
| +++ b/css/core.css | |
| @@ -254,7 +254,6 @@ table.field-multiple-table td { | |
| .admin-list, | |
| .node-type-list, | |
| .admin-panel { | |
| - background: #fff; | |
| margin: 0 0 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/views/media_browser_plus.views_default.inc b/views/media_browser_plus.views_default.inc | |
| index 56fc60a..ea565fa 100644 | |
| --- a/views/media_browser_plus.views_default.inc | |
| +++ b/views/media_browser_plus.views_default.inc | |
| @@ -233,13 +233,13 @@ function media_browser_plus_views_management() { | |
| /* Display: Media browser */ | |
| $handler = $view->new_display('media_browser', 'Media browser', 'media_browser_thumbnails'); | |
| $handler->display->display_options['defaults']['title'] = FALSE; | |
| - $handler->display->display_options['title'] = 'Library (MBP)'; | |
| + $handler->display->display_options['title'] = 'Library'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/panopoly_widgets.make b/panopoly_widgets.make | |
| index ea49841..1fd2633 100644 | |
| --- a/panopoly_widgets.make | |
| +++ b/panopoly_widgets.make | |
| @@ -27,6 +27,7 @@ projects[media][patch][2126697] = https://www.drupal.org/files/issues/media_wysi | |
| projects[media][patch][2308487] = https://www.drupal.org/files/issues/media-alt-title-double-encoded-2308487-2.patch | |
| projects[media][patch][2084287] = http://www.drupal.org/files/issues/media-file-name-focus-2084287-2.patch | |
| projects[media][patch][2421589] = https://www.drupal.org/files/issues/media-library-preview-overflow-2421589-3.patch | |
| +projects[media][patch][2381653] = "https://www.drupal.org/files/issues/media_wysiwyg-media-wysiwyg-fails-over-no-existing-wysiwyg-2381653.patch" | |