Commit 7ab40d81 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch '7.x-1.x' of...

Merge branch '7.x-1.x' of https://git.uwaterloo.ca/wcms-openscholar/uw_virtual_site_homepage into 7.x-1.x
parents 4462936a da0d7fe5
...@@ -48,11 +48,11 @@ function uw_virtual_site_homepage_page_alter(&$page) { ...@@ -48,11 +48,11 @@ function uw_virtual_site_homepage_page_alter(&$page) {
$continue = true; $continue = true;
if(isset($page['uw-virtual-site-homepage']['field_uw_faculty_list_logo'][0]['#markup'])) { if(isset($page['uw-virtual-site-homepage']['field_uw_faculty_list_logo'][0]['#markup'])) {
$site_links = _uw_virtual_site_homepage_get_site_links(); $site_links = _uw_virtual_site_homepage_get_site_links();
if (isset($site_links[$page['uw-virtual-site-homepage']['field_uw_faculty_list_logo'][0]['#markup']])) {
$site_link = $site_links[$page['uw-virtual-site-homepage']['field_uw_faculty_list_logo'][0]['#markup']]; $site_link = $site_links[$page['uw-virtual-site-homepage']['field_uw_faculty_list_logo'][0]['#markup']];
$page['uw-virtual-site-homepage']['uw_scholar_row']['site_link'] = $site_link; $page['uw-virtual-site-homepage']['uw_scholar_row']['site_link'] = $site_link;
}
} }
// If there are banners, process them. // If there are banners, process them.
......
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