Skip to content
Snippets Groups Projects
Commit 1d9b81d3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent da4f856a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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>';
}
}
......
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