Commit 1d9b81d3 authored by Dries's avatar Dries

- Patch #44976 by m3avrck: cleaned up some CSS.

parent da4f856a
......@@ -513,7 +513,7 @@ function theme_links($links, $delimiter = ' | ') {
function theme_image($path, $alt = '', $title = '', $attributes = NULL, $getsize = TRUE) {
if (!$getsize || (is_file($path) && (list($width, $height, $type, $image_attributes) = @getimagesize($path)))) {
$attributes = drupal_attributes($attributes);
return '<img src="'. check_url($path) .'" alt="'. check_plain($alt) .'" title="'. check_plain($title) .'" '. $image_attributes . $attributes .'/>';
return '<img src="'. check_url($path) .'" alt="'. check_plain($alt) .'" title="'. check_plain($title) .'" '. $image_attributes . $attributes .' />';
}
}
......@@ -880,7 +880,7 @@ function theme_more_help_link($url) {
*/
function theme_xml_icon($url) {
if ($image = theme('image', 'misc/xml.png', t('XML feed'), t('XML feed'))) {
return '<span class="xml-icon"><a href="'. check_url($url) .'">'. $image. '</a></span>';
return '<a href="'. check_url($url) .'" class="xml-icon">'. $image. '</a>';
}
}
......@@ -889,7 +889,7 @@ function theme_xml_icon($url) {
*/
function theme_feed_icon($url) {
if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), t('Syndicate content'))) {
return '<span class="feed-icon"><a href="'. check_url($url) .'">'. $image. '</a></span>';
return '<a href="'. check_url($url) .'" class="feed-icon">'. $image. '</a>';
}
}
......
Markdown is supported
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