Commit 66dac1f0 authored by Lily Yan's avatar Lily Yan
Browse files

Changed uw logo link

parent 1d1ae8c2
......@@ -30,4 +30,8 @@ function uw_oa_config_preprocess_html(&$variables) {
$search = $base_url . '/profiles/openatrium/modules/contrib/oa_core/modules/oa_widgets/openatrium-powered.png';
$replace = 'https://uwaterloo.ca/profiles/uw_base_profile/modules/features/uw_nav_global_header/images/university-of-waterloo-logo.png';
$variables['page']['#children'] = str_replace($search, $replace, $variables['page']['#children']);
$search2 = '<a href="/" class="active">';
$replace2 = '<a id="uw-logo" href="//uwaterloo.ca/" accesskey="1">';
$variables['page']['#children'] = str_replace($search2, $replace2, $variables['page']['#children']);
}
\ No newline at end of file
Supports Markdown
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