Skip to content
Snippets Groups Projects
Commit d1ac5280 authored by Chris Gross's avatar Chris Gross
Browse files

daily build

parent 51790c81
No related merge requests found
WCM Base 7.x-1.x, 2016-04-05
----------------------------
- OCIO Media: Added support for .dxf files.
- OCIO Omega Base: Open Media Magnet links in a new window in an accessible manner.
WCM Base 7.x-1.x, 2016-04-04
----------------------------
- WCM Base: Updated Features and DisplaySuite contrib modules.
......
<?php
/**
* @file
* ocio_field_bases.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function ocio_field_bases_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_disable_search';
$strongarm->value = 1;
$export['chosen_disable_search'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_disable_search_threshold';
$strongarm->value = '0';
$export['chosen_disable_search_threshold'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_jquery_selector';
$strongarm->value = 'select:visible';
$export['chosen_jquery_selector'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_minimum_multiple';
$strongarm->value = '0';
$export['chosen_minimum_multiple'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_minimum_single';
$strongarm->value = '0';
$export['chosen_minimum_single'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_minimum_width';
$strongarm->value = '125';
$export['chosen_minimum_width'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_no_results_text';
$strongarm->value = 'No results match';
$export['chosen_no_results_text'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_placeholder_text_multiple';
$strongarm->value = 'Select';
$export['chosen_placeholder_text_multiple'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_placeholder_text_single';
$strongarm->value = 'Select';
$export['chosen_placeholder_text_single'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_search_contains';
$strongarm->value = 0;
$export['chosen_search_contains'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'chosen_use_theme';
$strongarm->value = 1;
$export['chosen_use_theme'] = $strongarm;
return $export;
}
......@@ -77,8 +77,9 @@ function ocio_media_form_alter(&$form, &$form_state, $form_id) {
*/
function ocio_media_file_mimetype_mapping_alter(&$mapping) {
// Add support for dwg.
// Add support for dwg and dxf
$new_mappings['dwg'] = 'application/acad';
$new_mappings['dxf'] = 'application/dxf';
foreach ($new_mappings as $extension => $mime_type) {
if (!in_array($mime_type, $mapping['mimetypes'])) {
......
......@@ -334,7 +334,7 @@ function ocio_media_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'file_entity_default_allowed_extensions';
$strongarm->value = 'jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp zip dwg';
$strongarm->value = 'jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp zip dwg dxf';
$export['file_entity_default_allowed_extensions'] = $strongarm;
$strongarm = new stdClass();
......
<article class="item {{channel.machine_type_name}}">
<div class="content">
<span class="excerpt"><a href="{{link}}">{{{excerpt}}}</a></span>
<span class="excerpt"><a href="{{link}}" target="_blank">{{{excerpt}}}<span class="element-invisible"> (link is external)</span></a></span>
</div>
<div class="network">
<i class="fa fa-{{channel.machine_type_name}}"></i><span class="attribution"><small>{{formatted_published_at}} via <a href="{{channel.url}}">{{channel.name}}</a>.</small></span>
<i class="fa fa-{{channel.machine_type_name}}"></i><span class="attribution"><small>{{formatted_published_at}} via <a href="{{channel.url}}" target="_blank">{{channel.name}}<span class="element-invisible"> (link is external)</span></a>.</small></span>
</div>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment