summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-16 20:57:53 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-16 20:57:53 +0000
commit1d9b81d3b8fbac5bde2e5f162a2b886ec58b8a87 (patch)
treeac459f97d9735f2c9716d42d0b6ec7dbcab380b2
parentda4f856ad8e275b51ddd44966f40d0cab91ef3f1 (diff)
downloadbrdo-1d9b81d3b8fbac5bde2e5f162a2b886ec58b8a87.tar.gz
brdo-1d9b81d3b8fbac5bde2e5f162a2b886ec58b8a87.tar.bz2
- Patch #44976 by m3avrck: cleaned up some CSS.
-rw-r--r--includes/theme.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 13f2e6d48..feadc0895 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -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>';
}
}