Skip to content
Snippets Groups Projects
Commit 2f443b05 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-268] Merging test into staging -c1365

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1366 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 82d3b781
No related branches found
No related tags found
No related merge requests found
......@@ -37,19 +37,19 @@ function unl_wdn_preprocess_field(&$vars, $hook) {
function unl_wdn_preprocess_html(&$vars, $hook) {
if (theme_get_setting('unl_affiliate')) {
if (!theme_get_setting('toggle_unl_banner')) {
drupal_add_css('#header h1{display:none;}', array('type'=>'inline', 'group' => CSS_THEME));
drupal_add_css('#header h1{display:none;}', array('type' => 'inline', 'group' => CSS_THEME, 'every_page' => TRUE));
}
if (!theme_get_setting('toggle_unl_branding')) {
drupal_add_css('#footer_floater,#wdn_logos{display:none;}', array('type'=>'inline', 'group' => CSS_THEME));
drupal_add_css('#footer_floater,#wdn_logos{display:none;}', array('type' => 'inline', 'group' => CSS_THEME, 'every_page' => TRUE));
}
if (!theme_get_setting('toggle_unl_breadcrumb')) {
drupal_add_css('#breadcrumbs > ul > li:first-child{display:none;}', array('type'=>'inline', 'group' => CSS_THEME));
drupal_add_css('#breadcrumbs > ul > li:first-child{display:none;}', array('type' => 'inline', 'group' => CSS_THEME, 'every_page' => TRUE));
}
if (!theme_get_setting('toggle_unl_search')) {
drupal_add_css('#wdn_search{display:none;}', array('type'=>'inline', 'group' => CSS_THEME));
drupal_add_css('#wdn_search{display:none;}', array('type' => 'inline', 'group' => CSS_THEME, 'every_page' => TRUE));
}
if (!theme_get_setting('toggle_unl_tools')) {
drupal_add_css('#wdn_tool_links{display:none;}', array('type'=>'inline', 'group' => CSS_THEME));
drupal_add_css('#wdn_tool_links{display:none;}', array('type' => 'inline', 'group' => CSS_THEME, 'every_page' => TRUE));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment