Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
17c30884
Commit
17c30884
authored
5 years ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-3558: coding standards
parent
d5c58ccf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_fdsu_theme_resp.theme
+2
-0
2 additions, 0 deletions
uw_fdsu_theme_resp.theme
with
2 additions
and
0 deletions
uw_fdsu_theme_resp.theme
+
2
−
0
View file @
17c30884
...
@@ -26,6 +26,7 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
...
@@ -26,6 +26,7 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
* Implements hook_preprocess_region().
* Implements hook_preprocess_region().
*/
*/
function
uw_fdsu_theme_resp_preprocess_region
(
&
$variables
)
{
function
uw_fdsu_theme_resp_preprocess_region
(
&
$variables
)
{
// Get the region from variables.
// Get the region from variables.
$region
=
$variables
[
'elements'
][
'#region'
];
$region
=
$variables
[
'elements'
][
'#region'
];
...
@@ -33,6 +34,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) {
...
@@ -33,6 +34,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) {
// TO DO: Store the colour scheme used for the theme
// TO DO: Store the colour scheme used for the theme
// (i.e. faculty colour and get the correct class here).
// (i.e. faculty colour and get the correct class here).
if
(
$region
==
"header"
)
{
if
(
$region
==
"header"
)
{
// The class that is used for the header.
// The class that is used for the header.
$variables
[
'classes'
][]
=
'uw-header'
;
$variables
[
'classes'
][]
=
'uw-header'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment