Index: template.php =================================================================== --- template.php (revision 798) +++ template.php (working copy) @@ -104,8 +104,8 @@ $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_style', array('style_name'=>'logo', 'path'=>$file, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); + $footer_logo = l(theme('image_style', array('style_name'=>'logo-small', 'path'=>$file, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo'))); } elseif ($logo == url(drupal_get_path('theme', 'openpublic_theme') . "/logo.png", array('absolute'=>TRUE))) { $header_logo = l(theme('image', array('path'=>$logo, 'alt'=>"$site_name logo")), '', array("html"=>TRUE, 'attributes'=>array('class'=>'logo')));