diff --git a/openpublic_eu.info b/openpublic_eu.info index e9ef14b..f3a256a 100644 --- a/openpublic_eu.info +++ b/openpublic_eu.info @@ -41,7 +41,7 @@ regions[page_top] = Page top regions[page_bottom] = Page bottom regions[help] = Help -;features[] = favicon +features[] = favicon features[] = main_menu features[] = logo features[] = name diff --git a/template.php b/template.php index 0955d17..c598f31 100644 --- a/template.php +++ b/template.php @@ -99,8 +99,8 @@ function openpublic_eu_preprocess_page(&$variables) { $site_name = $variables['site_name']; if (preg_match("|^.*/files/(.*)|", $logo, $m)) { $file = "public://" . $m[1]; - $header_logo = l(theme('image_style', array('style_name'=>'logo', 'path'=>$file, 'alt'=>"$site_name logo")), $frontpage, array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); - $footer_logo = l(theme('image_style', array('style_name'=>'logo-small', 'path'=>$file, 'alt'=>"$site_name logo")), $frontpage, array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); + $header_logo = l(theme('image', array('path'=>$file, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); + $footer_logo = l(theme('image', array('path'=>$file, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); } elseif ($logo == url(drupal_get_path('theme', 'openpublic_eu') . "/logo.png", array('absolute'=>TRUE))) { $header_logo = l(theme('image', array('path'=>$logo, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo')));