Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
wcms-openscholar
uw_virtual_site_homepage
Commits
a35ec545
Commit
a35ec545
authored
Mar 09, 2017
by
m26lebla
Browse files
ISTWCMS-22 - Update to UW brand guidelines - refactor homepage banner code
parent
643b07a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
uw_virtual_site_homepage.module
uw_virtual_site_homepage.module
+8
-0
No files found.
uw_virtual_site_homepage.module
View file @
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment