Commit d0773441 authored by m26lebla's avatar m26lebla
Browse files

Merge branch 'ISTWCMS-22' into 7.x-1.x

parents 4463e32c a35ec545
......@@ -163,6 +163,9 @@ function uw_virtual_site_homepage_page_alter(&$page) {
$boxes .= '<li><a href="" title="display banner #' . $pagenumber . '" data-pagenumber="' . $pagenumber .'"><span class="element-invisible">Display banner #</span>' . $pagenumber . '</a></li>';
}
}
else{
$html .= '</figure>';
}
}
// If there is more than one image, add the Play/Pause button.
......@@ -178,6 +181,11 @@ function uw_virtual_site_homepage_page_alter(&$page) {
$html .= '</ul>';
$html .= '</div>';
}
else{
// close the opening html divs in homepage banners. if single image in banner
$html .= '</div>';
$html .= '</div>';
}
// Set the html to the page variable.
$page['uw_virtual_page_homepage_banners_html'] = $html;
......
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