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

7.x-1.2 Release Candidate 1

parent caef7588
No related branches found
No related tags found
No related merge requests found
The following patches have been applied to this project:
- pantheon-yml.patch
- gitignore.patch
- http://www.drupal.org/files/issues/drupal-add_basic_svg_support-2539478-3-D7.patch
- http://www.drupal.org/files/issues/D7-add-unpublished-nodes-to-taxonomy-index-962664-60_DO_NOT_TEST.patch
- http://drupal.org/files/issues/drupal-add_basic_svg_support-2539478-3-D7.patch
- http://drupal.org/files/issues/D7-add-unpublished-nodes-to-taxonomy-index-962664-60_DO_NOT_TEST.patch
- http://drupal.org/files/issues/create-directory-on-file-copy-2211657-7.patch
This file was automatically generated by Drush Make (http://drupal.org/project/drush).
......@@ -932,7 +932,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
else {
// Perhaps $destination is a dir/file?
$dirname = drupal_dirname($destination);
if (!file_prepare_directory($dirname)) {
if (!file_prepare_directory($dirname, FILE_CREATE_DIRECTORY)) {
// The destination is not valid.
watchdog('file', 'File %file could not be copied, because the destination directory %destination is not configured correctly.', array('%file' => $original_source, '%destination' => $dirname));
drupal_set_message(t('The specified file %file could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.', array('%file' => $original_source)), 'error');
......
WCM Base 7.x-1.1, 2017-07-31
WCM Base 7.x-1.2-rc1, 2017-08-14
--------------------------------
- WCM Omega: Improved accessibility of AJAX-enabled views using aria-live.
- WCM Base: Added core patch to fix problems uploading private files from WYSIWYG.
WCM Base 7.x-1.1, 2017-07-31
----------------------------
- WCM Base: Added local.settings.php to .gitignore.
WCM Base 7.x-1.1-rc3, 2017-07-20
......
......@@ -9,5 +9,6 @@ projects[drupal][download][url] = git://github.com/pantheon-systems/drops-7.git
projects[drupal][download][branch] = master
projects[drupal][patch][] = patches/pantheon-yml.patch
projects[drupal][patch][] = patches/gitignore.patch
projects[drupal][patch][2539478] = http://www.drupal.org/files/issues/drupal-add_basic_svg_support-2539478-3-D7.patch
projects[drupal][patch][962664] = http://www.drupal.org/files/issues/D7-add-unpublished-nodes-to-taxonomy-index-962664-60_DO_NOT_TEST.patch
projects[drupal][patch][2539478] = http://drupal.org/files/issues/drupal-add_basic_svg_support-2539478-3-D7.patch
projects[drupal][patch][962664] = http://drupal.org/files/issues/D7-add-unpublished-nodes-to-taxonomy-index-962664-60_DO_NOT_TEST.patch
projects[drupal][patch][2211657] = http://drupal.org/files/issues/create-directory-on-file-copy-2211657-7.patch
......@@ -33,7 +33,7 @@ function wcm_omega_page_alter(&$page) {
'#theme_wrappers' => array('region'),
);
}
if (array_key_exists('footer_1', $regions)) {
$page['footer_1'] = array(
'#region' => 'footer_1',
......@@ -194,3 +194,19 @@ function wcm_omega_preprocess_panels_pane(&$vars) {
}
}
/**
* Implements template_preprocess_views_view().
*/
function wcm_omega_preprocess_views_view(&$vars) {
$view = $vars['view'];
if (empty($view->header['result'])) {
$result = new views_handler_area_result();
$result->construct();
$result->init($view, $result->options);
$result->options['content'] = '<div class="element-invisible">' . $result->options['content'] . '</div>';
$view->header['result'] = $result;
$vars['header'] = $view->display_handler->render_header();
}
}
<?php
/**
* @file
* Main view template.
*
* Variables available:
* - $classes_array: An array of classes determined in
* template_preprocess_views_view(). Default classes are:
* .view
* .view-[css_name]
* .view-id-[view_name]
* .view-display-id-[display_name]
* .view-dom-id-[dom_id]
* - $classes: A string version of $classes_array for use in the class attribute
* - $css_name: A css-safe version of the view name.
* - $css_class: The user-specified classes names, if any
* - $header: The view header
* - $footer: The view footer
* - $rows: The results of the view query, if any
* - $empty: The empty text to display if the view is empty
* - $pager: The pager next/prev links to display, if any
* - $exposed: Exposed widget form/info to display
* - $feed_icon: Feed icon to display, if any
* - $more: A link to view more, if any
*
* @ingroup views_templates
*/
?>
<div class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<?php print $title; ?>
<?php endif; ?>
<?php print render($title_suffix); ?>
<div class="view-header" aria-live="polite">
<?php if ($header): ?>
<?php print $header; ?>
<?php endif; ?>
</div>
<?php if ($exposed): ?>
<div class="view-filters">
<?php print $exposed; ?>
</div>
<?php endif; ?>
<?php if ($attachment_before): ?>
<div class="attachment attachment-before">
<?php print $attachment_before; ?>
</div>
<?php endif; ?>
<?php if ($rows): ?>
<div class="view-content"<?php print $content_attributes; ?>>
<?php print $rows; ?>
</div>
<?php elseif ($empty): ?>
<div class="view-empty" aria-live="polite" <?php print $content_attributes; ?>>
<?php print $empty; ?>
</div>
<?php else: ?>
<div class="view-empty element-invisible" aria-live="polite"<?php print $content_attributes; ?>>
No results found
</div>
<?php endif; ?>
<?php if ($pager): ?>
<?php print $pager; ?>
<?php endif; ?>
<?php if ($attachment_after): ?>
<div class="attachment attachment-after">
<?php print $attachment_after; ?>
</div>
<?php endif; ?>
<?php if ($more): ?>
<?php print $more; ?>
<?php endif; ?>
<?php if ($footer): ?>
<div class="view-footer">
<?php print $footer; ?>
</div>
<?php endif; ?>
<?php if ($feed_icon): ?>
<div class="feed-icon">
<?php print $feed_icon; ?>
</div>
<?php endif; ?>
</div><?php /* class view */ ?>
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